From: David Abrahams Subject: Re: Ubuntu Gutsy host / XP guest / -smp 2 Date: Fri, 04 Apr 2008 12:14:19 -0400 Message-ID: <87r6dl4mxw.fsf@gutsy.luannocracy.com> References: <874pamfvk1.fsf@gutsy.luannocracy.com> <47F32CB9.8080404@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net To: Avi Kivity Return-path: In-Reply-To: <47F32CB9.8080404@qumranet.com> (Avi Kivity's message of "Wed, 02 Apr 2008 09:50:33 +0300") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org on Wed Apr 02 2008, Avi Kivity wrote: > David Abrahams wrote: >> With the title combination, the guest takes nearly 100% of my real CPU >> time and still only sees one CPU. Is this a known problem, and does it >> have a known solution? >> >> > > Can you send the output of 'kvm_stat -1'? $ ./kvm_stat -1 exits 5919444 74219 halt_exits 1746937 59420 invlpg 0 0 io_exits 2181506 6569 irq_exits 23055 335 irq_window 2839 77 mmio_exits 200851 0 pf_fixed 1160592 6251 pf_guest 43473 396 request_irq 0 0 signal_exits 24838 281 tlb_flush 37381 1132 > Also, what does the guest > think it is doing (in task manager, etc.)? "System Idle Process" Note that right now, with my laptop running on battery, kvm is taking up "only" about 50% of the real CPU. > What HAL do you see in device manager? Jim Paris wrote: > He's referring to the Windows computer type -- the entry under > "computer" in device manager. See > http://kvm.qumranet.com/kvmwiki/Windows_ACPI_Workaround "Standard PC" For what it's worth, kvm was not started with "-smp 2" when XP was installed; I only discovered that option later. Thanks, -- Dave Abrahams Boost Consulting http://boost-consulting.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace