nfsstat from client and nfs server will help:<br><br>1. nfsstat -n -c for client<br>2. nfsstat -n -s for server<br><br>Just for test, do not test it on VM machine , simple copy some file over NFS ( some big file not /dev/null some 5 GB) with time command before test <br>
<br><br>Nikolay<br><br><div class="gmail_quote">2012/2/26 Ñî D <span dir="ltr"><<a href="mailto:yang_yi@neusoft.com">yang_yi@neusoft.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="ZH-CN"><div><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">Hi<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">   I set up virtual machine with OpenNebula2.2 + NFS(NAS Huawei Symantec). And the virtualization environment is rhel6.1 + kvm. But the vm is running very slow. In the vm system, gunzip a gz file takes very long time.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">   the nfs server(NAS) is suse10 with nfs version 3.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">   the nfs client is rhel6.1<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;color:red" lang="EN-US">mount -t nfs -o timeo=10,noatime,intr,hard,retrans=5 172.16.14.115:/vx/B1ALL /one_images</span><span style="font-size:12.0pt" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">I tried to install two img systems at the same time on the nfs, the %CPU is high. and the installation progress takes very long too.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">So I wonder if the nfs can provide better performance for the vm ?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">How can I tune the nfs server and client parameters to enhance nfs performance ? Thank you very much.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><img src="" alt="˵Ã÷: cid:image003.jpg@01CCF484.269633A0" width="554" height="222"><u></u><u></u></span></p>
</div><font face="monospace">---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</font></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>