From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Erratic gettimeofday() behavior with KVM and newer Linux kernels? Date: Tue, 19 Jun 2007 17:18:32 +0300 Message-ID: <4677E5B8.3070208@qumranet.com> References: <4676F587.8030802@codemonkey.ws> <46778917.90803@qumranet.com> <4677E4BF.3060000@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Anthony Liguori Return-path: In-Reply-To: <4677E4BF.3060000-rdkfGonbjUSkNkDKm+mE6A@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 Anthony Liguori wrote: > Avi Kivity wrote: >> Anthony Liguori wrote: >>> It's pretty erratic. If I run if a few times at any rate, sometimes >>> I get 0.0 and sometimes I get a more sane result. >> >> I expect the newer kernel is sometimes disqualifying the timestamp >> counter from being used as a clocksource. Running pinned to a cpu >> may improve things. > > Things get better if I disable the PM timer and if I pin to a single CPU. > Can you post the magic command line for future reference? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/