Received: with ECARTIS (v1.0.0; list netdev); Fri, 13 Jun 2003 22:41:18 -0700 (PDT) Received: from sj-core-3.cisco.com (sj-core-3.cisco.com [171.68.223.137]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h5E5fE2x006218 for ; Fri, 13 Jun 2003 22:41:14 -0700 Received: from cisco.com (ringer.cisco.com [64.104.199.11]) by sj-core-3.cisco.com (8.12.6/8.12.6) with ESMTP id h5E5f1I2007006; Fri, 13 Jun 2003 22:41:01 -0700 (PDT) Received: from ltd-t22.cisco.com (syd-vpn-client-254-12.cisco.com [10.66.254.12]) by cisco.com (8.8.8/2.6/Cisco List Logging/8.8.8) with ESMTP id PAA10267; Sat, 14 Jun 2003 15:42:02 +1000 (EST) Message-Id: <5.1.0.14.2.20030614114755.036abbb0@mira-sjcm-3.cisco.com> X-Sender: ltd@mira-sjcm-3.cisco.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 14 Jun 2003 11:52:53 +1000 To: Anton Blanchard From: Lincoln Dale Subject: Re: e1000 performance hack for ppc64 (Power4) Cc: "David S. Miller" , haveblue@us.ibm.com, hdierks@us.ibm.com, scott.feldman@intel.com, dwg@au1.ibm.com, linux-kernel@vger.kernel.org, milliner@us.ibm.com, ricardoz@us.ibm.com, twichell@us.ibm.com, netdev@oss.sgi.com In-Reply-To: <20030613231836.GD32097@krispykreme> References: <20030613.154634.74748085.davem@redhat.com> <1055521263.3531.2055.camel@nighthawk> <20030613223841.GB32097@krispykreme> <20030613.154634.74748085.davem@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-archive-position: 3231 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: ltd@cisco.com Precedence: bulk X-list: netdev At 09:18 AM 14/06/2003 +1000, Anton Blanchard wrote: > > Not really... one retransmit and the TCP header size grows > > due to the SACK options. > >OK scratch that idea. why not have a performance option that is a tradeoff between optimum payload size versus efficiency. unless i misunderstand the problem, you can certainly pad the TCP options with NOPs ... > > I find it truly bletcherous what you're trying to do here. > >I think so too, but its hard to ignore ~100Mbit/sec in performance. another option is for the write() path is for instantant-send TCP sockets to delay the copy_from_user() until the IP+TCP header size is known. i wouldn't expect the net folks to like that, however .. cheers, lincoln.