From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wright Subject: Re: [PATCH] kvm-vmx: add module parameter to avoid trapping HLT instructions (v2) Date: Fri, 3 Dec 2010 09:58:54 -0800 Message-ID: <20101203175854.GF10050@sequoia.sous-sol.org> References: <1291298357-5695-1-git-send-email-aliguori@us.ibm.com> <20101202191416.GQ10050@sequoia.sous-sol.org> <20101203115752.GD27994@linux.vnet.ibm.com> <20101203162731.GA11725@linux.vnet.ibm.com> <20101203172906.GD10050@sequoia.sous-sol.org> <20101203175744.GE13515@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Chris Wright , Anthony Liguori , kvm@vger.kernel.org, Avi Kivity , Marcelo Tosatti To: Srivatsa Vaddagiri Return-path: Received: from sous-sol.org ([216.99.217.87]:38730 "EHLO sequoia.sous-sol.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752524Ab0LCR7L (ORCPT ); Fri, 3 Dec 2010 12:59:11 -0500 Content-Disposition: inline In-Reply-To: <20101203175744.GE13515@linux.vnet.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: * Srivatsa Vaddagiri (vatsa@linux.vnet.ibm.com) wrote: > On Fri, Dec 03, 2010 at 09:29:06AM -0800, Chris Wright wrote: > > That's what Marcelo's suggestion does w/out a fill thread. > > There's one complication though even with that. How do we compute the > real utilization of VM (given that it will appear to be burning 100% cycles)? > We need to have scheduler discount the cycles burnt post halt-exit, so more > stuff is needed than those simple 3-4 lines! Heh, was just about to say the same thing ;)