From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH] Re: Bad network performance over 2Gbps Date: Mon, 21 Apr 2008 15:19:38 +0200 Message-ID: <20080421131937.GA4685@ucw.cz> References: <1208282804.23631.27.camel@localhost> <175f5a0f0804151315x1e192fc7p7dac1e84fd154211@mail.gmail.com> <48051173.5030802@intel.com> <48051734.1000107@redhat.com> <1208426550.6049.10.camel@localhost> <48078AF6.2020003@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Linux Kernel Mailing List , Anton Titov , Chris Snook , "H. Willstrand" , netdev@vger.kernel.org, Jesse Brandeburg , Linus Torvalds , Andrew Morton To: "Kok, Auke" Return-path: Received: from gprs189-60.eurotel.cz ([160.218.189.60]:2785 "EHLO spitz.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751245AbYDUNz6 (ORCPT ); Mon, 21 Apr 2008 09:55:58 -0400 Content-Disposition: inline In-Reply-To: <48078AF6.2020003@intel.com> Sender: netdev-owner@vger.kernel.org List-ID: Hi! > [X86] IRQBALANCE: Mark as BROKEN and disable by default > > The IRQBALANCE option causes interrupts to bounce all around on SMP systems > quickly burying the CPU in migration cost and cache misses. Mainly affected are > network interrupts and this results in one CPU pegged in softirqd completely. > > Disable this option and provide documentation to a better solution (userspace > irqbalance daemon does overall the best job to begin with and only manual setting > of smp_affinity will beat it). > > Signed-off-by: Auke Kok > > --- > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 6c70fed..956aa22 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -1026,13 +1026,17 @@ config EFI > platforms. > > config IRQBALANCE > - def_bool y > + def_bool n ACK. > prompt "Enable kernel irq balancing" > - depends on X86_32 && SMP && X86_IO_APIC > + depends on X86_32 && SMP && X86_IO_APIC && BROKEN This is wrong. irqbalance works, there's nothing wrong with it; but it has nasty sideffects. > help > The default yes will allow the kernel to do irq load balancing. > Saying no will keep the kernel from doing irq load balancing. > > + This option is known to cause performance issues on SMP > + systems. The preferred method is to use the userspace > + 'irqbalance' daemon instead. See http://irqbalance.org/. > + ACK. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html