<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=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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;}
span.E-mailStijl17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks Peter,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Is it possible to get a example config from you, just to see what you have setup ?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Steffan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Van:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> users-bounces@openvz.org [mailto:users-bounces@openvz.org] <b>Namens </b>Peter Senna Tschudin<br><b>Verzonden:</b> donderdag 9 december 2010 20:39<br><b>Aan:</b> users@openvz.org<br><b>Onderwerp:</b> Re: [Users] vzmemcheck<o:p></o:p></span></p></div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:35.4pt'>Hey Steffan,<o:p></o:p></p><div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>OpenVZ allows you to control&nbsp;separately&nbsp;both allocated and consumed memory. Not all allocated memory will be used.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>So OpenVZ will allow you to allocate more memory than you host has: RAM + SWAP but the user land apps of your VEs&nbsp;will not be able to use it.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>On my setups...<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>I set vmguarpages barrier to minimum amount of RAM that I want that the VE is able to allocate. OpenVZ guarantees this.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>I set privvmpages barrier to the maximum amount of RAM&nbsp;that I want that the VE is able to allocate.&nbsp;I set privvmpages limit to a value higher than barrier, like 5%~25% more. OpenVZ does not guarantees that the extra&nbsp;amount&nbsp;of RAM will be allocable.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>Then I set oomguarpages to same value of privvmpages limit. This isn't the best scenario for RAM utilization but ensures low incidence of processes being killed by kernel due out of memory condition.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>Hope that it helps,<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>Peter<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p><div><p class=MsoNormal style='margin-left:35.4pt'>On Thu, Dec 9, 2010 at 11:35 AM, Steffan &lt;<a href="mailto:general@ziggo.nl">general@ziggo.nl</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'>Hello All,<br>New to the list, loving openvz<br>But having trouble finding out the right settings for the containers<br><br>Can someone tell me if im in trouble or everything looks fine<br><br>vzcpucheck -v<br>VEID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CPUUNITS<br>-------------------------<br>0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000<br>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>15&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>23&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10000<br>Current CPU utilization: 101000<br>Power of the node: 1809010<br><br>vzmemcheck -v<br>Output values in %<br>veid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LowMem&nbsp; LowMem&nbsp;&nbsp;&nbsp;&nbsp; RAM MemSwap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 10.77&nbsp;&nbsp;&nbsp; 4.72&nbsp;&nbsp; 10.99&nbsp;&nbsp; 20.15<br>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.98&nbsp;&nbsp; 45.79&nbsp;&nbsp;&nbsp; 1.64&nbsp;&nbsp;&nbsp; 1.40&nbsp;&nbsp; 10.77&nbsp;&nbsp;&nbsp; 2.78&nbsp;&nbsp; 10.77&nbsp;&nbsp; 20.15<br>-------------------------------------------------------------------------<br>Summary:&nbsp;&nbsp;&nbsp;&nbsp; 25.96&nbsp; 457.95&nbsp;&nbsp; 26.34&nbsp;&nbsp; 22.55&nbsp; 107.69&nbsp;&nbsp; 42.80&nbsp; 100.57&nbsp; 201.49<br><br><br>The hw node hs 24 Gb memory, expendable to 96G<br>2 E5520 @ 2.27GHz quadcore processes<br><br>How do i read this:<br>25.96 % in use<br>But overclocked for 457.95 % ?<br><br><br>With regards<br><br>Steffan<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openvz.org">Users@openvz.org</a><br><a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><o:p></o:p></p></div><p class=MsoNormal style='margin-left:35.4pt'><br><br clear=all><br>-- <br>Peter Senna Tschudin<br><a href="mailto:peter.senna@gmail.com">peter.senna@gmail.com</a><br>gpg id: 48274C36<o:p></o:p></p></div></div></body></html>