$ sudo apt install sysbench
$ sysbench memory --threads=4 --time=10 --memory-block-size=4K --memory-total-size=100G --memory-access-mode=seq --memory-oper=read run
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 4
Initializing random number generator from current time
Running memory speed test with the following options:
block size: 4KiB
total size: 102400MiB
operation: read
scope: global
Initializing worker threads...
Threads started!
Total operations: 8585286 (858397.55 per second)
33536.27 MiB transferred (3353.12 MiB/sec)
General statistics:
total time: 10.0001s
total number of events: 8585286
Latency (ms):
min: 0.00
avg: 0.00
max: 0.44
95th percentile: 0.00
sum: 13444.68
Threads fairness:
events (avg/stddev): 2146321.5000/193.89
execution time (avg/stddev): 3.3612/0.01