78 messages in com.xensource.lists.xen-develRe: (progress on hpet accuracy) and R...
FromSent OnAttachments
Shan, Haitao30 Oct 2007 07:27.patch
Keir Fraser30 Oct 2007 09:12 
Dave Winchell30 Oct 2007 14:15.vpt, .c
Shan, Haitao30 Oct 2007 20:09.patch
Keir Fraser31 Oct 2007 00:09 
Dave Winchell01 Nov 2007 14:14.patch
Dave Winchell01 Nov 2007 14:21 
Keir Fraser02 Nov 2007 02:40 
Dave Winchell02 Nov 2007 08:50 
Keir Fraser02 Nov 2007 09:14 
Keir Fraser02 Nov 2007 09:35 
Dave Winchell02 Nov 2007 11:05 
Dave Winchell03 Nov 2007 14:17.Other
Keir Fraser03 Nov 2007 15:31.patch
Dave Winchell05 Nov 2007 06:36 
Dave Winchell07 Nov 2007 06:38.Other
Keir Fraser07 Nov 2007 06:39 
Dave Winchell07 Nov 2007 08:22 
Keir Fraser07 Nov 2007 09:10 
Keir Fraser07 Nov 2007 09:28 
Keir Fraser07 Nov 2007 09:47 
Dave Winchell07 Nov 2007 11:38 
Keir Fraser08 Nov 2007 00:07 
Dave Winchell08 Nov 2007 06:42 
Keir Fraser08 Nov 2007 06:52 
Dave Winchell08 Nov 2007 06:57 
Dave Winchell08 Nov 2007 07:08 
Dave Winchell09 Nov 2007 11:22.patch
Keir Fraser10 Nov 2007 02:54 
Dave Winchell12 Nov 2007 07:37 
Dave Winchell26 Nov 2007 12:57 
Keir Fraser06 Dec 2007 03:56 
Dan Magenheimer19 Dec 2007 10:56 
Dave Winchell19 Dec 2007 11:32 
Dave Winchell19 Dec 2007 11:39 
Dan Magenheimer03 Jan 2008 14:57 
Dave Winchell03 Jan 2008 15:23 
Dave Winchell04 Jan 2008 15:23.time
Keir Fraser08 Jan 2008 06:32 
Dave Winchell09 Jan 2008 08:52 
Dan Magenheimer09 Jan 2008 09:18 
Keir Fraser09 Jan 2008 11:13 
Dan Magenheimer25 Jan 2008 15:50.png
Dave Winchell27 Jan 2008 13:21 
Dan Magenheimer27 Jan 2008 16:29 
Dave Winchell28 Jan 2008 07:20 
Dan Magenheimer29 Jan 2008 14:34.png
Dave Winchell30 Jan 2008 07:24 
Deepak Patel30 Jan 2008 13:03 
Dave Winchell30 Jan 2008 13:44 
Dan Magenheimer01 Feb 2008 14:30.png
Dave Winchell04 Feb 2008 12:06 
Dave Winchell08 Feb 2008 13:20 
Dave Winchell11 Feb 2008 08:52.png
Dave Winchell14 Feb 2008 07:59 
Dan Magenheimer14 Feb 2008 08:20 
Dave Winchell14 Feb 2008 09:55 
Dan Magenheimer15 Feb 2008 08:46 
Dave Winchell15 Feb 2008 09:27 
Dave Winchell19 Feb 2008 07:26 
Dan Magenheimer19 Feb 2008 09:55 
Keir Fraser19 Feb 2008 11:29 
Dave Winchell19 Feb 2008 12:50 
Dan Magenheimer19 Feb 2008 15:37 
Dan Magenheimer20 Feb 2008 15:40 
Dan Magenheimer25 Feb 2008 08:41 
Dave Winchell25 Feb 2008 12:00 
Keir Fraser26 Feb 2008 00:25 
Dave Winchell26 Feb 2008 06:45 
Keir Fraser26 Feb 2008 06:56 
Dave Winchell26 Feb 2008 07:48 
Dave Winchell05 Mar 2008 07:06 
Keir Fraser05 Mar 2008 07:19 
Keir Fraser05 Mar 2008 09:20 
Dave Winchell05 Mar 2008 09:25 
Dave Winchell05 Mar 2008 09:42 
Dan Magenheimer05 Mar 2008 09:53 
Dan Magenheimer06 Mar 2008 15:35 
Subject:Re: (progress on hpet accuracy) and Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks
From:Dave Winchell (dwin@virtualiron.com)
Date:03/05/2008 09:42:33 AM
List:com.xensource.lists.xen-devel

Keir Fraser wrote:

On 5/3/08 17:25, "Dave Winchell" <dwin@virtualiron.com> wrote:

In 2.6.9, it looks like cur_timer->mark_offset() call from timer_interrupt in 32 bit arch/i386/kernel/time.c invokes, for hpet, mark_offset_hpet(), which computes missed ticks based on hpet counter. mark_offset_pit() does nothing. mark_offset_tsc() does compute missed ticks.

In 64 bit 2.6.9, the timer_interrupt() in arch/x86_64/time.c does hpet reads directly HPET_T0_CMP, HPET_COUNTER to calculate missed ticks.

So from the code perspective, it looks like missed ticks are computed for 32 and 64 bit Linux using hpet clocksource.

Ah. I looked at 2.6.18 which seems to have neither the mark_offset nor the GENERIC_TIME approach in its arch/i386 time code. But yeah, it does look like in general Linux 2.6 is robust to missed ticks when using hpet. That's good.

Do you see and simply ignore warning messages from 64-bit Linux when using hpet (or otherwise not doing missed-tick handling in Xen), by the way? I know 64-bit Linux is keen to warn about missed ticks, although it does look like at least the warning is one shot.

I see the one shot messages on 64 bit and no complaints at all on 4u432 Linux. And I have been ignoring them.

-- Keir