On Mon, Sep 26, 2011 at 01:49:18PM +0800, Emmanuel Noobadmin wrote:
> On 9/25/11, Robin Lee Powell <[email protected]> wrote:
> >
> > OK, so I've got a Linux host, and a bunch of Linux VMs.
> >
> > This means that the host *and* all tho VMs do their own disk
> > caches/buffers and do their own swap as well.
> 
> If I'm not wrong, that's why the recommended and current default
> in libvirtd is to create storage devices with no caching to remove
> one layer of duplication.

How do you do that?  I have my VMs using LVs created on the host as
their disks, but I'm open to other methods if there are significant
advantages.

> > I've considered turning off swap on the VMs so all the swapping
> > at least happens in *one place*; I dunno if that's best.
> 
> Not sure it's a good idea. If the VM needs more working memory
> than you allocated, I think it locks up dead if there is
> insufficient swap space. At least that appears to be what happened
> to one of mine.

Good to know, thanks.

-Robin
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to