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] RE: rdtsc strangeness on upstream kernel

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] RE: rdtsc strangeness on upstream kernel
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Mon, 19 Jul 2010 17:34:16 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 19 Jul 2010 17:38:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <681683ff-677b-4709-911e-3d90d7dbed7c@default>
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: <0784c7e7-1e9c-4abd-8e90-837051fe6b8b@default 4C44E123.3030308@xxxxxxxx 441eecef-5758-4c3f-924e-74823b7cb776@default> <681683ff-677b-4709-911e-3d90d7dbed7c@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5
On 07/19/2010 04:55 PM, Dan Magenheimer wrote:
>> With vcpus=2, timer0 goes up to about 2000 irq/sec on CPU0
>> and timer1 on CPU1 is the same while rdtsc/sec is about 20000.
>>     
> No, wait, correct that...timer0 and timer1 are 1000 irq/sec.
> (I was using "watch -d" which defaults to updating every
> two seconds, not every second.)
>
>   
>> Is it possible that the timer interrupt is using rdtsc
>> five times each interrupt?
>>     
> TEN times each interrupt.
>   

Do you have any other debugging/tracing enabled?  CONFIG_XEN_DEBUG_FS
for example?

10 sounds a little high, but not necessarily completely unreasonable,
especially if there's tracing/debugging on.

    J

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