[Users] Use vSWAP without Swap?

Narcis Garcia informatica at actiu.net
Thu Apr 28 09:49:02 PDT 2016


As I understand, if HN (host) has no swap (see command "free"),
containers vswap will work exclusively with RAM.

You can also set a container vswap to 0:
vzctl set 777 --save --swap 0


El 28/04/16 a les 15:46, Henry Spanka ha escrit:
> Hello,
> 
> Thank you for your answers. As I already said, we still want to give our
> customer swap space as vSwap(RAM slowed down). We have set swappiness to
> 10, 20 out of 64 GB RAM is free but the VPS are swapping to disk. I
> think only parts are swapped into the RAM and then flushed to swap disk
> if not accessed anymore. 2 SSDs with RAID 1 are more expensive than
> adding more RAM, so I thought, just use RAM for Swapping WITHOUT any
> real swap space. Is this possible, or is swapping(including vSwap)
> completely disabled when there is no real swap space?
> 
>  
> 
> -----------------------------------------------------------------------------------------
> 
> If you have any further questions, please let us know.
> 
>  
> 
> Mit freundlichen Grüßen / With best regards
> 
> Henry Spanka | myVirtualserver Development Team
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 


More information about the Users mailing list