[Users] Use vSWAP without Swap?
Alexey Zilber
alexeyzilber at gmail.com
Thu Apr 28 10:35:30 PDT 2016
Hi Henry,
Could you provide the output of vmstat 5 5?
vSwap has absolutely nothing to do with the swap on the host. Think of
vSwap as slow burst ram. If all your containers decide to hit vSwap at the
same time though, the host may start using REAL swap. Try setting
swappiness to 1 (I don't recommend 0 as there were bugs in the past related
to that).
-Alex
On Thursday, April 28, 2016, Henry Spanka <henry at myvirtualserver.de> wrote:
> 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
>
--
Sent from Gmail Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20160429/45d813f8/attachment.html>
More information about the Users
mailing list