OpenVZ Forum


Home » General » Support » Problem with RAM and swap (VPS don't swap)
Re: Problem with RAM and swap [message #40922 is a reply to message #40920] Mon, 25 October 2010 11:27 Go to previous messageGo to previous message
nubio is currently offline  nubio
Messages: 8
Registered: July 2010
Junior Member
I found this :
As xemul said.. the VE has no concept of the difference between ram and swap. Its just "memory" at the VE level. So, your HN can have 64MB of ram and 64GB of swap. Or, your HN can have 64GB of ram and 64MB of swap. In the VE, the privvm, oomguar, vmguar are uneffected by this. Only the performance changes between the two scenarios. In either case, you can guarantee and limit each VE to an arbitrary amount of memory. This drastically differs from the conventional mem management of vmware/xen (isoloation). VZ is a shared kernel model and no resources are "hard dedicated" or "hard assigned".

-not possible to give/assign/guarantee a VE XX swap and YY physical memory
-not possible to restrict a VE from using physical memory and use swap instead


Think of the VZ virtual servers like resource containers, not individual linux boxes- VZ is a shared kernel approach to virtualization.

Hope this clears it up for you.


So i a VPS have 512Mo of memory it could be RAM or SWAP ? But it's not possible to give some extra swap ?

For example apache2 need swap to working fine ..
I will see the server swaping when all my memory physic will be full used ?

Regards,
Quentin
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network Card Bonding, additional IP range
Next Topic: very odd error caused by a particular VE
Goto Forum:
  


Current Time: Mon Jul 28 17:31:14 GMT 2025

Total time taken to generate the page: 0.62899 seconds