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-users

Re: [Xen-devel] Re: [Xen-users] About profiling xen

To: Marco Tizzoni <marco.tizzoni@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] About profiling xen
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 01 Oct 2009 15:01:59 -0700
Cc: "Fajar A." <fajar@xxxxxxxxx>, Fasiha Ashraf <feehapk@xxxxxxxxxxx>, xen <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Oct 2009 15:02:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f9611b0f0910011455q722f5755i5f319d3e6f27c14a@xxxxxxxxxxxxxx>
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: <196324.1267.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <f9611b0f0909300045o55e22378xea270e9873471f1d@xxxxxxxxxxxxxx> <f9611b0f0909300206v53577d1cw300ff6092b8ffede@xxxxxxxxxxxxxx> <4AC3E889.6060407@xxxxxxxx> <f9611b0f0910010035m40949fb3o5efe60469b4466b7@xxxxxxxxxxxxxx> <4AC516EC.3050704@xxxxxxxx> <f9611b0f0910011405h416d2372i3a4c7587b84a3fac@xxxxxxxxxxxxxx> <4AC51C48.40203@xxxxxxxx> <f9611b0f0910011426w4af0b164re00104fb5a66ebd9@xxxxxxxxxxxxxx> <4AC521DC.2020106@xxxxxxxx> <f9611b0f0910011455q722f5755i5f319d3e6f27c14a@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3
On 10/01/09 14:55, Marco Tizzoni wrote:
> Sorry, I was not clear. It works as I expect, i.e going not over 1000
> hz (my dom0 kernel has been compiled with 1000hz).
>   

OK, that's definitely *not* expected.  If you're running with
CONFIG_NO_HZ and HIGH_RES_TIMERS then timer resolution should have
nothing to do with your HZ configuration.

> Following a couple of run of your testtimer:
>
> hal9k-dom0 ~ # ./testtimer .000001 |head -n10
>   

I think expecting a timer to work at 1MHz is unreasonable.

> 1000 iterations at  0.000001 sec
> 0.000662
> 0.000946
> 0.000956
> 0.000960
> 0.000962
> 0.000956
> 0.000964
> 0.000963
> 0.000964
> 0.000964
>
> hal9k-dom0 ~ # ./testtimer .00001 |head -n10
>   
100kHz is also very demanding.

How does it work with 2kHz? 10kHz?

    J

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