关于盘柜的io性能

[root@ftp]# time dd if=/dev/zero bs=10M of=b count=100
100+0 records in
100+0 records out
real 0m1.655s
user 0m0.003s
sys 0m1.653s
[root@ftp]# time cat b > /dev/null
real 0m0.788s
user 0m0.105s
sys 0m0.683s
[root@ftp]# hdparm -Tt /dev/sdb

/dev/sdb:
Timing cached reads: 3596 MB in 2.00 seconds = 1796.48 MB/sec
Timing buffered disk reads: 126 MB in 3.01 seconds = 41.80 MB/sec

由第一dd测试,是否可以认为写速度:10×100/1.655 = 604MB/s
第二个测试,读速度:10×100/0.788 = 1269MB/s

Discussion Area - Leave a Comment




*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word