From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Sheng" Subject: Re: keeping time Date: Thu, 27 Dec 2007 15:05:06 +0800 Message-ID: <200712271505.06987.sheng.yang@intel.com> References: <200712271028.52234.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Yves Dorfsman Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Thursday 27 December 2007 14:51:06 Yves Dorfsman wrote: > On Thu, 27 Dec 2007, Yang, Sheng wrote: > > What's your guest kernel version? > > 2.6.22 > > > When I debug my in kernel PIT(not sent yet, though kept for months), I > > found the kernel version have something to do with the timer accuracy. On > > my limited test, the kernel 2.6.18, 2.6.20, 2.6.22 with default kernel > > parameters works well with my PIT patch. But for kernel 2.6.9, I have to > > use "clock=pit", otherwise the timer is much faster. > > I have added clock=pit, but it does not help. Do you need a specific patch > for this, or do all kernels accept it ? Oh, this is a kernel parameter, but currently: 1. The latest kernel using "clocksource=" instead of "clock=". You can check the Documentation/kernel-parameters.txt 2. I haven't sent out the in-kernel PIT patch... At present, KVM still using PIT from userspace/QEMU. I guesses you are under heavy workload? For "sleep" in bash seems ok on 2.6.22 (x86_64, using RHEL5 as guest distro). > > > Yves. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel -- Thanks Yang, Sheng ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/