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

From: Jonathan Woithe
Date: Tue Apr 04 2006 - 20:18:06 EST


Thomas

> On Tue, 2006-04-04 at 13:10 +0930, Jonathan Woithe wrote:
> > The actual amount of time waited by a "sleep 1" call from bash was tested
> > at least twice for each timer source:
> >
> > pit: 12 seconds, 29 seconds, 28 seconds
> > tsc: 45 seconds, 45 seconds
> > acpi_pm: 45 seconds, 29 seconds
> > jiffies: 45 seconds, 32 seconds
>
> Hmm, can you please send me your .config and the bootlog of the
> machine ?

Because of the size of the files I've posted this privately. The following
are extracts from the files in case others are interested.

Selected boot messages with hr-timers enabled:
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:13 APIC version 20
:
Detected 1995.072 MHz processor.
Real-Time Preemption Support (C) 2004-2006 Ingo Molnar
:
CPU: Intel(R) Pentium(R) M processor 2.00GHz stepping 08
:
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

Config options related to timers:
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_HIGH_RES_RESOLUTION=10000
:
CONFIG_X86_PM_TIMER=y

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/