Open main menu

DAVE Developer's Wiki β

Changes

MISC-TN-009: Characterizing the RAM bandwidth of Mito8M SoM

5,216 bytes added, 10:58, 29 January 2020
stressapptest
|5804
|}
The above table lists the achieved results when the benchmark was run as detailed in this section.
 The above table lists the achieved results when the benchmark was run as detailed in [[#Running_the_tests_4|this section]]. In this case, the different when running at different ARM core frequencies is very little. For more information about this toolstressapptest, please refer to [https://github.com/stressapptest/stressapptest this page].
==Useful links==
====Building====
To build STREAM:
* clone its git repository
*modify the <code>Makefile</code> as shown below
*issue the <code>make</code> command.
 
<pre class="board-terminal">
git clone https://github.com/jeffhammond/STREAM.git
===LMbench===
To run this benchmark, the native prebuilt package provided by Debian Buster was used.
====Running Please click on ''Expand'' to show the tests=========ARM core clock = 800 MHz=====complete log.<pre class="board-terminal" mw-collapsible="" mw-collapsed"="">
armbian@Mito8M:~/devel/lmbench$ sudo lmbench-run
[sudo] password for armbian:
under /var/lib/lmbench/results
</pre>
=====ARM core clock = 1300 MHz=====
===pmbw====Results===Building====Building pmbw is straightforward. Please click on ''Expand'' to show the box that illustrates the procedure.<pre class="board-terminal mw-collapsible mw-collapsed">armbian@Mito8M:~/devel$ git clone https://github.com/bingmann/pmbw.gitCloning into 'pmbw'...remote: Enumerating objects: 15, done.remote: Counting objects: 100% (15/15), done.remote: Compressing objects: 100% (15/15), done.remote: Total 386 (delta 1), reused 3 (delta 0), pack-reused 371Receiving objects: 100% (386/386), 369.04 KiB | 1.27 MiB/s, done.Resolving deltas: 100% (232/232), done.armbian@Mito8M:~/devel$ cd pmbwarmbian@Mito8M:~/devel/pmbw$ ./configure && makechecking build system type... aarch64-unknown-linux-gnuchecking host system type... aarch64-unknown-linux-gnuchecking target system type... aarch64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yesTBD inserire link checking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... nochecking for mawk... mawkchecking whether make sets $(MAKE)... yeschecking whether make supports nested variables... yeschecking whether to enable maintainer-specific portions of Makefiles... nochecking building for Windows... nochecking for g++... g++checking whether the C++ compiler works... yeschecking for C++ compiler default output file scaricabilename... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yeschecking whether make supports the include directive... yes (GNU style)checking dependency style of g++... gcc3checking whether g++ supports -march=x86-64... nochecking for pthread_mutex_init in -lpthread... yeschecking for clock_gettime in -lrt... yeschecking for posix_memalign in -lc... yeschecking that generated files are newer than configure... doneconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: executing depfiles commandsg++ -DPACKAGE_NAME=\"pmbw\" -DPACKAGE_TARNAME=\"pmbw\" -DPACKAGE_VERSION=\"0.6.3\" -DPACKAGE_STRING=\"pmbw\ 0.6.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pmbw\" -DVERSION=\"0.6.3\" -DON_WINDOWS=false -DHAVE_POSIX_MEMALIGN=1 -I. -W -Wall -g -O2 -MT pmbw.o -MD -MP -MF .deps/pmbw.Tpo -c -o pmbw.o pmbw.ccmv -f .deps/pmbw.Tpo .deps/pmbw.Pog++ -W -Wall -g -O2 -o pmbw pmbw.o -lpthread -lrtg++ -DPACKAGE_NAME=\"pmbw\" -DPACKAGE_TARNAME=\"pmbw\" -DPACKAGE_VERSION=\"0.6.3\" -DPACKAGE_STRING=\"pmbw\ 0.6.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pmbw\" -DVERSION=\"0.6.3\" -DON_WINDOWS=false -DHAVE_POSIX_MEMALIGN=1 -I. -W -Wall -g -O2 -MT stats2gnuplot.o -MD -MP -MF .deps/stats2gnuplot.Tpo -c -o stats2gnuplot.o stats2gnuplot.ccmv -f .deps/stats2gnuplot.Tpo .deps/stats2gnuplot.Pog++ -W -Wall -g -O2 -o stats2gnuplot stats2gnuplot.o -lpthread -lrt</pre>====Running the tests====The benchmark was run as follows:<pre class="board-terminal">armbian@Mito8M:~/devel/pmbw$ sudo nice -n -2 ./pmbw -S 0[sudo] password for armbian: Running benchmarks with no upper array size limit.Detected 2997 MiB physical RAM and 4 CPUs.  Allocating 2048 MiB for testing.Running nthreads=1 factor=1073741824 areasize=1024 thrsize=1024 testsize=1024 repeats=1048576 testvol=1073741824 testaccess=268435456run time = 0.694051 -> rerunning test with repeat factor=2320598341Running nthreads=1 factor=2320598341 areasize=1024 thrsize=1024 testsize=1024 repeats=2266210 testvol=2320599040 testaccess=580149760run time = 1.49925 -> next test with repeat factor=2321757595RESULT datetime=2020-01-29 11:52:20 host=Mito8M version=0.6.3 funcname=cScanWrite32PtrSimpleLoop nthreads=1 areasize=1024 threadsize=1024 testsize=1024 repeats=2266210 testvol=2320599040 testaccess=580149760 time=1.4992515009998896858 bandwidth=1547838396.9949886799 rate=2.5842491100916590667e-09Running nthreads=1 factor=2321757595 areasize=2048 thrsize=2048 testsize=2048 repeats=1133671 testvol=2321758208 testaccess=580439552run time = 1.47811 -> next test with repeat factor=2356140806RESULT datetime=2020-01-29 11:52:21 host=Mito8M version=0.6.3 funcname=cScanWrite32PtrSimpleLoop nthreads=1 areasize=2048 threadsize=2048 testsize=2048 repeats=1133671 testvol=2321758208 testaccess=580439552 time=1.4781108589995710645 bandwidth=1570760537.9284164906 rate=2.5465371095172560774e-09Running nthreads=1 factor=2356140806 areasize=3072 thrsize=3072 testsize=3072 repeats=766973 testvol=2356141056 testaccess=589035264...</pre> 
To generate the charts plotting the results, the following command was issued:<pre class="board-terminal mw-collapsible mw-collapsed">./stats2gnuplot stats.txt | gnuplot
</pre>
===pmbw===
====Building====
====Running the tests====
=====ARM core clock = 800 MHz=====
=====ARM core clock = 1300 MHz=====
===stressapptest===
====Building====
Bulding stressapptest is straighforward. The following box illustrates the procedure. Please click on ''Expand'' to visualize the box.
<pre class="board-terminal mw-collapsible mw-collapsed">
armbian@Mito8M:~/devel/stressapptest$ git clone https://github.com/stressapptest/stressapptest.git
Cloning into 'stressapptest'...
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/armbian/devel/stressapptest/stressapptest'
</pre>
====Running the tests====
Please click on ''Expand'' to visualize the boxes.
=====ARM core clock = 800 MHz=====
<pre class="board-terminalmw-collapsible mw-collapsed">
armbian@Mito8M:~/devel/stressapptest/stressapptest/src$ ./stressapptest -M 32 -s 5 -v 20
2020/01/27-16:23:44(CET) Log: Commandline - ./stressapptest -M 32 -s 5 -v 20
=====ARM core clock = 1300 MHz=====
<pre class="board-terminalmw-collapsible mw-collapsed">
armbian@Mito8M:~/devel/stressapptest/stressapptest/src$ ./stressapptest -M 32 -s 5 -v 20
2020/01/27-16:22:14(CET) Log: Commandline - ./stressapptest -M 32 -s 5 -v 20
4,650
edits