memory test
memory test using sysbench
【Purpose】
Do memory performance test base on sysbench
【Eevironment】
RK3328 arm64 ubuntu 16.04
【Procdeure】
root@IOTP-EPC:/test/sysbench# sysbench --memory-total-size=1G --test=memory --debug run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Debug mode enabled.
Doing memory operations speed test
Memory block size: 1K
Memory transfer size: 1024M
Memory operations type: write
Memory scope type: global
Threads started!
DEBUG: Runner thread started (0)!
Done.
Operations performed: 1048576 (560166.46 ops/sec)
1024.00 MB transferred (547.04 MB/sec)
Test execution summary:
total time: 1.8719s
total number of events: 1048576
total time taken by event execution: 1.4649
per-request statistics:
min: 0.00ms
avg: 0.00ms
max: 0.18ms
approx. 95 percentile: 0.00ms
Threads fairness:
events (avg/stddev): 1048576.0000/0.00
execution time (avg/stddev): 1.4649/0.00
DEBUG: Verbose per-thread statistics:
DEBUG: thread # 0: min: 0.0000s avg: 0.0000s max: 0.0002s events: 1048576
DEBUG: total time taken by even execution: 1.4649s