From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC] fix VMX TSC synchronicity Date: Tue, 06 May 2008 16:55:19 +0300 Message-ID: <48206347.9040500@qumranet.com> References: <478A01D1.7000402@qumranet.com> <20080114160647.GA15919@dmt> <478CC448.1030901@qumranet.com> <478CC819.3040106@csgraf.de> <478CCCA9.2080300@qumranet.com> <478DC453.1000404@qumranet.com> <20080116133454.GA14481@one.firstfloor.org> <478E08E5.2030507@qumranet.com> <20080116135415.GA14664@one.firstfloor.org> <20080117184349.GA17843@dmt> <481DD8FA.5000606@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , Alexander Graf , Andi Kleen To: Marcelo Tosatti Return-path: In-Reply-To: <481DD8FA.5000606@qumranet.com> 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 Avi Kivity wrote: > [Resurrecting post from the dead] > > > Marcelo Tosatti wrote: >> Forcing clustered APIC mode works only on SMP, and there were high CPU >> consumption on Windows SMP guests due to C3 state being reported (fixed >> in kvm-30 something). >> >> So perhaps: >> - Faking clustered APIC on SMP - Faking C3 on UP >> >> And turning of the TSC bit (for 32-bit guests). >> >> Is the way to go? >> Avi, do you understand why C3 was causing the Windows SMP problems ? >> >> > > It's probably inb()ing on the port in a loop. It's not SMP causing > the problems, but the ACPI HAL. I'll check this. > Yes, it's reading 0xb010 and 0xb014, which ought to place the cpu in sleep mode, but don't. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone