From: Bodo Eggert <7eggert@gmx.de> Subject: Re: [PATCH] Re: Bad network performance over 2Gbps Date: Mon, 21 Apr 2008 21:52:00 +0200 (CEST) Message-ID: References: <480CC3D8.3040700@hp.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii Cc: 7eggert@gmx.de, Kok@vger.kernel.org, Auke , 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: Rick Jones Return-path: Received: from moutng.kundenserver.de ([212.227.126.174]:51727 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754505AbYDUTxP (ORCPT ); Mon, 21 Apr 2008 15:53:15 -0400 In-Reply-To: <480CC3D8.3040700@hp.com> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 21 Apr 2008, Rick Jones wrote: > Bodo Eggert wrote: > > Kok, Auke wrote: > > > [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. > > > > > > If this is the problem, maybe it would help to only balance the IRQs each > > e.g. ten seconds? Unfortunately I have no SMP system to try it out. > > Be it kernel or user space, for consistent benchmark results it needs to be > able to be turned-off without turning the code. That leaves me in agreement > with Stephen that if it must exist, the user space one would be preferable. > It can be easily terminated with extreme prejudice. I agree that having a full-featured userspace balancer daemon with lots of intelligence will be theoretically better, but if you can have a simple daemon doing OK on many machines for less than the userspace daemon's kernel stack, why not? -- Funny quotes: 31. Why do "overlook" and "oversee" mean opposite things?