Re: High-precision timers - independent of HZ right?
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 21:52:53 +0100 (CET)
4805455@xxxxxxxxx writes:
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.
What are you using. Note that /dev/rtc states in the docs that it will NOT
deliver more than 600Hz to any user who is not root. Note also that you
have to be careful, since 1KHz interrupt rate does not leave you that much
time for your processing. Ie your program may be running away and spending
more time than available to carry out the computations.
What in the world do you want that you want to interrupt your system at
1KHz. rate?
Any information is appeciated!
Sincerely,
Jim Beck
.
- Prev by Date: creating a log file
- Next by Date: Re: Set "ulimit -c"
- Previous by thread: Re: High-precision timers - independent of HZ right?
- Next by thread: how to creatre a multiboot dvd with 3-4 minidistro ?
- Index(es):
Relevant Pages
|