But in OpenVZ Container you don't have an bollon-driver, or not?The threads conclusion about RAM and KVM does not hold anymore due to the balloon driver in recent KVM. The balloon driver ensures that unused memory in every VM is returned to the shared pool of memory.
the thread talks about memory consumption and KVM.
???czdavid said:Hello,
my server has 8 GB RAM and 8 cores. Can I have OpenVZ containers with these resources?
]2. KVM virtual machines use up all allocated memory when they start, while OpenVZ guests run in the same memory space, so again easily 2-5x as many can run on the same hardware. KSM may help a bit when you have similar KVM machines, but you can't really overprovision with KVM. On your 24GB machine you can run 5x 4GB KVM VM's, because you should leave a couple of GB free for the host system. With OpenVZ, it can be much more.