Re: [kvm] Re: [kvm] Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-10-02 Thread Avi Kivity
On 09/29/2011 09:46 PM, Robin Lee Powell wrote: On Thu, Sep 29, 2011 at 02:22:43PM -0300, Marcelo Tosatti wrote: > On Wed, Sep 28, 2011 at 05:14:47PM -0700, Robin Lee Powell wrote: > > > > Please post the contents of /proc/meminfo and /proc/zoneinfo > > > > when this is happening. > >

Re: [kvm] Re: [kvm] Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-29 Thread Robin Lee Powell
On Thu, Sep 29, 2011 at 02:22:43PM -0300, Marcelo Tosatti wrote: > On Wed, Sep 28, 2011 at 05:14:47PM -0700, Robin Lee Powell wrote: > > > > Please post the contents of /proc/meminfo and /proc/zoneinfo > > > > when this is happening. > > > > > > I just noticed that the amount of RAM the VMs had in

Re: [kvm] Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-29 Thread Marcelo Tosatti
On Wed, Sep 28, 2011 at 05:14:47PM -0700, Robin Lee Powell wrote: > > > Please post the contents of /proc/meminfo and /proc/zoneinfo when > > > this is happening. > > > > I just noticed that the amount of RAM the VMs had in VIRT added up > > to considerably more than the host's actual RAM; hard_li

Re: [kvm] Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-28 Thread Robin Lee Powell
On Wed, Sep 28, 2011 at 05:11:06PM -0700, Robin Lee Powell wrote: > On Tue, Sep 27, 2011 at 12:49:29PM +0300, Avi Kivity wrote: > > On 09/27/2011 12:00 PM, Robin Lee Powell wrote: > > >On Tue, Sep 27, 2011 at 01:48:43AM -0700, Robin Lee Powell wrote: > > >> On Tue, Sep 27, 2011 at 04:41:33PM +0800

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-28 Thread Robin Lee Powell
On Tue, Sep 27, 2011 at 12:49:29PM +0300, Avi Kivity wrote: > On 09/27/2011 12:00 PM, Robin Lee Powell wrote: > >On Tue, Sep 27, 2011 at 01:48:43AM -0700, Robin Lee Powell wrote: > >> On Tue, Sep 27, 2011 at 04:41:33PM +0800, Emmanuel Noobadmin wrote: > >> > On 9/27/11, Robin Lee Powell wrote:

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Avi Kivity
On 09/27/2011 12:00 PM, Robin Lee Powell wrote: On Tue, Sep 27, 2011 at 01:48:43AM -0700, Robin Lee Powell wrote: > On Tue, Sep 27, 2011 at 04:41:33PM +0800, Emmanuel Noobadmin wrote: > > On 9/27/11, Robin Lee Powell wrote: > > > On Mon, Sep 26, 2011 at 04:15:37PM +0800, Emmanuel Noobadmin

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2011 at 01:48:43AM -0700, Robin Lee Powell wrote: > On Tue, Sep 27, 2011 at 04:41:33PM +0800, Emmanuel Noobadmin wrote: > > On 9/27/11, Robin Lee Powell wrote: > > > On Mon, Sep 26, 2011 at 04:15:37PM +0800, Emmanuel Noobadmin > > > wrote: > > >> It's unrelated to what you're actua

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2011 at 04:41:33PM +0800, Emmanuel Noobadmin wrote: > On 9/27/11, Robin Lee Powell wrote: > > On Mon, Sep 26, 2011 at 04:15:37PM +0800, Emmanuel Noobadmin > > wrote: > >> It's unrelated to what you're actually using as the disks, > >> whether file or block devices like LVs. I think

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Emmanuel Noobadmin
On 9/27/11, Robin Lee Powell wrote: > On Mon, Sep 26, 2011 at 04:15:37PM +0800, Emmanuel Noobadmin wrote: >> It's unrelated to what you're actually using as the disks, whether >> file or block devices like LVs. I think it just makes KVM tell the >> host not to cache I/O done on the storage device.

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Robin Lee Powell
On Mon, Sep 26, 2011 at 04:15:37PM +0800, Emmanuel Noobadmin wrote: > On 9/26/11, Robin Lee Powell wrote: > > On Mon, Sep 26, 2011 at 01:49:18PM +0800, Emmanuel Noobadmin wrote: > >> On 9/25/11, Robin Lee Powell wrote: > >> > > >> > OK, so I've got a Linux host, and a bunch of Linux VMs. > >> > >

Re: [kvm] Re: Questions about duplicate memory work

2011-09-26 Thread Mihamina Rakotomandimby
On 09/26/2011 11:15 AM, Emmanuel Noobadmin wrote: 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 lay

Re: [kvm] Re: Questions about duplicate memory work

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

Re: [kvm] Re: Questions about duplicate memory work

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

Re: Questions about duplicate memory work

2011-09-25 Thread Emmanuel Noobadmin
On 9/25/11, Robin Lee Powell 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 creat

Questions about duplicate memory work

2011-09-24 Thread Robin Lee Powell
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. That seems like a horrible duplication of effort, and likely to result in performance problems. I'm very annoyed by seeing the *mast