- 论坛徽章:
- 0
|
下面分别用 hdparm 测试centos 的硬盘速度,bonnie测试 OPENBSD的硬盘速度,数据上看要差一倍,但是实际删除、复制ports 目录的速度感觉要差10倍。比较怪
centos4.3
[root@tests sbin]# hdparm -t -T /dev/sda
/dev/sda:
Timing cached reads: 2864 MB in 2.00 seconds = 1431.50 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
Timing buffered disk reads: 206 MB in 3.01 seconds = 68.54 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
OPENBSD 3.9
bash-3.1# bonnie -s 1000M
File './Bonnie.13161', size: 1048576000
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
1000 39511 23.7 36265 7.1 8360 1.5 58299 32.6 58938 4.8 170.5 0.2 |
|