* Clock resolution / RT preemption
@ 2005-08-01 7:51 greg
2005-08-01 23:28 ` George Anzinger
0 siblings, 1 reply; 2+ messages in thread
From: greg @ 2005-08-01 7:51 UTC (permalink / raw)
To: linux-kernel
Hi folks,
I'm looking for a timer resolution lower than 1 ms (and monotonic clock
rate) destined to be used with some network code running on x86
platforms. Would you please provide me with informations about how to
get/implement this.
AFAIK, there's a "high resultion timer" patch hanging around, but
there's not much informations with regard to portability (specific
hardware requirements ?), scalability, integration with RT patches.
I understand the POSIX 1003.1b Clocks and Timers system calls are not
fully available within the linux kernel (and libc ?), am I right on that ?
One more question : I believe Ingo's preemption patch run
timers/interrupt handlers within kernel threads, how should I assign
specific priority to address my goals without compromising system
stability ?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Clock resolution / RT preemption
2005-08-01 7:51 Clock resolution / RT preemption greg
@ 2005-08-01 23:28 ` George Anzinger
0 siblings, 0 replies; 2+ messages in thread
From: George Anzinger @ 2005-08-01 23:28 UTC (permalink / raw)
To: greg; +Cc: linux-kernel
greg wrote:
> Hi folks,
>
> I'm looking for a timer resolution lower than 1 ms (and monotonic clock
> rate) destined to be used with some network code running on x86
> platforms. Would you please provide me with informations about how to
> get/implement this.
>
> AFAIK, there's a "high resultion timer" patch hanging around, but
> there's not much informations with regard to portability (specific
> hardware requirements ?), scalability, integration with RT patches.
> I understand the POSIX 1003.1b Clocks and Timers system calls are not
> fully available within the linux kernel (and libc ?), am I right on that ?
On the HRT web site (see signature) there is a CVS repository. In there
is a special version for the RT kernel. As to porting it to other
archs, have a look at the include/linux/hrtimer.h file. It has (or
should have) all you need to know. Please pass back any port you do.
>
> One more question : I believe Ingo's preemption patch run
> timers/interrupt handlers within kernel threads, how should I assign
> specific priority to address my goals without compromising system
> stability ?
Carefully :)
--
George Anzinger george@mvista.com
HRT (High-res-timers): http://sourceforge.net/projects/high-res-timers/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-01 23:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01 7:51 Clock resolution / RT preemption greg
2005-08-01 23:28 ` George Anzinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox