lkml.org 
[lkml]   [2003]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][2.6] i386 /proc/irq/.../smp_affinity
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site