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
--------------------------------------------------------------------------
[root@mac040 ~]# hdparm -Tt /dev/sda 【centos SATA 80G】
/dev/sda:
Timing cached reads: 2712 MB in 2.00 seconds = 1354.85 MB/sec
Timing buffered disk reads: 164 MB in 3.03 seconds = 54.19 MB/sec
[root@mac040 ~]# hdparm -Tt /dev/md0 【centos IDE RAID1】
/dev/md0:
Timing cached reads: 2712 MB in 2.00 seconds = 1354.85 MB/sec
Timing buffered disk reads: 198 MB in 3.00 seconds = 65.92 MB/sec
[root@mac040 ~]# hdparm -Tt /dev/hdc 【centos IDE RAID1 单碟】
/dev/hdc:
Timing cached reads: 2728 MB in 2.00 seconds = 1363.52 MB/sec
Timing buffered disk reads: 218 MB in 3.00 seconds = 72.58 MB/sec
# hdparm -Tt /dev/sda 【ubuntu PII400 IDE 10 G 单碟】
/dev/sda:
Timing cached reads: 150 MB in 2.00 seconds = 75.00 MB/sec
Timing buffered disk reads: 36 MB in 3.01 seconds = 11.98 MB/sec
阅读(2131) | 评论(0) | 转发(1) |