Re: CONFIG_IRQBALANCE for 64-bit x86 ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arjan van de Ven
Date: Monday, November 19, 2007 - 10:37 pm

On Tue, 20 Nov 2007 15:17:15 +1100
Nick Piggin <nickpiggin@yahoo.com.au> wrote:


because the in-kernel one is actually quite bad.



please run the userspace irq balancer, see http://www.irqbalance.org
afaik most distros ship that by default anyway.



that depends on your chipset; some chipsets do worse than that.


actually.... no. IRQ balancing is not a "fast" decision; every time you
move an interrupt around, you end up causing a really a TON of cache
line bounces, and generally really bad performance (esp if you do it
for networking ones, since you destroy the packet reassembly stuff in
the tcp/ip stack).

Instead, what ends up working is if you do high level categories of
interrupt classes and balance within those (so that no 2 networking
irqs are on the same core/package unless you have more nics than cores)
etc. Balancing on a 10 second scale seems to work quite well; no need
to pull that complexity into the kernel.... 

-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
CONFIG_IRQBALANCE for 64-bit x86 ?, Mark Lord, (Mon Nov 19, 9:12 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Ismail , (Mon Nov 19, 9:15 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Nick Piggin, (Mon Nov 19, 9:17 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Willy Tarreau, (Mon Nov 19, 9:29 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Adrian Bunk, (Mon Nov 19, 9:37 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Nick Piggin, (Mon Nov 19, 10:24 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, H. Peter Anvin, (Mon Nov 19, 10:28 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Arjan van de Ven, (Mon Nov 19, 10:37 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Arjan van de Ven, (Tue Nov 20, 7:47 am)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Nick Piggin, (Tue Nov 20, 8:43 am)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Mark Lord, (Tue Nov 20, 8:47 am)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Mark Lord, (Tue Nov 20, 8:52 am)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Arjan van de Ven, (Tue Nov 20, 9:02 am)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Mark Lord, (Tue Nov 20, 9:10 am)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Mark Lord, (Tue Nov 20, 11:42 am)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Andi Kleen, (Tue Nov 20, 12:17 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Mark Lord, (Tue Nov 20, 1:02 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Arjan van de Ven, (Tue Nov 20, 2:58 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Ingo Molnar, (Tue Nov 20, 3:01 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Mark Lord, (Tue Nov 20, 4:17 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Mark Lord, (Tue Nov 20, 4:22 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Ingo Molnar, (Tue Nov 20, 4:27 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, H. Peter Anvin, (Tue Nov 20, 4:33 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Ingo Molnar, (Tue Nov 20, 4:47 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, H. Peter Anvin, (Tue Nov 20, 4:50 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Ingo Molnar, (Tue Nov 20, 5:07 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, H. Peter Anvin, (Tue Nov 20, 5:20 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Ingo Molnar, (Tue Nov 20, 5:36 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, H. Peter Anvin, (Tue Nov 20, 5:47 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Jeff Garzik, (Tue Nov 20, 7:48 pm)
Re: CONFIG_IRQBALANCE for 64-bit x86 ?, Nick Piggin, (Thu Nov 22, 12:54 am)