LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1045|回复: 3

如何测SCSI硬盘速率

[复制链接]
发表于 2005-5-27 10:26:03 | 显示全部楼层 |阅读模式
在ide硬盘的linux as4系统上,新增了一块scsi硬盘,我想测测这SCSI硬盘的速度到底能跑多少MB/S,有这方面的软件吗?
 楼主| 发表于 2005-5-27 17:17:02 | 显示全部楼层
http://jaist.dl.sourceforge.net/ ... nux.i386-bin.tar.gz    上下了个iometer for linux,但弄了半天,不知道怎么安装及运行,,,哎。感到自己菜了。
大侠帮忙看看。
回复 支持 反对

使用道具 举报

发表于 2005-5-28 12:27:47 | 显示全部楼层
[root@S01 opt]#tar zxvf iometer-2004.07.30.linux.i386-bin.tar.gz
[root@S01 opt]#cd iometer-2004.07.30
[root@S01 iometer-2004.07.30]#cd src/iomtr_kstat/
[root@S01 iomtr_kstat]#more README
[root@S01 iomtr_kstat]#more INSTALL
* Decide which kernel you are using. 2.4.x or 2.6.x, then
        cp Makefile-Linux2x Makefile (x = 4 or 6)
Note: make sure to do this for 2.6.x kernel. a "make -f Makefile-26" doesnot work

* Change KERNELSRC if need in Makefile

* If you cross compile it for 2.4.x kernel, you need to change CROSS_COMPILE

* Build kernel module (use root if compile for 2.6.x)
        make
* Load kernel module as root
        ./load
* Build user space test program
        make -f Makefile-user
* Run test program
        ./test
* run "dmesg" to check if reported data are same.

* Unload kernel module
        ./unload
回复 支持 反对

使用道具 举报

发表于 2005-5-28 12:30:51 | 显示全部楼层
还有一个监测工具sysstat, 里面有iostat 的工具。

http://www.linuxsir.cn/bbs/showthread.php?t=150140


比如简单的:

[root@localhost root]# iostat

avg-cpu:  %user   %nice %system %iowait   %idle
          30.98    0.00    6.15   17.23   45.64

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda             140.47      1026.32       115.94 3422086407  386578184
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表