All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Dietmar Maurer <dietmar@proxmox.com>
Cc: Anton Vorontsov <anton.vorontsov@linaro.org>,
	Michal Hocko <mhocko@suse.cz>,
	"aquini@redhat.com" <aquini@redhat.com>,
	"mst@redhat.com" <mst@redhat.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	David Rientjes <rientjes@google.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Glauber Costa <glommer@parallels.com>,
	Pekka Enberg <penberg@kernel.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	John Stultz <john.stultz@linaro.org>,
	Mel Gorman <mgorman@suse.de>, "agl@us.ibm.com" <agl@us.ibm.com>,
	"amit.shah@redhat.com" <amit.shah@redhat.com>,
	"kirill@shutemov.name" <kirill@shutemov.name>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [Qemu-devel] [RFC 3/3] virtio-balloon: add auto-ballooning support
Date: Sat, 22 Dec 2012 19:45:52 -0200	[thread overview]
Message-ID: <20121222194552.55c9a97d@doriath> (raw)
In-Reply-To: <24E144B8C0207547AD09C467A8259F75578B8BD8@lisa.maurer-it.com>

On Thu, 20 Dec 2012 05:24:12 +0000
Dietmar Maurer <dietmar@proxmox.com> wrote:

> > > Wow, you're fast! And I'm glad that it works for you, so we have two
> > > full-featured mempressure cgroup users already.
> > 
> > Thanks, although I think we need more testing to be sure this does what we
> > want. I mean, the basic mechanics does work, but my testing has been very
> > light so far.
> 
> Is it possible to assign different weights for different VMs, something like the vmware 'shares' setting?

This series doesn't have the "weight" concept, it has auto-balloon-level and
auto-balloon-granularity. The former allows you to choose which type of
kernel low-mem level you want auto-inflate to trigger. The latter allows you
to say by how much the balloon should grow (as a percentage of the guest's
current memory).

Both of them are per VM.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Dietmar Maurer <dietmar@proxmox.com>
Cc: Anton Vorontsov <anton.vorontsov@linaro.org>,
	Michal Hocko <mhocko@suse.cz>,
	"aquini@redhat.com" <aquini@redhat.com>,
	"mst@redhat.com" <mst@redhat.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	David Rientjes <rientjes@google.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Glauber Costa <glommer@parallels.com>,
	Pekka Enberg <penberg@kernel.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	John Stultz <john.stultz@linaro.org>,
	Mel Gorman <mgorman@suse.de>, "agl@us.ibm.com" <agl@us.ibm.com>,
	"amit.shah@redhat.com" <amit.shah@redhat.com>,
	"kirill@shutemov.name" <kirill@shutemov.name>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [Qemu-devel] [RFC 3/3] virtio-balloon: add auto-ballooning support
Date: Sat, 22 Dec 2012 19:45:52 -0200	[thread overview]
Message-ID: <20121222194552.55c9a97d@doriath> (raw)
In-Reply-To: <24E144B8C0207547AD09C467A8259F75578B8BD8@lisa.maurer-it.com>

On Thu, 20 Dec 2012 05:24:12 +0000
Dietmar Maurer <dietmar@proxmox.com> wrote:

> > > Wow, you're fast! And I'm glad that it works for you, so we have two
> > > full-featured mempressure cgroup users already.
> > 
> > Thanks, although I think we need more testing to be sure this does what we
> > want. I mean, the basic mechanics does work, but my testing has been very
> > light so far.
> 
> Is it possible to assign different weights for different VMs, something like the vmware 'shares' setting?

This series doesn't have the "weight" concept, it has auto-balloon-level and
auto-balloon-granularity. The former allows you to choose which type of
kernel low-mem level you want auto-inflate to trigger. The latter allows you
to say by how much the balloon should grow (as a percentage of the guest's
current memory).

Both of them are per VM.

WARNING: multiple messages have this Message-ID (diff)
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Dietmar Maurer <dietmar@proxmox.com>
Cc: Pekka Enberg <penberg@kernel.org>,
	"aquini@redhat.com" <aquini@redhat.com>,
	"mst@redhat.com" <mst@redhat.com>,
	"agl@us.ibm.com" <agl@us.ibm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Michal Hocko <mhocko@suse.cz>,
	Anton Vorontsov <anton.vorontsov@linaro.org>,
	John Stultz <john.stultz@linaro.org>,
	Mel Gorman <mgorman@suse.de>,
	David Rientjes <rientjes@google.com>,
	"amit.shah@redhat.com" <amit.shah@redhat.com>,
	"kirill@shutemov.name" <kirill@shutemov.name>,
	Andrew Morton <akpm@linux-foundation.org>,
	Glauber Costa <glommer@parallels.com>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [Qemu-devel] [RFC 3/3] virtio-balloon: add auto-ballooning support
Date: Sat, 22 Dec 2012 19:45:52 -0200	[thread overview]
Message-ID: <20121222194552.55c9a97d@doriath> (raw)
In-Reply-To: <24E144B8C0207547AD09C467A8259F75578B8BD8@lisa.maurer-it.com>

On Thu, 20 Dec 2012 05:24:12 +0000
Dietmar Maurer <dietmar@proxmox.com> wrote:

> > > Wow, you're fast! And I'm glad that it works for you, so we have two
> > > full-featured mempressure cgroup users already.
> > 
> > Thanks, although I think we need more testing to be sure this does what we
> > want. I mean, the basic mechanics does work, but my testing has been very
> > light so far.
> 
> Is it possible to assign different weights for different VMs, something like the vmware 'shares' setting?

This series doesn't have the "weight" concept, it has auto-balloon-level and
auto-balloon-granularity. The former allows you to choose which type of
kernel low-mem level you want auto-inflate to trigger. The latter allows you
to say by how much the balloon should grow (as a percentage of the guest's
current memory).

Both of them are per VM.

  reply	other threads:[~2012-12-22 21:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 20:16 [Qemu-devel] [RFC 0/3] auto-ballooning prototype (host part) Luiz Capitulino
2012-12-18 20:16 ` [Qemu-devel] [RFC 1/3] virtio-balloon: add guest_get_actual_ram() Luiz Capitulino
2012-12-18 20:16 ` [Qemu-devel] [RFC 2/3] virtio-balloon: add virtio_balloon_conf skeleton Luiz Capitulino
2012-12-18 20:16 ` [Qemu-devel] [RFC 3/3] virtio-balloon: add auto-ballooning support Luiz Capitulino
2012-12-18 22:53   ` Anton Vorontsov
2012-12-18 22:53     ` [Qemu-devel] " Anton Vorontsov
2012-12-18 22:53     ` Anton Vorontsov
2012-12-19 11:30     ` Luiz Capitulino
2012-12-19 11:30       ` [Qemu-devel] " Luiz Capitulino
2012-12-19 11:30       ` Luiz Capitulino
2012-12-20  5:24       ` [Qemu-devel] " Dietmar Maurer
2012-12-20  5:24         ` Dietmar Maurer
2012-12-20  5:24         ` Dietmar Maurer
2012-12-22 21:45         ` Luiz Capitulino [this message]
2012-12-22 21:45           ` Luiz Capitulino
2012-12-22 21:45           ` Luiz Capitulino
2013-01-11 20:32   ` Amit Shah
2013-01-14 11:58     ` Luiz Capitulino

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=20121222194552.55c9a97d@doriath \
    --to=lcapitulino@redhat.com \
    --cc=agl@us.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=amit.shah@redhat.com \
    --cc=anton.vorontsov@linaro.org \
    --cc=aquini@redhat.com \
    --cc=dietmar@proxmox.com \
    --cc=glommer@parallels.com \
    --cc=john.stultz@linaro.org \
    --cc=kirill@shutemov.name \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    --cc=mhocko@suse.cz \
    --cc=mst@redhat.com \
    --cc=penberg@kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rientjes@google.com \
    /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.