Re: Want a 1ms tick from Linux without modifying Linux Kernel



On Tue, 07 Dec 2010 07:52:16 GMT, unruh <unruh@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

Have you looked at getitimer? Note that to get 1usec resolution you
better run a 1000Hz kernel.

Or a recent tickless one with high-resolution timer support.

To get really accurate 1 ms ticks, without having to write a kernel
module, look here: <http://www.xenomai.org/>


--
-| Bob Hauck (Brother Nail Gun of The Short Path)
-| http://www.haucks.org/
.



Relevant Pages

  • Re: Kernel Timeslice
    ... I would like the kernel ... Right now I think it is set for 100 ticks ... I would expect them to be over 1000 under load, indicating that something else is limiting response. ... area, I found major changes in that area, and traded a small bit of total performance for far more response. ...
    (Fedora)
  • Re: [PATCH 0/2] itimers: periodic timers fixes
    ... So 10 ticks would take only about ... the kernel decides it must never return earlier than ... a systematic multiplicative timing error of -10 %. ... changing all the sampling from cputime to ktime_t is ...
    (Linux-Kernel)
  • Re: [PATCH 0/2] itimers: periodic timers fixes
    ... So 10 ticks would take only about ... the kernel decides it must never return earlier than ... a systematic multiplicative timing error of -10 %. ... changing all the sampling from cputime to ktime_t is ...
    (Linux-Kernel)
  • Re: 24 lost ticks with 2.6.20.10 kernel
    ... seems to go away after I compile out that driver. ... lost ticks are gone. ... The default kernel from debian etch, 2.6.18 based with modular e1000, ...
    (Linux-Kernel)
  • Re: AMD X2 unsynced TSC fix?
    ... /proc/interrupts on kernel 2.6.18 ... dmesg w/o notsc kernel 2.6.19-rc4 ... decreases the number of ticks lost can't be concluded as a TSC sync issue. ...
    (Linux-Kernel)