详解linux下使用IOMETER测试磁盘IO性能.doc_第1页
详解linux下使用IOMETER测试磁盘IO性能.doc_第2页
详解linux下使用IOMETER测试磁盘IO性能.doc_第3页
详解linux下使用IOMETER测试磁盘IO性能.doc_第4页
详解linux下使用IOMETER测试磁盘IO性能.doc_第5页
免费预览已结束,剩余5页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

详解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 6.1 64位的操作系统为例,到iometer主页上下载版本:iometer-2008-06-22-rc2.src.tgz上传到linux中进行如下操作:1. rootDELL-1 tmp# tar zxvf iometer-2008-06-22-rc2.src.tgz /解压 2. rootDELL-1 tmp# cd iometer-2008-06-22-rc2/src /进入iometer src文件下有多个Makefile文件找到自己需要的文件版本 3. rootDELL-1 src# make -f Makefile-Linux.x86_64 dynamo /我的系统是64位所以选择这个文件安装编译 可能上面的安装编译会出现make: * Pulsar.o Error 1的错误,请进入linux 64位编译iometer提示make: * Pulsar.o Error 1错误的解决方法查看解决方法。其次:在windows下安装IONETER主程序,注意版本要和linux下的一样,我用的是:iometer-2008-06-22-rc2.win.x86_64.zip最后:如何在linux运行iometer?先在windows打开iometer主程序,再在linux下进入刚才的安装目录:cd /tmp/iometer-2008-06-22-rc2/src/运行如下命令:1. rootDELL-1 src# ./dynamo -i -m 7 说明:-i后面用的是windows端的ip, -m后面使用的是linux的IP。运行如上命令可以出现以下错误:1. rootDELL-1 src# ./dynamo -i -m 7 2. = ERROR: Getting host name for DELL-1 failed. 3. PortTCP:Create() in IOPortTCP.cpp line 238 4. errno = 11 5. * Could not create a TCP/IP Port. exiting. 原因:当网络环境没有使用DNS会造成hostname和IP无法对应上。解决方法:在linux下进入/etc配置hosts文件下的hostname如下:我的linux命名为DELL-1所以在hosts文件的后添加DELL-1。1. rootDELL-1 etc# cat hosts 2. localhost localhost.localdomain localhost4 localhost4.localdomain4 DELL-1 一切问题都解决了,正常情况如下:1. rootDELL-1 src# ./dynamo -i -m 7 2. Fail to open kstat device file. You can ignore this warning 3. unless you are running dynamo on XSCALE CPU. 4.5. Command line parameter(s): 6. Looking for Iometer on 7.8. Sending login request. 9. DELL-1 10. 7 (port 38250) 11. Successful PortTCP:Connect 12. - port name: 13.14. * If dynamo and iometer hangs here, please make sure 15. * you use a correct -m that 16. * can ping from iometer machine. use IP if need. 17. Login accepted. 18. Reporting drive information. 19. Set_Sizes: Open on /sys/iobw.tst failed (error No such file or directory). 20. Set_Sizes: Open on /proc/sys/fs/binfmt_misc/iobw.tst failed (error Permission denied). 21. Set_Sizes: Open on /var/lib/nfs/rpc_pipefs/iobw.tst failed (error Permission denied). 22. Physical drives (raw devices). 23. Reporting TCP network information. 24. done. 还有一个问题要注意的是先要在windows下打开iometer主程序,再在linux下运行上面的命令,否则可能出现问题。最后可以在windows上的iometer看到DELL-1的所有磁盘映射如下图:这样就可以直接在windows下对linux磁盘进行测试,测试方法和windows方法一致见手把手教你如何使用IOMETER测试工具测试存储。详解linux下使用IOMETER测试磁盘IO性能2012年06月18日 Linux平台 评论数 5 浏览:8588 Views前面有分享了windows下如何使用IOMETER来测试网络磁盘的IO性能,今天分享一下linux下如何使用IOMETER来测试网络磁盘的性能。在linux下和window下工作模式有些区别:在linux上,iometer包括两部分:IOmeter主程序和执行代理,你可以在windows上安装运行iometer主程序,在linux上安装运行iometer执行代理,主程序就会把读写配置传递给执行代理来执行。首先:在linux下安装iomter,以我的redhat 6.1 64位的操作系统为例,到iometer主页上下载版本:iometer-2008-06-22-rc2.src.tgz上传到linux中进行如下操作:1. rootDELL-1 tmp# tar zxvf iometer-2008-06-22-rc2.src.tgz /解压 2. rootDELL-1 tmp# cd iometer-2008-06-22-rc2/src /进入iometer src文件下有多个Makefile文件找到自己需要的文件版本 3. rootDELL-1 src# make -f Makefile-Linux.x86_64 dynamo /我的系统是64位所以选择这个文件安装编译 可能上面的安装编译会出现make: * Pulsar.o Error 1的错误,请进入linux 64位编译iometer提示make: * Pulsar.o Error 1错误的解决方法查看解决方法。其次:在windows下安装IONETER主程序,注意版本要和linux下的一样,我用的是:iometer-2008-06-22-rc2.win.x86_64.zip最后:如何在linux运行iometer?先在windows打开iometer主程序,再在linux下进入刚才的安装目录:cd /tmp/iometer-2008-06-22-rc2/src/运行如下命令:1. rootDELL-1 src# ./dynamo -i -m 7 说明:-i后面用的是windows端的ip, -m后面使用的是linux的IP。运行如上命令可以出现以下错误:1. rootDELL-1 src# ./dynamo -i -m 7 2. = ERROR: Getting host name for DELL-1 failed. 3. PortTCP:Create() in IOPortTCP.cpp line 238 4. errno = 11 5. * Could not create a TCP/IP Port. exiting. 原因:当网络环境没有使用DNS会造成hostname和IP无法对应上。解决方法:在linux下进入/etc配置hosts文件下的hostname如下:我的linux命名为DELL-1所以在hosts文件的后添加DELL-1。1. rootDELL-1 etc# cat hosts 2. localhost localhost.localdomain localhost4 localhost4.localdomain4 DELL-1 一切问题都解决了,正常情况如下:1. rootDELL-1 src# ./dynamo -i -m 7 2. Fail to open kstat device file. You can ignore this warning 3. unless you are running dynamo on XSCALE CPU. 4.5. Command line parameter(s): 6. Looking for Iometer on 7.8. Sending login request. 9. DELL-1 10. 7 (port 38250) 11. Successful PortTCP:Connect 12. - port name: 13.14. * If dynamo and iometer hangs here, please make sure 15. * you use a correct -m that 16. * can ping from iometer machine. use IP if need. 17. Login accepted. 18. Reporting drive information. 19. Set_Sizes: Open on /sys/iobw.tst failed (error No such file or directory). 20. Set_Sizes: Open on /proc/sys/fs/binfmt_misc/iobw.tst failed (error Permission denied). 21. Set_Sizes: Open on /var/lib/nfs/rpc_pipefs/iobw.tst failed (error Permission denied). 22. Physical drives (raw devices). 23. Reporting TCP network information. 24. done. 还有一个问题要注意的是先要在windows下打开iometer主程序,再在linux下运行上面的命令,否则可能出现问题。最后可以在windows上的iometer看到DELL-1的所有磁盘映射如下图:这样就可以直接在windows下对linux磁盘进行测试,测试方法和windows方法一致见tgztar -zxvf 文件名之后,进入目录,执行./configuremake install./installrpm rpm -ivh 如何使用windows下的iometer看linux下的dynamo运行结果?20 如题。我已经在linux和windows下成功安装iometer了。参考网上各种使用指南,我的步骤是这样:1.修改windows下的host表,添加dynamo_computer_ip dynamo_computer_name其中,dynamo_computer_ip是运行dynamo的linux机器的ip ,dynamo_computer_name是运行dynamo的linux机器的名字2.运行windows下的iometer3.运行linux下的 # ./dynamo -i 4 -m 5(linux机器的ip为5,windows机器的ip为4)运行的结果如下:rootvivian home# cd iometer-2006_07_27.linux.i386-binrootvivian iometer-2006_07_27.linux.i386-bin# lsCHANGELOG CREDITS DEVGUIDE LICENSE README srcrootvivian iometer-2006_07_27.linux.i386-bin# cd srcrootvivian src# lsdynamo iomtr_kstat scriptsrootvivian src# ./dynamo -i 4 -m 5Fail to open kstat device file. You can ignore this warningunless you are running dynamo on XSCALE CPU.Command line parameter(s):Looking for Iometer on 4Sending login request.vivian5 (port 44722)Successful PortTCP:Connect- port name: 4* If dynamo and iometer hangs here, please make sure* you use a correct -m that* can ping from iometer machine. use IP if need.linux上显示连接成功,但是windows上面一直无法看到连接网络后的结果。手动添加网络连接后只能出现windows机的ip。我有些疑问想请教高手们:1.在host表中的那行是否得在之前加#?2.windows下一打开iometer就会同时打开windows下的dynamo,这时候是否应关掉windows下的dynamo么?3.windows下的iometer与linux下的dynamo哪个先打开?4.如何正确将win下的iometer和linux下的dynamo连接上?谢谢大家作业系统: All 32-bit MS Windows (95/98/NT/2000/XP), MacOSX, Linux, Other, SunOS/Solaris, Windows NT/2000, Windows XPDLiometer-1.1.0-rc1-win32.i386-bin.zip日期: 2010-11-20, 大小: 2215524DLel.ppc-bin.dmg日期: 2010-11-

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论