Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 3 Jan 2003 22:29:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 3 Jan 2003 22:29:48 -0500 Received: from dp.samba.org ([66.70.73.150]:17090 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Fri, 3 Jan 2003 22:29:47 -0500 Date: Sat, 4 Jan 2003 14:33:45 +1100 From: Anton Blanchard To: Avery Fay Cc: linux-kernel@vger.kernel.org Subject: Re: Gigabit/SMP performance problem Message-ID: <20030104033345.GC19888@krispykreme> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1403 Lines: 31 > I'm working with a dual xeon platform with 4 dual e1000 cards on different > pci-x buses. I'm having trouble getting better performance with the second > cpu enabled (ht disabled). With a UP kernel (redhat's 2.4.18), I can route > about 2.9 gigabits/s at around 90% cpu utilization. With a SMP kernel > (redhat's 2.4.18), I can route about 2.8 gigabits/s with both cpus at > around 90% utilization. This suggests to me that the network code is > serialized. I would expect one of two things from my understanding of the > 2.4.x networking improvements (softirqs allowing execution on more than > one cpu): The Fujitsu guys have a nice summary of this: http://www.labs.fujitsu.com/en/techinfo/linux/lse-0211/index.html Skip forward to page 8. Dont blame the networking code just yet :) Notice how worse UP vs SMP performance is on the P4 compared to the P3? This brings up another point, is a single CPU with hyperthreading worth it? As Rusty will tell you, you need to compare it with a UP kernel since it avoids all the locking overhead. I suspect for a lot of cases HT will be a loss (imagine your case, comparing UP and one CPU HT) Anton - 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/