Re: irq balancing question

From: Robert Hancock
Date: Fri Feb 23 2007 - 09:39:35 EST


Imre Gergely wrote:
hi

i have a SMP with 2x duo-core Opteron processors, and i have an ethernet card
(eth0). i want to balance the interrupts generated by the card to all 4
processors. i can do this by writing to smp_affinity, but on another machine it
get's done by "default", without doing anything.

is this irq balancing a feature in the chipset, or driver, or kernel ? i got
the idea of the smp_affinity stuff, and i've set it to "f", but nothing
happens, i mean i see only one CPU getting the interrupts.

i'm using kernel 2.6.18, but tried with 2.6.19, too.

You need to run the irqbalance daemon to do this, unless the interrupts are distributed in hardware (which only some machines do).

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/