From: Sean Neakums <sneakums@zork.net>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: Colin Coe <colin@coesta.com>, linux-kernel@vger.kernel.org
Subject: IRQ balancing
Date: Sat, 06 Dec 2003 14:40:19 +0000 [thread overview]
Message-ID: <6u1xri2eng.fsf_-_@zork.zork.net> (raw)
In-Reply-To: <20031206024251.GG8039@holomorphy.com> (William Lee Irwin, III's message of "Fri, 5 Dec 2003 18:42:51 -0800")
William Lee Irwin III <wli@holomorphy.com> writes:
> On Sat, Dec 06, 2003 at 10:32:45AM +0800, Colin Coe wrote:
>> This indicates to me that the processing load is being evenly distributed
>> accross the two processes. Under v2.6.0-testxx however, 'cat
>> /proc/interrupts' shows this:
>> [root@host root]# cat /proc/interrupts
>> CPU0 CPU1
>> 0: 633122 30 IO-APIC-edge timer
>> 1: 207 IO-APIC-edge i8042
>> 2: XT-PIC cascade
>> 4: 48 1 IO-APIC-edge serial
>> 5: 449 1 IO-APIC-level eth1
>> 10: 135 1 IO-APIC-level aic7xxx
>> 11: 1447 1 IO-APIC-level eth0
>> 12: 61 IO-APIC-edge i8042
>> 14: IO-APIC-level CS46XX
>> 15: 14982 1 IO-APIC-level megaraid
>
> 2.6 does balancing across packages, not logical cpus, so this will
> happen and it will be largely harmless, except for what appears to
> be some kind of bug where it's stealing the timer from logical cpu 1.
I noticed something similar way back when, and what I took away from
the ensuing discussion (which may be complete poppycock) was:
"IRQ balancing" means having individual IRQs run on the same CPU as
much as possible, which (I assume) mitigates cacheline bouncing or
something along those lines. It does not mean having each IRQ
serviced equally by each CPU. The kernel's default policy is now to
have all IRQs run on CPU0, with "noirqbalance"'s effect being to
have the IRQs be serviced by CPUs in a round-robin fashion.
noirqbalance is intended to be used when one is runing a userspace
IRQ balancing policy daemon, such as the one written by Arjan Van de
Ven (http://people.redhat.com/arjanv/irqbalance/).
--
Not bad, for a human.
next prev parent reply other threads:[~2003-12-06 14:40 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-06 2:32 SMP broken on Dell PowerEdge 4100/200 under 2.6.0-testxx? Colin Coe
2003-12-06 2:42 ` William Lee Irwin III
2003-12-06 2:48 ` William Lee Irwin III
2003-12-06 2:48 ` Nick Piggin
2003-12-06 3:07 ` William Lee Irwin III
2003-12-06 4:28 ` Stian Jordet
2003-12-06 4:37 ` William Lee Irwin III
2003-12-06 4:48 ` Stian Jordet
2003-12-06 4:54 ` William Lee Irwin III
2003-12-06 4:57 ` Stian Jordet
2003-12-06 5:09 ` William Lee Irwin III
2003-12-06 5:14 ` Stian Jordet
2003-12-06 5:40 ` William Lee Irwin III
2003-12-08 15:57 ` bill davidsen
2003-12-08 16:47 ` William Lee Irwin III
2003-12-06 7:11 ` Colin Coe
2003-12-08 15:45 ` bill davidsen
2003-12-08 17:36 ` Zwane Mwaikambo
2003-12-06 14:07 ` Adam Kropelin
2003-12-06 7:02 ` Colin Coe
2003-12-06 10:58 ` William Lee Irwin III
2003-12-06 20:08 ` Ethan Weinstein
2003-12-06 14:40 ` Sean Neakums [this message]
2003-12-06 14:48 ` IRQ balancing Sean Neakums
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=6u1xri2eng.fsf_-_@zork.zork.net \
--to=sneakums@zork.net \
--cc=colin@coesta.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wli@holomorphy.com \
/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®