- 论坛徽章:
- 0
|
在一台装有sata硬盘的系统(P D 双核 3.0)上运行 hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 4356 MB in 2.00 seconds = 2178.03 MB/sec
Timing buffered disk reads: 188 MB in 3.02 seconds = 62.24 MB/sec
一台ide硬盘的系统上跑(cpu 赛扬 2.10):
Timing cached reads: 1356 MB in 2.00 seconds = 677.69 MB/sec
Timing buffered disk reads: 150 MB in 3.00 seconds = 49.93 MB/sec
从结果上看,sata应该比ide的好很多,但他们同时运行dd的命令,效果去相反
同时运行 dd=/dev/zero of=block bs=1024000 count=1000
sata硬盘的结果:
1024000000 bytes (1.0 GB) copied, 17.4131 seconds, 58.8 MB/s
real 0m17.612s
user 0m0.003s
sys 0m3.503s
ide硬盘:
1024000000 bytes (1.0 GB) copied, 9.0154 seconds, 114 MB/s
real 0m9.319s
user 0m0.010s
sys 0m3.698s
sata硬盘的需要的时间比ide的多很多,是不是我的sata没有配置好?
系统都是Centos5.0,我用hdparm 也看了相关的设定,几乎都是一样的。
请教高手了,谢谢! |
|