From: Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
To: Shawn Starr <shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
Cc: "Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>,
Linux Kernel Mailing List
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Kernel Testers List
<kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [Bug #14859] System timer firing too much without cause
Date: Mon, 25 Jan 2010 18:20:38 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.2.00.1001251808480.5926@localhost.localdomain> (raw)
In-Reply-To: <201001251153.59084.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
On Mon, 25 Jan 2010, Shawn Starr wrote:
> On Monday 25 January 2010 05:35:50 Thomas Gleixner wrote:
> > Shawn, why can't you use dynamic ticks ? In the bugzilla I just see
> > that you worry about the IRQ0 interrupts (which are correct and
> > necessary when the system is in nohz mode) and the extra rescheduling
> > interrupts. How is the system misbehaving ?
> >
> Well, this all stems from trying to use Radeon KMS with IRQs
> on. Doing so I see system stalls and this is quite noticeable
> however, I am able to show this same stall on the quad core with the
x> same GPU. Right now, it is unclear to me if there is a underlying
> irq issue or a bug in the radeon driver code that is showing these
> stalls. Since the radeon folks - at the moment - do not think it is
> a coding problem in their driver
Does the stall go away, when you disable dynticks ?
> My impression was using dynamic ticks meant ticks were on demand and
Dynamic ticks are providing a continuous tick long as the machine is
busy. When a core becomes idle, we programm the timer to go off at the
next scheduled timer event, if the event is longer away than the next
tick. When the core goes out of idle (due to the timer or some other
event) we restart the tick.
So you see less timer interrupts (IRQ0 + Local timer interrupts)
> not continuous. On the quad core box, with dynamic ticks on, the
> broadcasts are not increasing IRQ 0 events this only happens on the
> laptop.
Right, that is expected as I explained already. Your desktop does not
use deeper power states. Check /proc/acpi/processor/CPU0/power on both
machines to see the difference. You _cannot_ compare a desktop and a
laptop machine and deduce a regression.
The broadcast mechanism is necessary because the local APIC timer
stops in deeper power states. That's a hardware problem. So if the
core goes into a deeper power state then we arm the broadcast timer
which fires on IRQ0 to wake us up. It is a single timer which is used
by all cores in a system to work around this hardware stupidity. It's
named broadcast because it broadcasts the event to the other cores
when necessary. Your desktop does not use deeper power states,
therefor it does not use the broadcast timer either.
So the timer IRQ0 increasing is neither a Linux BUG nor a regression.
Thanks,
tglx
next prev parent reply other threads:[~2010-01-25 17:20 UTC|newest]
Thread overview: 120+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-24 21:54 2.6.33-rc5: Reported regressions from 2.6.32 Rafael J. Wysocki
2010-01-24 21:54 ` [Bug #14791] Something has been broken in the network stack this week Rafael J. Wysocki
2010-01-24 22:18 ` Ben Hutchings
2010-01-24 22:30 ` Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #14859] System timer firing too much without cause Rafael J. Wysocki
2010-01-24 22:34 ` Shawn Starr
[not found] ` <201001241734.50803.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
2010-01-24 23:07 ` Rafael J. Wysocki
2010-01-25 10:35 ` Thomas Gleixner
[not found] ` <alpine.LFD.2.00.1001251103200.2906-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-01-25 16:53 ` Shawn Starr
[not found] ` <201001251153.59084.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
2010-01-25 17:20 ` Thomas Gleixner [this message]
[not found] ` <alpine.LFD.2.00.1001251808480.5926-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-01-25 17:30 ` Shawn Starr
2010-01-25 20:59 ` Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #14937] WARNING: at kernel/lockdep.c:2830 Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #14792] Misdetection of the TV output Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #14949] drm_vm.c:drm_mmap: possible circular locking dependency detected Rafael J. Wysocki
2010-01-25 8:28 ` Borislav Petkov
2010-01-24 22:04 ` [Bug #14946] All kernels after 2.6.32-git10 show only 1 CPU Rafael J. Wysocki
2010-01-25 1:41 ` Sid Boyce
[not found] ` <4B5CF6CB.90001-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org>
2010-01-25 21:04 ` Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #14924] Weird hard hangs when rendering 'some' web-sites in Firefox Rafael J. Wysocki
2010-01-25 13:55 ` Américo Wang
2010-01-25 19:26 ` David
[not found] ` <4B5DF061.1070704-Os2QIKb4eqJd3aXB8m+yKQ@public.gmane.org>
2010-01-25 21:02 ` Rafael J. Wysocki
2010-01-26 3:06 ` Américo Wang
2010-01-24 22:04 ` [Bug #15000] Thinkpad dock button no longer works Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #14999] possible circular locking dependency detected in rfkill at suspend Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #14950] tbench regression with 2.6.33-rc1 Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15017] kexec regression, radeon/kms irq related (bisected) Rafael J. Wysocki
2010-01-25 3:26 ` Alex Deucher
[not found] ` <a728f9f91001241926m4c19aedbvda295fe3c7daade-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-25 6:28 ` Dave Airlie
2010-01-24 22:04 ` [Bug #15032] Oops in uart_resume_port() on resume Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15025] Oops in ext4 driver Rafael J. Wysocki
2010-01-24 22:43 ` Steinar H. Gunderson
[not found] ` <20100124224330.GA2230-6Z/AllhyZU4@public.gmane.org>
2010-01-24 23:09 ` Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15039] leds_alix2: can't allocate I/O for GPIO Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15038] drm/ksm: fbdev blanking regression Rafael J. Wysocki
2010-01-24 22:45 ` Johan Hovold
2010-01-24 23:13 ` Rafael J. Wysocki
[not found] ` <201001250013.48523.rjw-KKrjLPT3xs0@public.gmane.org>
2010-01-25 6:28 ` Dave Airlie
2010-01-25 21:07 ` Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15036] soft lockup in dmesg after suspend/resume Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15043] Display goes off with i915.powersave=1 Rafael J. Wysocki
2010-01-27 17:57 ` Jesse Barnes
2010-01-28 5:05 ` Soeren Sonnenburg
2010-02-04 20:09 ` Soeren Sonnenburg
2010-01-24 22:04 ` [Bug #15076] System panic under load with clockevents_program_event Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs) Rafael J. Wysocki
2010-01-26 7:19 ` Jeff Garrett
2010-01-26 12:48 ` Rafael J. Wysocki
2010-01-26 17:32 ` Bjorn Helgaas
[not found] ` <201001261032.37053.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2010-01-26 18:02 ` Rafael J. Wysocki
2010-01-26 18:17 ` Jesse Barnes
2010-01-26 18:22 ` Yinghai Lu
2010-01-26 22:57 ` Yinghai Lu
[not found] ` <4B5F735B.2040308-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2010-01-27 16:45 ` Bjorn Helgaas
2010-01-27 16:53 ` Jesse Barnes
2010-01-27 20:45 ` Bjorn Helgaas
[not found] ` <201001271345.54454.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2010-01-27 20:50 ` Linus Torvalds
[not found] ` <alpine.LFD.2.00.1001271247450.3570-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-01-27 20:59 ` Jesse Barnes
2010-01-27 21:02 ` Jesse Barnes
2010-01-28 1:32 ` Yinghai Lu
2010-01-27 21:03 ` Bjorn Helgaas
[not found] ` <201001271403.41955.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2010-01-27 23:34 ` Yinghai Lu
2010-01-28 4:26 ` Bjorn Helgaas
[not found] ` <1264652762.24020.5.camel-s4l7/+/UzmD/9pzu0YdTqQ@public.gmane.org>
2010-01-28 5:53 ` Yinghai Lu
[not found] ` <4B61266F.1060600-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2010-01-28 10:45 ` Rafael J. Wysocki
2010-01-28 16:09 ` Bjorn Helgaas
[not found] ` <201001280909.46043.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2010-01-28 18:20 ` Yinghai Lu
2010-01-28 19:03 ` Jesse Barnes
2010-01-28 20:28 ` Rafael J. Wysocki
[not found] ` <201001282128.33389.rjw-KKrjLPT3xs0@public.gmane.org>
2010-01-28 20:35 ` Jesse Barnes
2010-01-29 2:44 ` Zhang Rui
[not found] ` <4B61D554.9000003-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2010-01-28 20:20 ` Bjorn Helgaas
2010-01-28 20:31 ` Bjorn Helgaas
[not found] ` <201001281331.06218.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2010-01-28 21:14 ` Yinghai Lu
2010-01-31 2:45 ` Matthew Garrett
2010-01-28 1:35 ` Jesse Barnes
2010-01-28 4:01 ` Jeff Garrett
2010-01-28 1:50 ` Linus Torvalds
[not found] ` <alpine.LFD.2.00.1001271748300.3570-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-01-28 3:24 ` Jesse Barnes
2010-01-28 4:02 ` Jeff Garrett
[not found] ` <20100128040226.GB8964-184d8XiO+QJg9hUCZPvPmw@public.gmane.org>
2010-01-28 16:24 ` Jesse Barnes
2010-01-28 18:13 ` Yinghai Lu
[not found] ` <4B61D3C6.1050104-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2010-01-28 20:12 ` Jesse Barnes
2010-01-28 18:30 ` [PATCH] x86/pci: print ioh resources only Yinghai Lu
[not found] ` <4B61D7C4.1050405-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2010-01-28 18:54 ` Linus Torvalds
2010-01-28 19:10 ` [PATCH -v2] " Yinghai Lu
[not found] ` <4B61E116.6050208-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2010-01-28 19:30 ` Olivier Galibert
[not found] ` <20100128193027.GA13741-dF3JGIbHi9Ffir3NkZym1w@public.gmane.org>
2010-01-28 21:06 ` Yinghai Lu
[not found] ` <201001261902.13911.rjw-KKrjLPT3xs0@public.gmane.org>
2010-01-26 18:21 ` [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs) Linus Torvalds
2010-01-26 18:16 ` Linus Torvalds
[not found] ` <alpine.LFD.2.00.1001260955060.3574-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-01-26 18:21 ` Yinghai Lu
[not found] ` <4B5F32A9.7090105-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2010-01-26 18:35 ` Jesse Barnes
2010-01-24 22:04 ` [Bug #15125] hung task - jbd2/dm-1-8 (during raid rebuild) Rafael J. Wysocki
2010-01-24 22:49 ` Michael Breuer
[not found] ` <4B5CCE6D.5060402-P//MSfjsEjDQT0dZR+AlfA@public.gmane.org>
2010-01-24 23:14 ` Rafael J. Wysocki
[not found] ` <201001250014.36889.rjw-KKrjLPT3xs0@public.gmane.org>
2010-01-30 19:21 ` Michael Breuer
2010-01-24 22:04 ` [Bug #15131] [OOPS] radeon kms Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15126] REGRESSION for RT2561/RT61 in 2.6.33 Rafael J. Wysocki
2010-01-24 22:32 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1001241730360.441-100000-pYrvlCTfrz9XsRXLowluHWD2FQJk+8+b@public.gmane.org>
2010-01-24 22:34 ` Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15128] Boot regression on AMD Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15129] [drm:i915_gem_execbuffer] *ERROR* i915_gem_do_execbuffer returns -512 Rafael J. Wysocki
2010-01-27 17:58 ` Jesse Barnes
2010-01-27 21:03 ` Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15132] OOPS's with large initramfs Rafael J. Wysocki
2010-01-24 22:55 ` Nigel Kukard
[not found] ` <4B5CCFC5.1090002-pYARk8SH/DY@public.gmane.org>
2010-01-24 23:15 ` Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15133] Wake on LAN doesn't work in sky2 Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15139] e1000: transmit queue 0 timed out Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15137] NULL pointer dereference in vlan_skb_recv Rafael J. Wysocki
2010-01-25 13:43 ` Américo Wang
2010-01-25 21:07 ` Rafael J. Wysocki
[not found] ` <201001252207.53023.rjw-KKrjLPT3xs0@public.gmane.org>
2010-01-25 21:30 ` David Miller
[not found] ` <20100125.133024.41664373.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2010-01-25 21:58 ` Rafael J. Wysocki
2010-01-24 22:04 ` [Bug #15138] evdev regression on macbook Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2010-01-10 22:27 2.6.33-rc3-git3: Reported regressions from 2.6.32 Rafael J. Wysocki
2010-01-10 22:32 ` [Bug #14859] System timer firing too much without cause Rafael J. Wysocki
2010-01-11 3:22 ` Shawn Starr
[not found] ` <201001102222.19700.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
2010-01-11 19:59 ` Rafael J. Wysocki
2010-01-11 3:28 ` Shawn Starr
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.1001251808480.5926@localhost.localdomain \
--to=tglx-hfztesqfncyowbw4kg4ksq@public.gmane.org \
--cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rjw-KKrjLPT3xs0@public.gmane.org \
--cc=shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.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