From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmWtZ-00044O-0K for qemu-devel@nongnu.org; Sat, 22 Dec 2012 16:46:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmWtR-0003rz-RR for qemu-devel@nongnu.org; Sat, 22 Dec 2012 16:46:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:63381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmWtR-0003rs-JW for qemu-devel@nongnu.org; Sat, 22 Dec 2012 16:46:05 -0500 Date: Sat, 22 Dec 2012 19:45:52 -0200 From: Luiz Capitulino Message-ID: <20121222194552.55c9a97d@doriath> In-Reply-To: <24E144B8C0207547AD09C467A8259F75578B8BD8@lisa.maurer-it.com> References: <1355861815-2607-1-git-send-email-lcapitulino@redhat.com> <1355861815-2607-4-git-send-email-lcapitulino@redhat.com> <20121218225330.GA28297@lizard.mcd00620.sjc.wayport.net> <20121219093039.51831f6f@doriath.home> <24E144B8C0207547AD09C467A8259F75578B8BD8@lisa.maurer-it.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 3/3] virtio-balloon: add auto-ballooning support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dietmar Maurer Cc: Pekka Enberg , "aquini@redhat.com" , "mst@redhat.com" , "agl@us.ibm.com" , "linux-kernel@vger.kernel.org" , "qemu-devel@nongnu.org" , Michal Hocko , Anton Vorontsov , John Stultz , Mel Gorman , David Rientjes , "amit.shah@redhat.com" , "kirill@shutemov.name" , Andrew Morton , Glauber Costa , "linux-mm@kvack.org" On Thu, 20 Dec 2012 05:24:12 +0000 Dietmar Maurer 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.