On Sat, Nov 03, 2012 at 01:40:48PM -0400, erik quanstrom wrote: > perhaps my comment about double-swap/paging was not clear > enough. i was considering the hosted os, with some standard > vm such as esxi, vbox, xen or whatever as the host. in such a case it makes > no sense to me for the hosted os to page/swap as the hypervisor > is perfectly capable of doing this itself. in fact, i think having > the guest page/swap while the hypervisor is page/swaping is going > to tend to make things more difficult because of i/o contention, > and the fact that doing i/o tends to temporarly increase memory > use.
This makes more sense. However, if your hypervisor is swapping, you've screwed up your planning. RAM oversubscription is the reason most dime-store VPS services suck really badly. I leave swapping to the guest OS, since that's where malloc is being called.
