From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Clock running at double speed in guest Date: Sat, 27 Jan 2007 10:57:19 +0200 Message-ID: <45BB13EF.1020204@qumranet.com> References: <1169857906.30807.52.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: tim.c.chen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org Return-path: In-Reply-To: <1169857906.30807.52.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> 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 Tim Chen wrote: > I notice that when I am testing kvm, the clock on guest is running at > twice the speed. Same thing also happen using qemu without kvm. > > I look at my wall clock when I issue the command "time sleep 30". When > the command returns and report 30 sec has elasped, I found that actually > only 15 sec has passed on the wall clock. Perhaps somewhere an extra > clock tick was counted. > > That's a known issue, I plan to take a look at it soon. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV