昨天测试一个朋友的系统,Dell的新服务器,型号未知,5x300G Disk Raid5的配置,结果简单的测试下来,IO速度仅仅能达到8M/s左右。
差可和我前几天测试的烂服务器相比,而我那台服务器是单磁盘,几年前组装的PC Server,很烂的机器了。
今天粗略测试了另一台Linux的Pc Server,也是比较老的一台机器,单个磁盘。
dd一个大文件:
[root@jumper data1]# time dd if=/dev/zero of=ab.dbf bs=8192 count=130000
130000 0 records in
130000 0 records outreal 0m48.456s
user 0m0.780s
sys 0m22.010s
这个DD的IO速度可以粗略的计算出来:
SQL> select 8192*130000/1024/1024/48 from dual;8192*130000/1024/1024/48
------------------------
21.1588542
iostat的输出大致如下:
[root@jumper /]# iostat -xm hda 2
Linux 2.4.21-15.EL (jumper) 07/14/2007Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz
hda 0.00 4563.50 0.00 126.00 0.00 19.23 312.60
hda 0.00 5465.50 0.00 409.00 0.00 22.78 114.06
hda 0.00 6921.50 0.00 415.50 0.00 28.86 142.27
hda 0.00 6036.00 0.00 414.50 0.00 25.17 124.38
hda 0.00 5102.50 0.00 418.50 0.00 21.31 104.30
hda 0.00 1048.00 0.00 231.00 0.00 4.42 39.17
hda 0.00 4525.50 0.00 200.00 0.00 19.05 195.08
hda 0.00 6580.00 0.00 385.50 0.00 27.47 145.93
hda 0.00 6491.50 0.00 436.00 0.00 27.08 127.18
hda 0.00 2272.00 0.00 391.00 0.00 9.52 49.87
hda 0.00 4879.00 0.00 345.50 0.00 20.44 121.17
hda 0.00 1879.00 0.00 155.50 0.00 7.97 105.00
hda 0.00 7671.00 0.50 324.00 0.00 32.05 202.27
hda 0.00 5689.00 0.00 399.50 0.00 23.77 121.86
hda 0.00 3478.00 0.00 402.50 0.00 14.55 74.04
hda 0.00 6517.00 0.00 400.50 0.00 27.26 139.41
hda 0.00 696.00 0.00 177.00 0.00 2.94 34.03
hda 0.00 6851.76 0.25 376.13 0.00 28.64 155.86
hda 0.00 15050.00 0.00 500.00 0.00 63.28 259.20
hda 0.00 3851.00 0.00 384.00 0.00 16.12 85.99
hda 0.00 357.00 0.00 139.50 0.00 1.53 22.42
hda 0.00 4730.50 0.00 290.50 0.00 19.89 140.24
hda 0.00 7263.00 0.50 358.00 0.00 30.30 173.09
hda 0.00 6061.00 0.00 417.50 0.00 25.30 124.10
hda 0.00 2337.50 0.00 388.50 0.00 9.76 51.47
hda 0.00 3572.00 0.00 262.50 0.00 14.95 116.63
如果不是新的机器,我真怀疑是硬盘出现了故障,提示朋友去检查机器,现在尚不清楚问题出在什么地方。
以前粗测过的一台Dell 2850的性能也要远远超过这台服务器。
那是一台64位的Linux,安装的Redhat AS4 64位版本。不知道有没有朋友遇到过类似的情况?
-The End-




