On Fri, Oct 2, 2009 at 12:01 AM, Jeremy Fitzhardinge <
jeremy@xxxxxxxx> wrote:
> 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.
> 100kHz is also very demanding.
> How does it work with 2kHz? 10kHz?
hal9k-dom0 ~ # ./testtimer .0001 |head -n10
1000 iterations at 0.000100
sec
0.000051
0.000885
0.000890
0.000892
0.000891
0.000892
0.000893
0.000893
0.000879
0.000893
hal9k-dom0 ~ # ./testtimer .002 |head -n10
1000 iterations at 0.002000 sec
0.000744
0.000978
0.000990
0.000990
0.000990
0.000991
0.000992
0.000991
0.000992
0.000990
m-