From: Ross Boylan Subject: Re: XP smp using a lot of CPU [SOLVED] Date: Fri, 15 May 2009 13:24:21 -0700 Message-ID: <1242419061.2852.6.camel@iron.psg.net> References: <1242175298.15140.12.camel@iron.psg.net> <4A0A6F12.9000909@redhat.com> <1242331271.30072.2.camel@iron.psg.net> <20090515145651.GB6304@amt.cnet> <1242402117.17637.14.camel@corn.betterworld.us> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: ross@biostat.ucsf.edu, Kevin Shanahan , Avi Kivity , kvm@vger.kernel.org To: Marcelo Tosatti Return-path: Received: from upstrm185.psg-ucsf.org ([38.99.193.74]:37614 "EHLO biostat.ucsf.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751244AbZEOUYb (ORCPT ); Fri, 15 May 2009 16:24:31 -0400 In-Reply-To: <1242402117.17637.14.camel@corn.betterworld.us> Sender: kvm-owner@vger.kernel.org List-ID: Using ACPI fixes the problem; CPU useage is now quite low. Start line was sudo vdeq kvm -net nic,vlan=1,macaddr=52:54:a0:12:01:00 \ -net vde,vlan=1,sock=/var/run/vde2/tap0.ctl \ -boot d -cdrom /usr/local/backup/XPProSP3.iso \ -std-vga -hda /dev/turtle/XP00 \ -soundhw es1370 -localtime -m 1G -smp 2 I switched to -boot c later. I ended up doing a fresh install; my repair got mucked up and I got the message "The requested lookup key was not found in any active activation context" when I entered a location into MSIE, including when I tried to run Windows Update. Googling showed this might indicate some permission or file corruption issues. They may have happened during my earlier (virtual) system hang. My experience suggests a theory: if you use SMP with XP (i.e., more than 1 virtual processor) you should enable acpi, i.e., not say -no-acpi. It this is true, the advice to run windows with -no-acpi should probably be updated. It's possible single CPU systems are affected as well. Ross