Re: One-shot high-resolution POSIX timer periodically late

From: Ingo Molnar
Date: Wed Jan 24 2007 - 15:11:29 EST



* john stultz <johnstul@xxxxxxxxxx> wrote:

> On Wed, 2007-01-24 at 10:41 +0100, John wrote:
> > I'm using the POSIX timers API. My platform is x86 running Linux
> > 2.6.18.6 patched with the high-resolution timer subsystem.
> >
> > http://www.tglx.de/hrtimers.html

> > My process is the only SCHED_FIFO process on the system. There are
> > no user-space processes with a higher priority. AFAICT, only a
> > kernel thread could keep the CPU away from my app.
> >
> > Is there a periodic kernel thread that runs every 2 seconds, cannot
> > be preempted, and runs for over 50 µs??
>
> This sounds like a BIOS SMI issue. Can you reproduce this behavior on
> different hardware?

note that only the -hrt patchset is used - not the full -rt patchset -
so 50 usecs delays (and more) are quite possible and common.

My question would be: does the same problem occur with the full -rt
patchset and PREEMPT_RT? (see http://rt.wiki.kernel.org for details)

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/