详解linux下使用IOMETER测试磁盘IO性能

上传人:沈*** 文档编号:146046360 上传时间:2022-08-30 格式:PDF 页数:9 大小:720.03KB
返回 下载 相关 举报
详解linux下使用IOMETER测试磁盘IO性能_第1页
第1页 / 共9页
详解linux下使用IOMETER测试磁盘IO性能_第2页
第2页 / 共9页
详解linux下使用IOMETER测试磁盘IO性能_第3页
第3页 / 共9页
点击查看更多>>
资源描述
-详解详解linu*linu*下使用下使用IOMETERIOMETER测试磁盘测试磁盘IOIO性能性能2021 年 06 月 18 日Linu*平台评论数 5浏览:8587 Views前面有分享了 windowswindows 下如何使用下如何使用 IOMETERIOMETER 来测试网络磁盘的 IO 性能,今天分享一下linu*下如何使用IOMETER来测试网络磁盘的性能。在linu*下和window下工作模式有些区别:在 linu*上,iometer 包括两局部:IOmeter 主程序和执行代理,你可以在 windows 上安装运行 iometer 主程序,在 linu*上安装运行 iometer执行代理,主程序就会把读写配置传递给执行代理来执行。首先:在 linu*下安装 iomter,以我的 redhat 6.1 64 位的操作系统为例,到 iometer 主页上下载版本:上传到 linu*中进展如下操作:1.2.3.rootDELL-1 tmp*tar z*vf iometer-2021-06-22-rc2.src.tgz/解压rootDELL-1 tmp*cd iometer-2021-06-22-rc2/src/进入 iometer src 文件下有多个 Makefile 文件找到自己需要的文件版本rootDELL-1 src*make-f Makefile-Linu*.*86_64 dynamo/我的系统是 64 位所以选择这个文件安装编译可能上面的安装编译会出现 make:*Pulsar.o Error 1 的错误,请进入linu*64linu*64位编译位编译 iometeriometer 提示提示 make:*Pulsar.o Error 1make:*Pulsar.o Error 1 错误的解决方法错误的解决方法查看解决方法。其次:在 windows 下安装 IONETER 主程序,注意版本要和 linu*下的一样,我用的是:iometer-2021-06-22-rc2.win.*86_64.zip最后:如何在 linu*运行 iometer先在 windows 翻开 iometer 主程序,再在 linu*下进入刚刚的安装目录:cd/tmp/iometer-2021-06-22-rc2/src/运行如下命令:.z.-1.rootDELL-1 src*./dynamo-i 172.18.30.7-m 172.18.30.17说明:-i 后面用的是 windows 端的 ip,-m 后面使用的是 linu*的 IP。运行如上命令可以出现以下错误:1.2.3.4.5.rootDELL-1 src*./dynamo-i 172.18.30.7-m 172.18.30.17=ERROR:Getting host name forforDELL-1 failed.PortTCP:Create()in IOPortTCP.cpp line 238errno=11*Could not create a TCP/IP Port.e*iting.原因:当网络环境没有使用 DNS 会造成 hostname 和 IP 无法对应上。解决方法:在 linu*下进入/etc 配置 hosts 文件下的 hostname 如下:我的 linu*命名为 DELL-1所以在 hosts 文件的后添加 DELL-1。1.2.rootDELL-1 etc*cat hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 DELL-1一切问题都解决了,正常情况如下:1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.rootDELL-1 src*./dynamo-i 172.18.30.7-m 172.18.30.17Fail to open kstat device file.You can ignore thisthis warningunless you are running dynamo on*SCALE CPU.mand line parameter(s):Looking forfor Iometer on 172.18.30.7Sending login request.DELL-1172.18.30.17(port 38250)Successful PortTCP:Connect-port name:172.18.30.7*If dynamo and iometer hangs here,please make sure*you use a correct-m that*can ping from iometer machine.use IP if if need.Login accepted.Reporting drive information.Set_Sizes:Open on/sys/iobw.tst failed(error No such file or directory).Set_Sizes:Open on/proc/sys/fs/binfmt_misc/iobw.tst failed(error Permission denied).Set_Sizes:Open on/var/lib/nfs/rpc_pipefs/iobw.tst failed(error Permission denied).Physical drives(raw devices).z.-20.21.Reporting TCP network information.done.还有一个问题要注意的是先要在 windows 下翻开 iometer 主程序,再在 linu*下运行上面的命令,否则可能出现问题。最后可以在windows上的iometer看到DELL-1的所有磁盘映射如下列图:这样就可以直接在 windows 下对 linu*磁盘进展测试,测试方法和 windows 方法一致见手把手教你如何使用 IOMETER 测试工具测试存储。详解详解linu*linu*下使用下使用IOMETERIOMETER测试磁盘测试磁盘IOIO性能性能2021 年 06 月 18 日Linu*平台评论数 5浏览:8588 Views.z.-前面有分享了 windowswindows 下如何使用下如何使用 IOMETERIOMETER 来测试网络磁盘的 IO 性能,今天分享一下linu*下如何使用IOMETER来测试网络磁盘的性能。在linu*下和window下工作模式有些区别:在 linu*上,iometer 包括两局部:IOmeter 主程序和执行代理,你可以在 windows 上安装运行 iometer 主程序,在 linu*上安装运行 iometer执行代理,主程序就会把读写配置传递给执行代理来执行。首先:在 linu*下安装 iomter,以我的 redhat 6.1 64 位的操作系统为例,到 iometer 主页上下载版本:上传到 linu*中进展如下操作:1.2.3.rootDELL-1 tmp*tar z*vf iometer-2021-06-22-rc2.src.tgz/解压rootDELL-1 tmp*cd iometer-2021-06-22-rc2/src/进入 iometer src 文件下有多个 Makefile 文件找到自己需要的文件版本rootDELL-1 src*make-f Makefile-Linu*.*86_64 dynamo/我的系统是 64 位所以选择这个文件安装编译可能上面的安装编译会出现 make:*Pulsar.o Error 1 的错误,请进入linu*64linu*64位编译位编译 iometeriometer 提示提示 make:*Pulsar.o Error 1make:*Pulsar.o Error 1 错误的解决方法错误的解决方法查看解决方法。其次:在 windows 下安装 IONETER 主程序,注意版本要和 linu*下的一样,我用的是:iometer-2021-06-22-rc2.win.*86_64.zip最后:如何在 linu*运行 iometer先在 windows 翻开 iometer 主程序,再在 linu*下进入刚刚的安装目录:cd/tmp/iometer-2021-06-22-rc2/src/运行如下命令:1.rootDELL-1 src*./dynamo-i 172.18.30.7-m 172.18.30.17说明:-i 后面用的是 windows 端的 ip,-m 后面使用的是 linu*的 IP。运行如上命令可以出现以下错误:1.2.rootDELL-1 src*./dynamo-i 172.18.30.7-m 172.18.30.17=ERROR:Getting host name forforDELL-1 failed.z.-3.4.5.PortTCP:Create()in IOPortTCP.cpp line 238errno=11*Could not create a TCP/IP Port.e*iting.原因:当网络环境没有使用 DNS 会造成 hostname 和 IP 无法对应上。解决方法:在 linu*下进入/etc 配置 hosts 文件下的 hostname 如下:我的 linu*命名为 DELL-1所以在 hosts 文件的后添加 DELL-1。1.2.rootDELL-1 etc*cat hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 DELL-1一切问题都解决了,正常情况如下:1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.rootDELL-1 src*./dynamo-i 172.18.30.7-m 172.18.30.17Fail to open kstat device file.You can ignore thisthis warningunless you are running dynamo on*SCALE CPU.mand line parameter(s):Looking forfor Iometer on 172.18.30.7Sending login request.DELL-1172.18.30.17(port 38250)Successful PortTCP:Connect-port name:172.18.30.7*If dynamo and iometer hangs here,please make sure*you use a correct-m that*can ping from iometer machine.use IP if if need.Login accepted.Reporting drive information.Set_Sizes:Open on/sys/iobw.tst failed(error No such file or directory).Set_Sizes:Open on/proc/sys/fs/binfmt_misc/iobw.tst failed(error Permission denied).Set_Sizes:Open on/var/lib/nfs/rpc_pipefs/iobw.tst failed(error Permission denied).Physical drives(raw devices).Reporting TCP network information.done.还有一个问题要注意的是先要在 windows 下翻开 iometer 主程序,再在 linu*下运行上面的命令,否则可能出现问题。最后可以在windows上的iometer看到DELL-1的所有磁盘映射如下列图:.z.-这样就可以直接在 windows 下对 linu*磁盘进展测试,测试方法和 windows 方法一致见tgztar-z*vf 文件名之后,进入目录,执行./configuremake install./installrpmrpm-ivh 如何使用如何使用 windowswindows 下的下的 iometeriometer 看看 linu*linu*下的下的 dynamodynamo 运行结果运行结果.20如题。我已经在 linu*和 windows 下成功安装 iometer 了。参考网上各种使用指南,我的步骤是这样:1.修改 windows 下的 host 表,添加 dynamo_puter_ipdynamo_puter_name.z.-其中,dynamo_puter_ip 是运行 dynamo 的 linu*机器的 ip,dynamo_puter_name 是运行 dynamo 的 linu*机器的名字 2.运行 windows 下的 iometer3.运行 linu*下的*./dynamo-i 59.71.94.44-m 59.71.94.45linu*机器的 ip 为,windows 机器的 ip 为运行的结果如下:rootvivian home*cd iometer-2006_07_27.linu*.i386-binrootvivian iometer-2006_07_27.linu*.i386-bin*lsCHANGELOG CREDITS DEVGUIDE LICENSE README srcrootvivian iometer-2006_07_27.linu*.i386-bin*cd srcrootvivian src*lsdynamo iomtr_kstat scriptsrootvivian src*./dynamo-i 59.71.94.44-m 59.71.94.45Fail to open kstat device file.You can ignore this warningunless you are running dynamo on*SCALE CPU.mand line parameter(s):Looking for Iometer on 59.71.94.44Sending login request.vivian59.71.94.45(port 44722).z.-Successful PortTCP:Connect-port name:59.71.94.44*If dynamo and iometer hangs here,please make sure*you use a correct-m that*can ping from iometer machine.use IP if need.linu*上显示连接成功,但是windows 上面一直无法看到连接网络后的结果。手动添加网络连接后只能出现 windows 机的 ip。我有些疑问想请教高手们:1.在 host 表中的那行是否得在之前加*.2.windows 下一翻开iometer 就会同时翻开 windows 下的 dynamo,这时候是否应关掉 windows 下的dynamo 么.3.windows 下的 iometer 与 linu*下的 dynamo 哪个先翻开.4.如何正确将win 下的 iometer 和 linu*下的 dynamo 连接上.大家.z.-作业系统:All 32-bit MS Windows(95/98/NT/2000/*P),MacOS*,Linu*,Other,SunOS/Solaris,Windows NT/2000,Windows*PDL日期:2021-11-20,大小:2215524DL日期:2021-11-21,大小:680267DL日期:2021-12-02,大小:2443056DL日期:2021-12-02,大小:2443056DL日期:2021-12-02,大小:2443056List of release filesList of release filesDownloadDownloadFile/Folder NameFile/Folder NameFile TypeFile Type大小大小日期日期CountCountLatest 5 filesapplication/*-bzip2;charset=binaryapplication/octet-stream;charset=binaryapplication/zip;charset=binaryapplication/zip;charset=binaryapplication/zip;charset=binary2.2 MB2021-11-20 13:2891012.7 MB2021-11-20 13:316822.2 MB2021-11-20 13:333939664.3 KB2021-11-21 04:033642.4 MB2021-12-02 02:212982.z.
展开阅读全文
相关资源
相关搜索

最新文档


当前位置:首页 > 管理文书 > 施工组织


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!