Kokgog 发表于 2012-4-12 17:08
物理硬盘出现这情况很正常, 我试了四块盘(三块是企业盘), dsync都是1,2MB, fdatasync数据正常, 但是硬盘 ...
圈圈,这个也不正常吧
ioping code.google.com/p/ioping/
ioping.sh 0.9.8
shell wrapper script by George Liu (eva2000)
***************************************************
***************************************************
Disk Schedulers & Read Ahead (Queue Size x 2):
***************************************************
[/dev/sda] - Read Ahead: 256
noop anticipatory deadline [cfq]
----------------------------------
***************************************************
**********************************
dd (sequential disk speed test)...
**********************************
dd if=/dev/zero of=testfilex bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 10.3652 s, 104 MB/s
************************
starting ioping tests...
***************************************************
ioping disk I/O test (default 1MB working set)
***************************************************
disk I/O: /dev/sda
--- /dev/sda (device 931.5 Gb) ioping statistics ---
5 requests completed in 4098.6 ms, 51 iops, 0.2 mb/s
min/avg/max/mdev = 13.0/19.6/25.4/4.4 ms
**********************************************
seek rate test (default 1MB working set)
**********************************************
seek rate: /dev/sda
--- /dev/sda (device 931.5 Gb) ioping statistics ---
195 requests completed in 3002.5 ms, 65 iops, 0.3 mb/s
min/avg/max/mdev = 5.4/15.3/26.1/4.5 ms
**********************************************
sequential test (default 1MB working set)
**********************************************
-----------------------
sequential: /dev/sda
--- /dev/sda (device 931.5 Gb) ioping statistics ---
1370 requests completed in 3002.4 ms, 468 iops, 117.1 mb/s
min/avg/max/mdev = 1.3/2.1/76.7/2.2 ms
-----------------------
sequential cached I/O: /dev/sda
--- /dev/sda (device 931.5 Gb) ioping statistics ---
2693 requests completed in 3001.2 ms, 944 iops, 236.0 mb/s
min/avg/max/mdev = 0.1/1.1/13.5/1.1 ms
拿你那个石头对比下。 |