<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=gb2312"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:宋体;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"批注框文本 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:宋体;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.Char
{mso-style-name:"批注框文本 Char";
mso-style-priority:99;
mso-style-link:批注框文本;
font-family:宋体;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>I copy a 32G file from and to the nfs directory and duration is as below.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'># time cp LX5.5V0.9.img LX5.5V1.1.img<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>real 13m54.425s<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>user 0m4.155s<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>sys 0m18.556s<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>client is here , I haven’t got the server’s result, NAS engineer is not here.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'># nfsstat -n -c<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Client nfs v3:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>null getattr setattr lookup access readlink <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>0 0% 21 0% 0 0% 38 0% 9 0% 0 0% <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>read write create mkdir symlink mknod <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>1009154 87% 150378 12% 1 0% 0 0% 0 0% 0 0% <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>remove rmdir rename link readdir readdirplus <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>3 0% 0 0% 0 0% 0 0% 0 0% 5 0% <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>fsstat fsinfo pathconf commit <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>5 0% 2 0% 1 0% 72 0%<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>Best Regards,<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>Yang Yi(</span><span style='font-size:9.0pt;color:#1F497D'>杨燚</span><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>)<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph;layout-grid-mode:char'><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>Mobile Internet Division<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph;layout-grid-mode:char'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:gray'><img width=128 height=72 id="图片_x0020_1" src="cid:image001.jpg@01CCF5FF.CE34BC90" alt="说明: 说明: cid:image001.jpg@01CBF9FF.3CC03FC0"></span><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph;layout-grid-mode:char'><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>Neusoft Corporation<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph;layout-grid-mode:char'><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>A6 Bldg. No.2 Xin Xiu Street<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph;layout-grid-mode:char'><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>Hun Nan New District, Shenyang 110179 P.R.C.<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph;layout-grid-mode:char'><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>Mobile: +86-186 2407 4299<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph;layout-grid-mode:char'><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>E-mail: <a href="mailto:yang_yi@neusoft.com">yang_yi@neusoft.com</a><o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph;layout-grid-mode:char'><u><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:blue'><a href="http://www.neusoft.com/">http://www.neusoft.com</a></span></u><u><span lang=EN-US style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></u></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt'> Nikolay Gar [mailto:nikolay.gar@gmail.com] <br></span><b><span style='font-size:10.0pt'>发送时间<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt'> 2012</span><span style='font-size:10.0pt'>年<span lang=EN-US>2</span>月<span lang=EN-US>26</span>日<span lang=EN-US> 19:31<br></span><b>收件人<span lang=EN-US>:</span></b><span lang=EN-US> </span>杨燚<span lang=EN-US><br></span><b>抄送<span lang=EN-US>:</span></b><span lang=EN-US> users@lists.opennebula.org; discuss@lists.opennebula.org<br></span><b>主题<span lang=EN-US>:</span></b><span lang=EN-US> Re: [one-users] question about OpenNebula + NFS performance<o:p></o:p></span></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US>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<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US>2012/2/26 </span>杨燚<span lang=EN-US> <<a href="mailto:yang_yi@neusoft.com">yang_yi@neusoft.com</a>><o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Hi<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span 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.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> the nfs server(NAS) is suse10 with nfs version 3.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> the nfs client is rhel6.1<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='color:red'>mount -t nfs -o timeo=10,noatime,intr,hard,retrans=5 172.16.14.115:/vx/B1ALL /one_images</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span 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.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>So I wonder if the nfs can provide better performance for the vm ?<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>How can I tune the nfs server and client parameters to enhance nfs performance ? Thank you very much.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>---------------------------------------------------------------------------------------------------<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>---------------------------------------------------------------------------------------------------</span><span lang=EN-US><o:p></o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><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><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>