OpenVZ Forum


Home » General » Support » Reserve Memory on the Host Node?
Reserve Memory on the Host Node? [message #43416] Wed, 07 September 2011 19:37
evotz is currently offline  evotz
Messages: 2
Registered: September 2011
Junior Member
I'm wondering if it is possible to configure a reserve memory amount on the host node (CT0) so that all of the host node's memory won't ever be consumed.

For example, I'm playing with a very old computer it only has 512MB of RAM. Is there a pay to configure it to hold, say 64MB in reserve? Leaving 448MB to distribute out among all of the containers at one time.

Say I create two containers and give each of them 256MB of memory. The first container runs an application and uses 250MB of memory, it is still under its 256MB limit. The second container tries to run an application that needs 200MB, which it technically would have, but because container1 has used 250MB, only 198MB is available to container2, the application is not allowed to run.

This should allow access to the host node at all times because it would never run out of memory. It would always have at least 64MB of available memory.

Is something like this possible with OpenVZ?
Previous Topic: PowerPC and ARM architecture support including live migration
Next Topic: Host-only network for CT [ Vmware && Virtual Box style ]
Goto Forum:
  


Current Time: Sat Aug 02 20:13:31 GMT 2025

Total time taken to generate the page: 0.73684 seconds