Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-23 Thread Andi Kleen
Thomas Gleixner <[EMAIL PROTECTED]> writes: > > > > Interrupt 0 is stuck at 114 (the number is consistent across reboots). I > > don't experience any problem, time is running fine. Still it's strange > > that the timer is doing nothing; maybe something other than the PIT is > > used for time keepi

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Pierre Ossman
Arjan van de Ven wrote: > if it's something built in the last year or two you have the hw. > > I have an ICH4-M, and from Intel's datasheets it looks like I got the short straw.. -- -- Pierre Ossman Linux kernel, MMC maintainerhttp://www.kernel.org PulseAudio, core developer

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Arjan van de Ven
On Thu, 2007-02-22 at 22:07 +0100, Pierre Ossman wrote: > Arjan van de Ven wrote: > > no; c3 saves a TON more power. > > > > you can try enabling HPET in your BIOS... > > > > > > Hah, I wish! This is a laptop, so the BIOS is as brain dead and broken > as is humanly possible. > > Can I determi

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Andreas Mohr
Hi, On Thu, Feb 22, 2007 at 10:07:19PM +0100, Pierre Ossman wrote: > Arjan van de Ven wrote: > > no; c3 saves a TON more power. > > > > you can try enabling HPET in your BIOS... > > > > > > Hah, I wish! This is a laptop, so the BIOS is as brain dead and broken > as is humanly possible. > > C

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Pierre Ossman
Arjan van de Ven wrote: > no; c3 saves a TON more power. > > you can try enabling HPET in your BIOS... > > Hah, I wish! This is a laptop, so the BIOS is as brain dead and broken as is humanly possible. Can I determine if I have the required hardware? So I can tell if I'm permanently screwed,

RE: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Pallipadi, Venkatesh
t;Subject: Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1] > >On Thu, 2007-02-22 at 16:13 +0100, Pierre Ossman wrote: >> > Sure. My dmesg is full of mmc debug crud right now, but >I'll just reboot >> > and I'll have a clean one for you. >> > >>

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Arjan van de Ven
On Thu, 2007-02-22 at 17:27 +0100, Pierre Ossman wrote: > Thomas Gleixner wrote: > > > > Here is the reason. The local APIC stops working in C3 state and we fall > > back to the PIT in that case. Not really exciting for dynticks, but the > > only way to keep the system alive. There is a patch comin

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Pierre Ossman
Thomas Gleixner wrote: > > Here is the reason. The local APIC stops working in C3 state and we fall > back to the PIT in that case. Not really exciting for dynticks, but the > only way to keep the system alive. There is a patch coming up from > Intel, which finds out how to use HPET even if it is n

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Thomas Gleixner
On Thu, 2007-02-22 at 16:13 +0100, Pierre Ossman wrote: > > Sure. My dmesg is full of mmc debug crud right now, but I'll just reboot > > and I'll have a clean one for you. > > > > Here we go. > [ 44.498253] ACPI: Lid Switch [C136] > [ 44.577672] No dock devices found. > [ 44.714156] ACPI:

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Thomas Gleixner
On Thu, 2007-02-22 at 13:36 +0100, Jan Engelhardt wrote: > > > >Yes, we switch away from PIT and use the local APIC timer. (LOC) > > What's the benefit of doing so - and why has not it been done before? > I mean, I run a regular 2.6.18.6, > /sys/devices/system/clocksource/clocksource0/current_cloc

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Pierre Ossman
Arjan van de Ven wrote: > On Thu, 2007-02-22 at 15:10 +0100, Pierre Ossman wrote: > >> >> So with a local apic, and acpi_pm as clocksource, I shouldn't be getting >> timer >> interrupts? >> > > timer interrupts as in "irq0"? > > Yes: 0:9786349XT-PIC-XTtimer > you s

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Arjan van de Ven
On Thu, 2007-02-22 at 15:10 +0100, Pierre Ossman wrote: > Arjan van de Ven wrote: > > > > some can be used for both (PIT), but on a concept level the uses are > > independent. The advantage of local apic over PIT is that local apic is > > cheap to do "one shot" future events with, while the PIT wi

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Pierre Ossman
Arjan van de Ven wrote: > > some can be used for both (PIT), but on a concept level the uses are > independent. The advantage of local apic over PIT is that local apic is > cheap to do "one shot" future events with, while the PIT will tick > periodic at a fixed frequency. With tickless idle.. that

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Arjan van de Ven
> What's the benefit of doing so - and why has not it been done before? > I mean, I run a regular 2.6.18.6, > /sys/devices/system/clocksource/clocksource0/current_clocksource (is this > related?) shows "acpi_pm", but the IRQ0 counter increases at HZ. Maybe I > am confusing things, but why the need

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-22 Thread Jan Engelhardt
On Feb 22 2007 00:17, Thomas Gleixner wrote: >On Thu, 2007-02-22 at 00:04 +0100, Luca Tettamanti wrote: >> >> Interrupt 0 is stuck at 114 (the number is consistent across reboots). I >> don't experience any problem, time is running fine. Still it's strange >> that the timer is doing nothing; mayb

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-21 Thread Luca Tettamanti
On 2/22/07, Thomas Gleixner <[EMAIL PROTECTED]> wrote: On Thu, 2007-02-22 at 00:04 +0100, Luca Tettamanti wrote: > Hi Thomas, > I'm testing NO_HZ on my machines. On the laptop I see that the timer > interrupt counter is incremented (though slower than HZ). This machine > is running UP kernel. > >

Re: NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-21 Thread Thomas Gleixner
On Thu, 2007-02-22 at 00:04 +0100, Luca Tettamanti wrote: > Hi Thomas, > I'm testing NO_HZ on my machines. On the laptop I see that the timer > interrupt counter is incremented (though slower than HZ). This machine > is running UP kernel. > > On my desktop I see this: > >CPU0 CP

NO_HZ: timer interrupt stuck [Re: Linux 2.6.21-rc1]

2007-02-21 Thread Luca Tettamanti
Linus Torvalds <[EMAIL PROTECTED]> ha scritto: > Ok, the merge window for 2.6.21 has closed, and -rc1 is out there. > > There's a lot of changes, as is usual for an -rc1 thing, but at least so > far it would seem that 2.6.20 has been a good base, and I don't think we > have anything *really* sca