Re: 2.6.16-rt11: Hires timer makes sleep wait far too long

From: Jonathan Woithe
Date: Mon Apr 10 2006 - 03:24:32 EST


Thomas

> On Wed, 2006-04-05 at 09:51 +0930, Jonathan Woithe wrote:
> > ENABLING IO-APIC IRQs
> > ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
> > Event source pit new caps set: 05
> > Event source lapic installed with caps set: 02
> > :
> > Time: tsc clocksource has been installed.
> > hrtimers: Switched to high resolution mode CPU 0
> > :
> > Time: acpi_pm clocksource has been installed.
> > hrtimers: Switched to high resolution mode CPU 0
>
> Nothing wrong so far. I have to find a test box with pm timer to get
> some more info.

FYI, the same problem occurs in 2.6.16-rt12. I note that rt14 is out now
so I'll give that a go overnight and let you know the results.

One final observation I did make under 2.6.16-rt12: in the first 30 seconds
or there abouts after the boot, "sleep 1" did result in short sleeps - they
weren't always 1 second, but they were in the ballpark. After the machine
had been up for 30-60 seconds however, "sleep 1" would produce waits along
the lines of what I reported in the initial report - anywhere between 20
seconds to 45 seconds and more. There didn't seem to be any gradual
increase either - the "sleep 1" wait times seemed to jump from 1-2 seconds
up to 20-30 seconds very suddenly.

Regards
jonathan
-
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/