Skip to content

Instantly share code, notes, and snippets.

@kshcherban
Last active December 30, 2015 03:59
Show Gist options
  • Select an option

  • Save kshcherban/7773467 to your computer and use it in GitHub Desktop.

Select an option

Save kshcherban/7773467 to your computer and use it in GitHub Desktop.
root@laptop:~# ~/Downloads/seeker /dev/sda
Seeker v2.0, 2007-01-15, http://www.linuxinsight.com/how_fast_is_your_disk.html
Benchmarking /dev/sda [171705MB], wait 30 seconds..............................
Results: 3121 seeks/second, 0.32 ms random access time
root@laptop:~# ~/Downloads/seeker /dev/sda
Seeker v2.0, 2007-01-15, http://www.linuxinsight.com/how_fast_is_your_disk.html
Benchmarking /dev/sda [171705MB], wait 30 seconds..............................
Results: 3294 seeks/second, 0.30 ms random access time
insider@laptop:~/Downloads/testio$ sysbench --test=fileio --file-num=64 --file-total-size=8G --init-rng=on --file-extra-flags=direct prepare
sysbench 0.4.12: multi-threaded system evaluation benchmark
64 files, 131072Kb each, 8192Mb total
Creating files for the test...
insider@laptop:~/Downloads/testio$ sysbench --test=fileio --file-total-size=8G --file-test-mode=rndrd --max-time=60 --max-requests=100000000 --num-threads=4 --init-rng=on --file-num=64 --file-extra-flags=direct --file-fsync-freq=0 --file-block-size=16384 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Initializing random number generator from timer.
Extra file open flags: 16384
64 files, 128Mb each
8Gb total file size
Block size 16Kb
Number of random requests for random IO: 100000000
Read/Write ratio for combined random IO test: 1.50
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random read test
Threads started!
Time limit exceeded, exiting...
(last message repeated 3 times)
Done.
Operations performed: 523780 Read, 0 Write, 0 Other = 523780 Total
Read 7.9922Gb Written 0b Total transferred 7.9922Gb (136.4Mb/sec)
8729.61 Requests/sec executed
Test execution summary:
total time: 60.0004s
total number of events: 523780
total time taken by event execution: 237.9509
per-request statistics:
min: 0.16ms
avg: 0.45ms
max: 161.92ms
approx. 95 percentile: 0.57ms
Threads fairness:
events (avg/stddev): 130945.0000/99.50
execution time (avg/stddev): 59.4877/0.00
----- 4 threads
4k blocks
10894.63 Requests/sec executed
8k blocks
9747.20 Requests/sec executed
128k blocks
1876.51 Requests/sec executed
----- 16 threads
4k blocks
32684.49 Requests/sec executed
8k blocks
19912.04 Requests/sec executed
----- 64 threads
4k blocks
34380.02 Requests/sec
----------------------------------------------------------------------- HDD
root@laptop:~# ~/Downloads/seeker /dev/sdb
Seeker v2.0, 2007-01-15, http://www.linuxinsight.com/how_fast_is_your_disk.html
Benchmarking /dev/sdb [476940MB], wait 30 seconds.............................
Results: 59 seeks/second, 16.73 ms random access time
root@laptop:~# ~/Downloads/seeker /dev/sdb
Seeker v2.0, 2007-01-15, http://www.linuxinsight.com/how_fast_is_your_disk.html
Benchmarking /dev/sdb [476940MB], wait 30 seconds..............................
Results: 66 seeks/second, 15.14 ms random access time
----- 4 threads
4k blocks
208.23 Requests/sec executed
8k blocks
206.32 Requests/sec executed
16k blocks
201.86 Requests/sec executed
----- 16 threads
4k blocks
282.43 Requests/sec executed
8k blocks
282.41 Requests/sec executed
16k blocks
271.26 Requests/sec executed
----- 64 threads
4k blocks
280.98 Requests/sec executed
8k blocks
278.67 Requests/sec executed
16k blocks
272.02 Requests/sec executed
----- 128 threads
4k blocks
252.71 Requests/sec executed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment