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

Alan Pevec apevec at gmail.com
Tue Jan 13 23:58:07 UTC 2009


On Tue, Jan 13, 2009 at 11:33 PM, Darryl L. Pierce <dpierce at redhat.com>wrote:

> If the ovirt_overcommit kernel argument is passed, the value supplied
> will override the default value, which is 2GB.
>

nack - that's too easy :)

lemme try to explain what I had in mind:
parameter should accept the overcommit ratio as its value and not max. size
in MB - otherwise admin needs to adjust it for different machines

ovirt_overcommit=N
means swap area is set to N * MEM_SIZE

default N is 2, in case parameter is not present
special case N=0, means overcommit is not used and swap area is set to min.
required size from the table in http://kbase.redhat.com/faq/docs/DOC-15252

MEM_SIZE    SWAP_SIZE

<=4GB           2GB

4GB to 16GB  4GB

16GB to 64GB  8GB

64GB to 256GB  16GB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090114/eaa69fde/attachment.htm>


More information about the ovirt-devel mailing list