Re: High-precision timers - independent of HZ right?



4805455@xxxxxxxxx <4805455@xxxxxxxxx> wrote:
Hello. I have compiled the 2.6.19 kernel with Ingo Molnar et al's
2.6.19-rt15 patch. I also enabled the high-precision timers in the
config before building the kernel. I boot this kernel and I have a
program that asks for a timer tick at various rates.

Despite the high-resolution timer, I cannot get a 1 millisecond timer
with any accuracy. This may be scheduling latency, but I have the rt
patch installed. I am running an unloaded 1.4 MHz pentium M and
CONFIG_HZ is 250 (which should be irrelevnat right?). Has
anyone gone through all this yet? There doesn't seem to be a lot of
documentation on it, just the patches.

I can't tell what's independent and what's dependent. Try changing
CONFIG_HZ to 1000 and see if it makes a difference. Please do let us
know what you find.

Thanks!

--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Show Windows & Gates to the exit door.
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
.



Relevant Pages