Skip to content

Instantly share code, notes, and snippets.

@ssplatt
Last active January 11, 2018 02:18
Show Gist options
  • Save ssplatt/55c6c1f12c5179a544415a3980b0c8b2 to your computer and use it in GitHub Desktop.
Save ssplatt/55c6c1f12c5179a544415a3980b0c8b2 to your computer and use it in GitHub Desktop.
odroid c2, samsung sd xc u3
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=$(cat /proc/cpuinfo | grep processor | wc -l) run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 6.1452s
total number of events: 10000
total time taken by event execution: 24.5385
per-request statistics:
min: 2.38ms
avg: 2.45ms
max: 26.00ms
approx. 95 percentile: 2.47ms
Threads fairness:
events (avg/stddev): 2500.0000/44.45
execution time (avg/stddev): 6.1346/0.01
sysbench --test=fileio --file-total-size=4G --file-test-mode=seqrd --init-rng=on --max-time=300 --max-requests=0 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.
Extra file open flags: 0
128 files, 32Mb each
4Gb total file size
Block size 16Kb
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential read test
Threads started!
Done.
Operations performed: 262144 Read, 0 Write, 0 Other = 262144 Total
Read 4Gb Written 0b Total transferred 4Gb (32.334Mb/sec)
2069.40 Requests/sec executed
Test execution summary:
total time: 126.6766s
total number of events: 262144
total time taken by event execution: 126.3084
per-request statistics:
min: 0.01ms
avg: 0.48ms
max: 1535.85ms
approx. 95 percentile: 3.66ms
Threads fairness:
events (avg/stddev): 262144.0000/0.00
execution time (avg/stddev): 126.3084/0.00
sysbench --test=fileio --file-total-size=4G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.
Extra file open flags: 0
128 files, 32Mb each
4Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting...
Done.
Operations performed: 12480 Read, 8320 Write, 26542 Other = 47342 Total
Read 195Mb Written 130Mb Total transferred 325Mb (1.0833Mb/sec)
69.33 Requests/sec executed
Test execution summary:
total time: 300.0108s
total number of events: 20800
total time taken by event execution: 23.5071
per-request statistics:
min: 0.01ms
avg: 1.13ms
max: 9970.47ms
approx. 95 percentile: 0.97ms
Threads fairness:
events (avg/stddev): 20800.0000/0.00
execution time (avg/stddev): 23.5071/0.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment