1. 程式人生 > >磁盤性能測試

磁盤性能測試

install ads 磁盤性能 cond o_direct 數據盤 end not dpa

===================== 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

磁盤性能測試