Dietmar, let's calculate an example:
My virtualization hosts come with 4.5GB physical memory and 8GB swap. I want swap to be used only occasionally and consider continuous swap usage as a critical issue. To simplify calculations, I assume that the host itself will never need more than 512MB...
As far as I can see, OpenVZ provides "stable" patches for RHEL4/5 and "less stable" patches for "distro kernels which maintain their own security patches (such as Debian)". Anything based on 2.6.24, 2.6.26 or 2.6.27 "are development, bleeding edge branches". KVM can't be really called 'stable'...
Yep, and that's exactly why I suggested "oomguarpages=vmguarpages=RAM/4KB; privvmpages=(RAM+SWAP)/4KB".
Let FREE_VM = physical memory + host swap - host requirements - some host reserve.
"Overcommitted" shall be any case where SUM(active container privvmpages) > FREE_VM. This allows...
Unless memory on the host is overcommitted, there is absolutely no difference! But if SUM(privvmpages)> HOST_MEM + HOST_SWAP, this has several advantages:
The kernel can make sure that at any time, a container can allocate and use at least vmguarpages, no matter how "rogue" other containers...
I would agree to keep the distinction between RAM+SWAP as it allows to display and manage the sum of allocated memory resources with respect to the host's physical and virtual memory (think of a warning before creating or migrating a machine to an overcommitted host).
Assuming a 'cooperative'...
I tried the following for the example 256MB+512MB configuration I used above:
vzctl set 101 --swappages 131072 --meminfo pages:65536 --saveRunning on 2.6.24-6-pve, meminfo works (at least as far as MemTotal is now reported as 256MB instead of 768MB).
swappages isn't even persisted to the...
It took me a while to find out why any Java based services were problematic inside a VZ container and to actually fix the problems. This is an approach to document the issues and provide some workarounds
As a motivation, take the Zimbra Collaboration Suite as an example...
Detailed setup instructions for serverloft
Here's a bit more detailed recipe...
# add your favourite editor below - I use joe
apt-get install libencode-perl joe
# get the installer, this is v1.1
wget 'http://dl.schmidt-seb.de/proxmox.tar'
tar xf proxmox.tar
cd proxmox
# edit the script to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.