[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 3/3] memory/qmp: add set-memory-merge command
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [RFC 3/3] memory/qmp: add set-memory-merge command |
Date: |
Tue, 26 Jun 2012 10:25:22 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Jun 25, 2012 at 05:05:45PM -0500, Anthony Liguori wrote:
> On 06/25/2012 11:55 AM, Luiz Capitulino wrote:
> >Allow to enable/disable memory merging during run-time.
> >
> >This is implemented by extending the qemu_set_mem_merge() function.
> >
> >To test on HMP:
> >
> > (qemu) set_memory_merge on
> > (qemu) set_memory_merge off
> >
> >Signed-off-by: Luiz Capitulino<address@hidden>
>
> Is there a requirement to tweak KSM dynamically on a per-VM basis or
> was this just a nice to have?
>
> I can certainly understand wanting to run your VMs without KSM but
> not wanting to have to muck with global configuration values.
>
> I would suspect that people would either overcommit or not
> overcommit as a global decision. Once you overcommit even one
> machine, you potentially put your whole system in danger of swap.
I tend to agree, this monitor commands feels like a feature without a
clear usecase.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
- [Qemu-devel] [RFC 1/3] memory: add -disable-mem-merge command-line option, (continued)
[Qemu-devel] [RFC 3/3] memory/qmp: add set-memory-merge command, Luiz Capitulino, 2012/06/25
[Qemu-devel] [RFC 2/3] memory: add RAM_MERGEABLE flag to RAMBlock, Luiz Capitulino, 2012/06/25