linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Stian Jordet <liste@jordet.nu>
Cc: Nick Piggin <piggin@cyberone.com.au>,
	Colin Coe <colin@coesta.com>,
	linux-kernel@vger.kernel.org
Subject: Re: SMP broken on Dell PowerEdge 4100/200 under 2.6.0-testxx?
Date: Fri, 5 Dec 2003 21:40:31 -0800	[thread overview]
Message-ID: <20031206054031.GM8039@holomorphy.com> (raw)
In-Reply-To: <1070687655.1166.6.camel@chevrolet.hybel>

l?r, 06.12.2003 kl. 06.09 skrev William Lee Irwin III:
>> If you actually manage to get interrupt rates exceeding its thresholds,
>> you should see interrupts migrated, but only dynamically and on-demand,
>> not under light usage.

On Sat, Dec 06, 2003 at 06:14:15AM +0100, Stian Jordet wrote:
> I really don't know the definition of "light usage", but I'm beating the
> aic7xxx and eth0 quite hard at times, without any interrupts being
> migrated. Anyway, thanks :) This haven't been a problem for me so far,
> and I doubt it ever will :)

Okay, this should be fixed. The entire subarch organization is wrong
for this anyway. It needs several axes to vary upon for the APIC-based
subarches:

(a) xAPIC (P-IV) vs. serial APIC (before P-IV)
(b) logical vs. physical IPI's
(c) logical vs. physical IO interrupts
(d) flat logical vs. clustered hierarchical DFR
(e) NMI wakeup vs. INIT wakeup
(f) software vs. hardware interrupt load balancing
(g) locality-dependent vs. locality-independent APIC destinations

The real problem with all this is that it was arranged around minimal
impact code changes instead of adequately describing hardware, and so
it gives rise to numerous corner cases and is generally brittle. Of
course, 2.6 is too frozen to do anything with it now, and ia32 will
likely be largely legacy during the course of 2.7, so the damage will
probably be permanent.

What you've run into is essentially there being no distinction for (a)
or (f) in mach-default, what normal Pee Cees use. There are several
disturbing differences between the two cases which are for the moment
carefully avoided but at the very least raise my eyebrows. For instance,
both the physical broadcast destination and the size of the physical
APIC ID space differ between the two cases. The difference you've been
burned by is the fact that current revisions of xAPIC's have broken
hardware interrupt load balancing, and so singleton fixed destinations
are used with software interrupt balancing instead of lowest priority
destinations with many cpus in them perfectly suitable for P-III's,
which under your light usage pinned all interrupts on cpu 0.


-- wli

  reply	other threads:[~2003-12-06  5:40 UTC|newest]

Thread overview: 29+ 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 [this message]
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   ` IRQ balancing Sean Neakums
2003-12-06 14:48     ` Sean Neakums
     [not found] <fa.jiqirm0.13gv2u@ifi.uio.no>
     [not found] ` <fa.f9f2gij.1kua0f@ifi.uio.no>
2003-12-06 17:38   ` SMP broken on Dell PowerEdge 4100/200 under 2.6.0-testxx? William Park
     [not found] <ZAwx-88m-3@gated-at.bofh.it>
     [not found] ` <ZAGd-8ma-5@gated-at.bofh.it>
     [not found]   ` <ZAQ7-6X-13@gated-at.bofh.it>
     [not found]     ` <ZAZB-pS-11@gated-at.bofh.it>
     [not found]       ` <ZCoI-2oz-9@gated-at.bofh.it>
     [not found]         ` <ZCyh-2Bv-1@gated-at.bofh.it>
     [not found]           ` <ZCI5-2Pv-3@gated-at.bofh.it>
     [not found]             ` <ZCIb-2Pv-11@gated-at.bofh.it>
2003-12-08 16:42               ` Matthew Kanar
2003-12-08 17:21                 ` William Lee Irwin III
2003-12-08 17:38                 ` Zwane Mwaikambo
     [not found] <10wU2-1mR-11@gated-at.bofh.it>
     [not found] ` <10wU2-1mR-13@gated-at.bofh.it>
     [not found]   ` <10wU2-1mR-15@gated-at.bofh.it>
     [not found]     ` <10wU3-1mR-17@gated-at.bofh.it>
     [not found]       ` <10wU3-1mR-19@gated-at.bofh.it>
     [not found]         ` <10wU3-1mR-21@gated-at.bofh.it>
     [not found]           ` <10wU3-1mR-23@gated-at.bofh.it>
     [not found]             ` <10wU3-1mR-25@gated-at.bofh.it>
     [not found]               ` <10wU2-1mR-9@gated-at.bofh.it>
     [not found]                 ` <10xGk-38t-15@gated-at.bofh.it>
2003-12-08 19:24                   ` Matthew Kanar

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=20031206054031.GM8039@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=colin@coesta.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liste@jordet.nu \
    --cc=piggin@cyberone.com.au \
    /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;
as well as URLs for NNTP newsgroup(s).