Hard Drive Performance Benchmark

cross-platform hard drive performance benchmark

Sample Run

root@nil:~(1)# time /tmp/hdperf /dev/sda
$Id: hdperf.c,v 1.4 2005/02/18 23:57:27 nil Exp $
/dev/sda: 156250000 blocks (74GiB)
128 sequential 1048576 byte block reads done in 2.697 sec, 48591.581 KB/sec
256 sequential 524288 byte block reads done in 2.696 sec, 48606.880 KB/sec
512 sequential 262144 byte block reads done in 2.696 sec, 48606.898 KB/sec
1024 sequential 131072 byte block reads done in 2.696 sec, 48606.898 KB/sec
2048 sequential 65536 byte block reads done in 2.696 sec, 48606.934 KB/sec
4096 sequential 32768 byte block reads done in 2.729 sec, 48012.337 KB/sec
8192 sequential 16384 byte block reads done in 2.696 sec, 48606.916 KB/sec
16384 sequential 8192 byte block reads done in 2.696 sec, 48606.898 KB/sec
32768 sequential 4096 byte block reads done in 2.696 sec, 48606.952 KB/sec
65536 sequential 2048 byte block reads done in 2.696 sec, 48606.898 KB/sec
131072 sequential 1024 byte block reads done in 2.696 sec, 48606.934 KB/sec
262144 sequential 512 byte block reads done in 2.696 sec, 48606.880 KB/sec
512 random seeks in 6.584 sec, 12.9ms average seek time
128 random 512 byte block reads done in 1.705 sec, 37.531 KB/sec
128 random 1024 byte block reads done in 1.563 sec, 81.867 KB/sec
128 random 2048 byte block reads done in 1.725 sec, 148.327 KB/sec
128 random 4096 byte block reads done in 1.757 sec, 291.294 KB/sec
128 random 8192 byte block reads done in 1.670 sec, 612.869 KB/sec
128 random 16384 byte block reads done in 1.735 sec, 1179.976 KB/sec
128 random 32768 byte block reads done in 1.751 sec, 2339.024 KB/sec
128 random 65536 byte block reads done in 1.920 sec, 4264.936 KB/sec
128 random 131072 byte block reads done in 2.352 sec, 6963.763 KB/sec
128 random 262144 byte block reads done in 2.613 sec, 12538.600 KB/sec
128 random 524288 byte block reads done in 3.317 sec, 19756.058 KB/sec
128 random 1048576 byte block reads done in 4.822 sec, 27177.545 KB/sec
Min transfer rate = 30030.324, max transfer rate = 58410.828...
 58410.827  |
 56991.802||||
 55572.777|||||
 54153.752||||||||| ||||
 52734.727||||||||| |||||||||||
 51315.701||||||||| ||||||||||||  |||
 49896.676|||||||||||||||||||||| ||||||||
 48477.651|||||||||||||||||||||||||||||||||||
 47058.626|||||||||||||||||||||||||||||||||||
 45639.601||||||||||||||||||||||||||||||||||| ||||||
 44220.576||||||||||||||||||||||||||||||||||||||||||||
 42801.551|||||||||||||||||||||||||||||||||||||||||||||
 41382.525|||||||||||||||||||||||||||||||||||||||||||||| |
 39963.500|||||||||||||||||||||||||||||||||||||||||||||| ||||
 38544.475|||||||||||||||||||||||||||||||||||||||||||||||||||||
 37125.450||||||||||||||||||||||||||||||||||||||||||||||||||||||
 35706.425||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 34287.400|||||||||||||||||||||||||||||||||||||||||||||||||||||||| ||
 32868.375||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 31449.349||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 30030.324||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
KB/sec^^^ 0000000000111111111122222222223333333333444444444455555555556666
Zone>>>   0123456789012345678901234567890123456789012345678901234567890123

real    29m10.857s
user    0m0.408s
sys     2m41.508s
root@nil:~(0)#

Find it here:

http://sourceforge.net/projects/hdperf/


Back to the Linux Kernel Archives page

SourceForge.net Logo