===================== hdparm测试硬盘性能:物理机数据盘读取测试
yum install hdparm -y

[root@xxxx]# fdisk -l
/dev/c01 * 1 258 1048576 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/c02 258 15317 61440000 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/c03 15317 215394 816317440 83 Linux

[root@xxxx]# hdparm -t --direct /dev/c01
/dev/c01:
Timing O_DIRECT disk reads: 856 MB in 3.00 seconds = 285.04 MB/sec
速度每秒285.04 MB
[root@xxxx]# hdparm -tT /dev/c03

/dev/c03:
Timing cached reads: 14454 MB in 2.00 seconds = 7237.93 MB/sec
Timing buffered disk reads: 924 MB in 3.00 seconds = 307.65 MB/sec