[Users] Limit swap space on ovirt node install
Mike Burns
mburns at redhat.com
Sat Sep 1 20:34:13 UTC 2012
You can do this with 2 different methods, both of which are on the kernel command line during boot. Simply hit TAB when you're selecting the install option and add one of the options below to the command line.
1. You can set " storage_vol=:XXX:::: " where XXX is the desired size of the SWAP partition in MB. It has a minimum size of 5MB.
This lets you set a static size for swap.
2. You can set mem_overcommit=0. This will change our calculation to not add any swap for overcommit. It will still calculate a value based on the amount of RAM, but not as large as with the overcommit.
The swap size is calculated at mem_overcommit*RAM + <BASE_SWAP>
BASE_SWAP is calculated using this formula:
if MEM_SIZE < 4GB:
BASE_SWAP = 2GB
elif MEM_SIZE < 16GB:
BASE_SWAP = 4GB
elif MEM_SIZE < 64GB:
BASE_SWAP = 8GB
else:
BASE_SWAP = 16GB
We are planning to expose these option in the TUI installer, just not there yet.
Mike
----- Original Message -----
> Hi,
>
> We have a 16GB SSD in all our nodes to install the ovirt node image
> on.
> While installing I get the message there is not enough space.
>
> After checking the requirements of ovirt node it should fit quite
> easily, but I think the swap space assigned is too much as we have a
> lot
> of ram in the nodes.
>
> As we don't overcommit the RAM in our nodes we shouldn't need that
> much
> swap. Is there any way to modify it? I'd hate to have to buy new
> SSD's :-(
>
> --
> Regards,
>
> Netbulae
> Jorick Astrego
>
> Netbulae B.V.
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list