分类: LINUX
2009-06-06 03:12:03
Linux 下的硬盘读写速度测试工具
执行一下以下命令看看你服务器的磁盘性能如何。
hdparm -Tt /dev/sda
以下是 2块 希捷 ES2 SATA 500G 做 Raid0 的速度
[root@admin ~]# hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 18916 MB in 1.99 seconds = 9484.20 MB/sec
Timing buffered disk reads: 586 MB in 3.00 seconds = 195.06 MB/sec
以下是 3块希捷 ES2 SATA 500G 做 Raid 5 的速度
[root@web ~]# hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 18896 MB in 1.99 seconds = 9473.25 MB/sec
Timing buffered disk reads: 368 MB in 3.00 seconds = 122.55 MB/sec
以下是 2块希捷 ES SATA 250G Raid 0 的速度
[root@app1 ~]# hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 18028 MB in 1.97 seconds = 9149.56 MB/sec
Timing buffered disk reads: 292 MB in 3.02 seconds = 96.54 MB/sec