<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alan Pevec wrote:
<blockquote
 cite="mid:2be7262f0901131558t163d40e5na7bfb29a8d8a321f@mail.gmail.com"
 type="cite">On Tue, Jan 13, 2009 at 11:33 PM, Darryl L. Pierce <span
 dir="ltr"><<a moz-do-not-send="true"
 href="mailto:dpierce@redhat.com">dpierce@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;">If
the ovirt_overcommit kernel argument is passed, the value supplied<br>
will override the default value, which is 2GB.<br>
  </blockquote>
  <div><br>
nack - that's too easy :)<br>
  <br>
lemme try to explain what I had in mind:<br>
parameter should accept the overcommit ratio as its value and not max.
size in MB - otherwise admin needs to adjust it for different machines<br>
  <br>
ovirt_overcommit=N<br>
means swap area is set to N * MEM_SIZE<br>
  </div>
  </div>
</blockquote>
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.<br>
<blockquote
 cite="mid:2be7262f0901131558t163d40e5na7bfb29a8d8a321f@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <div><br>
default N is 2, in case parameter is not present<br>
  </div>
  </div>
</blockquote>
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
 cite="mid:2be7262f0901131558t163d40e5na7bfb29a8d8a321f@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <div>special case N=0, means overcommit is not used and swap area is
set to min. required size from the table in <a moz-do-not-send="true"
 href="http://kbase.redhat.com/faq/docs/DOC-15252">http://kbase.redhat.com/faq/docs/DOC-15252</a>
  <p>MEM_SIZE    SWAP_SIZE</p>
  <p><=4GB           2GB</p>
  <p>4GB to 16GB  4GB</p>
  <p>16GB to 64GB  8GB</p>
  <p>64GB to 256GB  16GB</p>
  <p><br>
  </p>
  </div>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Ovirt-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ovirt-devel@redhat.com">Ovirt-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/ovirt-devel">https://www.redhat.com/mailman/listinfo/ovirt-devel</a>
  </pre>
</blockquote>
<br>
</body>
</html>