From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Sheng" Subject: Re: [PATCH 1/6] KVM: In kernel pit model Date: Thu, 6 Mar 2008 16:43:18 +0800 Message-ID: <200803061643.18955.sheng.yang@intel.com> References: <200803041822.44757.sheng.yang@intel.com> <200803061556.18427.sheng.yang@intel.com> <47CFA61B.1070900@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: <47CFA61B.1070900@qumranet.com> Content-Disposition: inline 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 Thursday 06 March 2008 16:06:51 Avi Kivity wrote: > Yang, Sheng wrote: > > Here is the updated patch. I kept 0xff because I think it's OK for > > understand easily. :) > > Any news on the regression with older Linux guests? That's the only > thing keeping my from applying the patchset. Not much. PIT interrupts injection is all right, 1000 per second. Just found two clock source in guest got problem: PM timer and TSC. Seems both due to compensate for lost ticks. Get rid of something like "jiffies_64 += lost -1" get the time ok. And I think it's a exist bug. As you see, in most condition, userspace pit + in kernel irqchip resulted in time flow slowly, due to the lost of interrupts. But RHEL4 runs even faster than host... I will do more investigate. -- Thanks Yang, Sheng ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/