From: Thomas Gleixner <tglx@linutronix.de>
To: Jiri Slaby <jslaby@suse.cz>
Cc: LKML <linux-kernel@vger.kernel.org>,
clemens@ladisch.de, venki@google.com,
the arch/x86 maintainers <x86@kernel.org>
Subject: Re: HPET causes tasks to freeze (still in 2.6.36-rc6)
Date: Mon, 4 Oct 2010 18:31:23 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.2.00.1010041747550.14550@localhost6.localdomain6> (raw)
In-Reply-To: <4CA9F471.2080704@suse.cz>
On Mon, 4 Oct 2010, Jiri Slaby wrote:
> Hi,
>
> HPET as a clocksource has still issues in the latest kernels (confirmed
> in 2.6.36-rc6) at least on x86_64. Unless clocksource=jiffies,
> clocksource=tsc or nolapic_timer is used, the system is unusable. Tasks
> are not woken unless mouse is moved, key is pressed (or other hard irq
> triggered). 2.6.32 seems to be the last working.
The problem is not clocksource related, it's NOHZ related.
clocksource=jiffies, clocksource=tsc are disabling NOHZ simply because
we can not do NOHZ neither with jiffies nor with a TSC which stops in
deeper C-states.
nolapic_timer installs a dummy lapic timer so the lapic is not used,
but HPET is used instead and NOHZ is disabled as well.
So the real problem is that the hpet broadcast interrupts which are
used to work around the lapic timer stops in C3 problem are not coming
through for whatever reason.
So the question is what changed in the ACPI/idle NOHZ code which might
expose this problem.
Can we get dmesg, output of proc/timer_list and output of
/proc/acpi/processor/CPU0/power for a .32 and a non working kernel
please ?
> "My clock is seriously lagging behind. After having used hpet for 10.5
> hours now, the clock is 5.5 hours too late!"
That's probably a side effect.
> dmesg is attached. Any ideas what's still wrong with HPET?
Nothing as far as I can tell :)
Thanks,
tglx
next prev parent reply other threads:[~2010-10-04 16:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-04 15:36 Jiri Slaby
2010-10-04 15:55 ` Paul Rolland
2010-10-04 16:31 ` Thomas Gleixner [this message]
2010-10-11 22:02 ` Jiri Slaby
2010-10-20 9:38 ` Jiri Slaby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.00.1010041747550.14550@localhost6.localdomain6 \
--to=tglx@linutronix.de \
--cc=clemens@ladisch.de \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=venki@google.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®