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

From: Ingo Molnar
Date: Tue Feb 06 2007 - 07:38:53 EST



* John <shill@xxxxxxx> wrote:

> > 2.6.18-rt7 is pretty old, do you see the problem in 2.6.20-rc6-rt5
> > too?
>
> Ingo, Thomas,
>
> I cannot reproduce in 2.6.20-rc6-rt6, but it is not strictly an
> apples-to-apples comparison because I get a tsc clocksource in
> 2.6.20-rc6-rt6, and an acpi_pm clocksource in 2.6.18.6-rt7.

that suggests that the TSC was not deemed reliable by the newer kernel -
which almost always means it's not realiable. I think the problems you
were seeing are consistent with TSC being non-monotonic - so the fix is
to not use the TSC - and the newer kernel does this automatically.

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/