From mboxrd@z Thu Jan 1 00:00:00 1970 From: pradeep Subject: Re: cpulimit and kvm process Date: Fri, 1 Oct 2010 15:14:22 +0530 Message-ID: <20101001151422.5e0b5e15@skywalker> References: <20101001100328.461b088e@packard.rktmb.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, libvir-list@redhat.com, virt-tools-list@redhat.com To: Mihamina Rakotomandimby Return-path: Received: from e4.ny.us.ibm.com ([32.97.182.144]:48190 "EHLO e4.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751364Ab0JAJo3 (ORCPT ); Fri, 1 Oct 2010 05:44:29 -0400 Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by e4.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o919Sl31001017 for ; Fri, 1 Oct 2010 05:28:47 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o919iSRG120700 for ; Fri, 1 Oct 2010 05:44:28 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o919iR4j025407 for ; Fri, 1 Oct 2010 06:44:28 -0300 In-Reply-To: <20101001100328.461b088e@packard.rktmb.org> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 1 Oct 2010 10:03:28 +0300 Mihamina Rakotomandimby wrote: > Manao ahoana, Hello, Bonjour, > > I would like to launch several KVM guests on a multicore CPU. > The number of the KVM process is over the number of physical cores. > > I would like to limit each KVM process to say... 10% of CPU > > I first use "cpulimit " > > Would you know some better way to limit them? it's in order to avoid 4 > VM to hog all the 4 hardware cores. > > I also use all the livbirt tools, if there si any sol > > Misaotra, Thanks, Merci. > You should be able to limit cpu utilization using cgroups >