[Users] usage of swap on host server
MailingListe
lst_hoe01 at kwsoft.de
Wed Mar 12 08:14:26 EDT 2008
Zitat von Markus Hardiyanto <markus.hardiyanto at 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 at spamschlucker.org
More information about the Users
mailing list