WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] A clocksource question

To: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] A clocksource question
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 11 Mar 2010 16:49:30 -0800
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Delivery-date: Thu, 11 Mar 2010 16:49:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B998A70.3050500@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4B962748.90609@xxxxxxxxxxxxxxxxxxxxxx> <4B96DB69.10101@xxxxxxxx 4B981997.4030605@xxxxxxxxxxxxxxxxxxxxxx> <56cc3abf-21f6-4178-b00e-0331538080d9@default> <4FA716B1526C7C4DB0375C6DADBC4EA3554D53F1B0@xxxxxxxxxxxxxxxxxxxxxxxxx> <4B983EC9.2030105@xxxxxxxxxxxxxxxxxxxxxx> <4B98421F.7040102@xxxxxxxx> <4B984533.9030402@xxxxxxxxxxxxxxxxxxxxxx> <4B9877CA.4060204@xxxxxxxx> <4B998A70.3050500@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3
On 03/11/2010 04:27 PM, Joanna Rutkowska wrote:
I think that the important clue is this message appearing in my dmesg
(in Dom0 and also in DomUs):

hrtimer: interrupt too slow, forcing clock min delta to 540150561 ns

This is almost 0.5s (!) and I think this might explain my kbd hiccup. I
wrote that I feel it every 10s or so, but when I was playing on my
system without jiffies setting today, I saw this hiccup occurring much
more often; in fact it was more of a "slow keyboard/system" feeling than
a hiccup".

Yes, its definitely a good clue. It could point to a Xen scheduler issue (I assume you don't have any other busy domains when this is going on), but that wouldn't explain why it works OK with jiffies. Perhaps there's a problem with programming the timer so that sometimes it gets missed and the system doesn't get a kick until some subsequent event (whereas with clocksource=jiffies there'll always be a timer in the next 100ms).

    J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel