linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maciej Babinski <maciej@killer-robot.net>
To: Zwane Mwaikambo <zwane@linuxpower.ca>
Cc: Maciej <maciej@apathy.killer-robot.net>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	William Lee Irwin III <wli@holomorphy.com>
Subject: Re: [PATCH][2.6] i386 /proc/irq/.../smp_affinity
Date: Thu, 11 Sep 2003 12:43:31 -0500	[thread overview]
Message-ID: <20030911174331.GA1678@apathy.black-flower> (raw)
In-Reply-To: <Pine.LNX.4.53.0309101535050.9323@montezuma.fsmlabs.com>

On Wed, Sep 10, 2003 at 09:55:03PM -0400, Zwane Mwaikambo wrote:
> On Wed, 10 Sep 2003, Maciej wrote:
> 
> > Since I upgraded from 2.6.0-test3, to 2.6.0-test5, I can't seem to
> > get the SMP irq affinity to change. I have a dual-proc PII-333 with
> > a 440LX chipset. On boot, the smp_affinity mask for each interrupt
> > is set to 00030000, and setting it to ffffffff doesn't change
> > anything.
> 
> That number looks highly suspect; see patch below
> 

This changes the mask to 00000003. Much more reasonable.

> > The interrupts on IRQ5/CPU1 arrive in bursts. All interrupts for IRQ5
> > will happen on CPU0 for an extended period, but after I leave the
> > thing alone for a few hours, I'll find that the count for CPU1 will
> > have increased by a few tens of thousands. The counts for CPU1 on irq
> > 0 and irq 9 are set this way as soon as I have a chance to log in,
> > and don't change afterwards.
> 
> Do you have the irqbalanced daemon running? You could also try booting 
> with the 'noirqbalance' kernel parameter.
> 

I didn't have irqbalanced running. After some investigation, setting
the mask to 00000002 gets interrupts to hit cpu 1. Setting it to
00000001 or 00000003 gets all interrupts to hit cpu 0. Setting
noirqbalance doesn't do anything to change this. 

                                 Maciej Babinski

  parent reply	other threads:[~2003-09-11 17:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10 19:14 No IRQ balancing in 2.6.0-test5 Maciej
2003-09-11  1:55 ` [PATCH][2.6] i386 /proc/irq/.../smp_affinity Zwane Mwaikambo
2003-09-11  2:02   ` William Lee Irwin III
2003-09-11  2:07     ` Zwane Mwaikambo
2003-09-11  2:21       ` William Lee Irwin III
2003-09-11  7:06   ` William Lee Irwin III
2003-09-11 17:43   ` Maciej Babinski [this message]
2003-09-11 21:43     ` Zwane Mwaikambo

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=20030911174331.GA1678@apathy.black-flower \
    --to=maciej@killer-robot.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maciej@apathy.killer-robot.net \
    --cc=wli@holomorphy.com \
    --cc=zwane@linuxpower.ca \
    /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).