Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161090AbWHRTYA (ORCPT ); Fri, 18 Aug 2006 15:24:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932487AbWHRTYA (ORCPT ); Fri, 18 Aug 2006 15:24:00 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:52120 "EHLO e32.co.us.ibm.com") by vger.kernel.org with ESMTP id S932483AbWHRTX6 (ORCPT ); Fri, 18 Aug 2006 15:23:58 -0400 Date: Fri, 18 Aug 2006 14:23:56 -0500 To: Benjamin Herrenschmidt Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Jens Osterkamp , James K Lewis , Arnd Bergmann Subject: Re: [PATCH 2/4]: powerpc/cell spidernet low watermark patch. Message-ID: <20060818192356.GD26889@austin.ibm.com> References: <20060811170337.GH10638@austin.ibm.com> <20060811170813.GJ10638@austin.ibm.com> <1155771820.11312.116.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1155771820.11312.116.camel@localhost.localdomain> User-Agent: Mutt/1.5.11 From: linas@austin.ibm.com (Linas Vepstas) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 23 On Thu, Aug 17, 2006 at 01:43:40AM +0200, Benjamin Herrenschmidt wrote: > > Sounds good (without actually looking at the code though :), that was a > long required improvement to that driver. Also, we should probably look > into using NAPI polling for tx completion queue as well, no ? Just for a lark, I tried using NAPI polling, while disabling all TX interrupts. Performance was a disaster: 8Mbits/sec, fom which I conclude that the tcp ack packets do not flow back fast enough to allw reliance on NAPI polling for transmit. I was able to get as high as 960 Mbits/sec in unusal circumstances, at 100% cpu usage. Oprofile indicates that the next major improvement would be to add scatter/gather, which I'll take a shot at next week, if I don't get interrupted. However, I'm getting interrupted a lot these days. --linas - 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/