1 / 11
文档名称:

详解linux下使用iometer测试磁盘io性能.doc

格式:doc   大小:211KB   页数:11页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

详解linux下使用iometer测试磁盘io性能.doc

上传人:2286107238 2021/7/7 文件大小:211 KB

下载得到文件列表

详解linux下使用iometer测试磁盘io性能.doc

相关文档

文档介绍

文档介绍:详解linux下使用IOMETER测试磁盘IO性能
2012年06月18日⁄Linux平台⁄评论数 5⁄浏览:8587 Views
前面有分享了windows下如何使用IOMETER来测试网络磁盘的IO性能,今天分享一下linux下如何使用IOMETER来测试网络磁盘的性能。在linux下和window下工作模式有些区别:在linux上,iometer包括两部分:IOmeter主程序和执行代理,你可以在windows上安装运行iometer主程序,在linux上安装运行iometer执行代理,主程序就会把读写配置传递给执行代理来执行。首先:在linux下安装iomter,以我的redhat 64位的操作系统为例,到iometer主页上下载版本:iometer-2008-06-22-:
[rootDELL-1 tmp]# tar zxvf iometer-2008-06-22- //解压
[rootDELL-1 tmp]# cd iometer-2008-06-22-rc2/src //进入iometer src文件下有多个Makefile文件找到自己需要的文件版本
[rootDELL-1 src]# make -f Makefile- dynamo //我的系统是64位所以选择这个文件安装编译
可能上面的安装编译会出现make: *** [] Error 1的错误,请进入《linux 64位编译iometer提示make: *** [] Error 1错误的解决方法》查看解决方法。其次:在windows下安装IONETER主程序,注意版本要和linux下的一样,我用的是:iometer-2008-06-22-
最后:如何在linux运行iometer?
先在windows打开iometer主程序,再在linux下进入刚才的安装目录:cd /tmp/iometer-2008-06-22-rc2/src/运行如下命令:
[rootDELL-1 src]# ./dynamo -i -m
说明:-i后面用的是windows端的ip, -m后面使用的是linux的IP。运行如上命令可以出现以下错误:
[rootDELL-1 src]# ./dynamo -i -m
===> ERROR: Getting host name for"DELL-1" failed.
[PortTCP::Create() in line 238]
errno = 11
*** Could not create a TCP/IP Port. exiting.....
原因:当网络环境没有使用DNS会造成hostname和IP无法对应上。解决方法:在linux下进入/etc配置hosts文件下的hostname如下:我的linux命名为DELL--1。
[rootDELL-1 etc]# cat hosts
localhost localhost4 DELL-1
一切问题都解决了,正常情况如下:
[rootDELL-1 src]# ./dynamo -i -m
Fail to open kstat device file. You can ignore this warning
unless you are running dynamo on XSCALE CPU.
mand line parameter(s):
Looking for Iometer on ""
Sending login request...
DELL-1
(port 38250)
Successful PortTCP::Connect
- port name:
*** If dynamo and iometer hangs here, please make sure
*** you use a correct -m <manager_puter_name> that
*** can ping from i