All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robin Lee Powell <rlpowell@digitalkingdom.org>
To: Emmanuel Noobadmin <centos.admin@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Re: Questions about duplicate memory work
Date: Mon, 26 Sep 2011 00:18:03 -0700	[thread overview]
Message-ID: <20110926071803.GE18099@stodi.digitalkingdom.org> (raw)
In-Reply-To: <CAAYorB+d7+BsAmc5Q5xwZXetu2T47h5S_0wmiqH5AKSSQTwBcQ@mail.gmail.com>

On Mon, Sep 26, 2011 at 01:49:18PM +0800, Emmanuel Noobadmin wrote:
> On 9/25/11, Robin Lee Powell <rlpowell@digitalkingdom.org> 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

  reply	other threads:[~2011-09-26  7:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-25  4:45 Questions about duplicate memory work Robin Lee Powell
2011-09-26  5:49 ` Emmanuel Noobadmin
2011-09-26  7:18   ` Robin Lee Powell [this message]
2011-09-26  8:15     ` Emmanuel Noobadmin
2011-09-26  9:14       ` Mihamina Rakotomandimby
2011-09-27  7:38       ` Re: [kvm] " Robin Lee Powell
2011-09-27  8:41         ` Emmanuel Noobadmin
2011-09-27  8:48           ` Robin Lee Powell
2011-09-27  9:00             ` Robin Lee Powell
2011-09-27  9:49               ` Avi Kivity
2011-09-29  0:11                 ` Robin Lee Powell
2011-09-29  0:14                   ` Re: [kvm] " Robin Lee Powell
2011-09-29 17:22                     ` Marcelo Tosatti
2011-09-29 18:46                       ` Re: [kvm] " Robin Lee Powell
2011-10-02  8:56                         ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110926071803.GE18099@stodi.digitalkingdom.org \
    --to=rlpowell@digitalkingdom.org \
    --cc=centos.admin@gmail.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.