[Ovirt-devel] [PATCH node] Changed max swap size to allow for overcommitting.

Alan Pevec apevec at gmail.com
Wed Jan 14 15:39:56 UTC 2009


On Wed, Jan 14, 2009 at 11:41 AM, Dor Laor <dlaor at redhat.com> wrote:

>  ovirt_overcommit=N
> means swap area is set to N * MEM_SIZE
>
> Can it be N*MEM_SIZE + the values from the table below?
> This way you retain swap memory for the VMs and additional swap for the
> host.
>

yes, agreed

> default N is 2, in case parameter is not present
>
>
> Make sure N is not an int. The current solidIce default is 150%.
> For 150% N should be 0.5 since the 100% is in the RAM.
>
>
ok, to recap:

swap = mem * overcommit + min_from_kbase_table(mem)
where default overcommit=0.5 (in case ovirt_overcommit param isn't present)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090114/7473c19d/attachment.htm>


More information about the ovirt-devel mailing list