On Wed, Jan 14, 2009 at 11:41 AM, Dor Laor <span dir="ltr"><<a href="mailto:dlaor@redhat.com">dlaor@redhat.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="Ih2E3d">
<blockquote type="cite"><div class="gmail_quote"><div>ovirt_overcommit=N<br>
means swap area is set to N * MEM_SIZE<br>
</div>
</div>
</blockquote></div>
Can it be N*MEM_SIZE + the values from the table below?<br>
This way you retain swap memory for the VMs and additional swap for the
host.<div class="Ih2E3d"></div></div></blockquote><div><br>yes, agreed<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000">
<div class="Ih2E3d"><blockquote type="cite"><div class="gmail_quote"><div>
default N is 2, in case parameter is not present<br>
</div>
</div>
</blockquote>
<br></div>
Make sure N is not an int. The current solidIce default is 150%.<br>
For 150% N should be 0.5 since the 100% is in the RAM.<br>
<blockquote type="cite"><div class="Ih2E3d">
<div class="gmail_quote">
<div></div></div></div></blockquote></div></blockquote><div><br>ok, to recap:<br><br>swap = mem * overcommit + min_from_kbase_table(mem)<br>where default overcommit=0.5 (in case ovirt_overcommit param isn't present)<br>
<br></div></div>