Skip to content

Instantly share code, notes, and snippets.

@NZKoz
Forked from timhaines/IOSpeedTest
Created May 1, 2010 11:44
Show Gist options
  • Select an option

  • Save NZKoz/386265 to your computer and use it in GitHub Desktop.

Select an option

Save NZKoz/386265 to your computer and use it in GitHub Desktop.
root@koz-two:~# time sh -c "dd if=/dev/zero of=ddfile bs=16k count=500000 && sync"
500000+0 records in
500000+0 records out
8192000000 bytes (8.2 GB) copied, 96.6069 s, 84.8 MB/s
real 1m44.247s
user 0m0.092s
sys 0m16.049s
root@koz-two:~# time dd if=ddfile of=/dev/null bs=16k
500000+0 records in
500000+0 records out
8192000000 bytes (8.2 GB) copied, 41.8879 s, 196 MB/s
real 0m41.928s
user 0m0.052s
sys 0m4.784s
root@koz-two:~# tiobench
No size specified, using 2000 MB
Run #1: /usr/bin/tiotest -t 8 -f 250 -r 500 -b 4096 -d . -TTT
Unit information
================
File size = megabytes
Blk Size = bytes
Rate = megabytes per second
CPU% = percentage of CPU used during the test
Latency = milliseconds
Lat% = percent of requests that took longer than X seconds
CPU Eff = Rate divided by CPU% - throughput per cpu load
Sequential Reads
File Blk Num Avg Maximum Lat% Lat% CPU
Identifier Size Size Thr Rate (CPU%) Latency Latency >2s >10s Eff
---------------------------- ------ ----- --- ------ ------ --------- ----------- -------- -------- -----
2.6.24-27-generic 2000 4096 1 ###### 100.0% 0.001 0.03 0.00000 0.00000 2717
2.6.24-27-generic 2000 4096 2 ###### 392.3% 0.002 5.01 0.00000 0.00000 1089
2.6.24-27-generic 2000 4096 4 ###### 1532.% 0.003 19.80 0.00000 0.00000 337
2.6.24-27-generic 2000 4096 8 ###### 2833.% 0.005 68.51 0.00000 0.00000 183
Random Reads
File Blk Num Avg Maximum Lat% Lat% CPU
Identifier Size Size Thr Rate (CPU%) Latency Latency >2s >10s Eff
---------------------------- ------ ----- --- ------ ------ --------- ----------- -------- -------- -----
2.6.24-27-generic 2000 4096 1 ###### 94.22% 0.002 0.01 0.00000 0.00000 1953
2.6.24-27-generic 2000 4096 2 ###### 465.1% 0.002 0.02 0.00000 0.00000 651
2.6.24-27-generic 2000 4096 4 ###### 1209.% 0.004 0.06 0.00000 0.00000 326
2.6.24-27-generic 2000 4096 8 ###### 1283.% 0.004 2.00 0.00000 0.00000 300
Sequential Writes
File Blk Num Avg Maximum Lat% Lat% CPU
Identifier Size Size Thr Rate (CPU%) Latency Latency >2s >10s Eff
---------------------------- ------ ----- --- ------ ------ --------- ----------- -------- -------- -----
2.6.24-27-generic 2000 4096 1 83.80 17.88% 0.038 1153.86 0.00000 0.00000 469
2.6.24-27-generic 2000 4096 2 80.84 53.06% 0.074 1266.63 0.00000 0.00000 152
2.6.24-27-generic 2000 4096 4 77.28 144.8% 0.163 2118.06 0.00020 0.00000 53
2.6.24-27-generic 2000 4096 8 76.05 286.4% 0.311 4365.60 0.00313 0.00000 27
Random Writes
File Blk Num Avg Maximum Lat% Lat% CPU
Identifier Size Size Thr Rate (CPU%) Latency Latency >2s >10s Eff
---------------------------- ------ ----- --- ------ ------ --------- ----------- -------- -------- -----
2.6.24-27-generic 2000 4096 1 1.59 0.203% 0.114 446.28 0.00000 0.00000 781
2.6.24-27-generic 2000 4096 2 1.80 0.736% 0.004 0.03 0.00000 0.00000 244
2.6.24-27-generic 2000 4096 4 1.69 1.734% 0.006 0.04 0.00000 0.00000 98
2.6.24-27-generic 2000 4096 8 1.71 3.280% 0.007 0.20 0.00000 0.00000 52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment