OpenVZ Forum


Home » Mailing lists » Users » usage of swap on host server
Re: usage of swap on host server [message #28237 is a reply to message #28233] Wed, 12 March 2008 12:14 Go to previous messageGo to previous message
lst_hoe01 is currently offline  lst_hoe01
Messages: 15
Registered: February 2007
Junior Member
Zitat von Markus Hardiyanto <markus.hardiyanto@yahoo.com>:

> does openvz can use the swap partition on the host server for the VE  
>  inside it? because i have 2GB RAM and 2GB swap on the host server,   
> then setup 2 VE with 1GB guaranteed RAM and 1.5GB burstable RAM for   
> each VE.
>
> it seems that if the 2 VE burst the RAM usage more than 2GB in   
> total, the host didn't use its swap partition to accommodate the   
> burst need as I check the swap partition is always show 0
>
> is it true that i can't use the host swap as RAM for VE? in other   
> word 2GB RAM + 2GB swap != 4GB memory can be allocated for VEs?
>
> Best Regards,
> Markus

The VE can use the memory supplied by the hardware node. It does not  
matter if the HW node uses RAM or SWAP beside performance. If the HW  
node does not use SWAP you simply have not *used* but maybe only  
reserved more then 2GB in sum (HW-node + VE). You can check  
/proc/meminfo on the HW-node to see how much of your RAM is used.

Regards

Andreas




-- 
All your trash belong to us ;-)  www.spamschlucker.org
To: stephan@spamschlucker.org
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Change date on a VPS
Next Topic: problems with vzctl init logging patch
Goto Forum:
  


Current Time: Tue Aug 12 01:14:31 GMT 2025

Total time taken to generate the page: 0.55978 seconds