Received: with ECARTIS (v1.0.0; list netdev); Wed, 23 Oct 2002 10:00:57 -0700 (PDT) Received: from outpost.ds9a.nl (postfix@outpost.ds9a.nl [213.244.168.210]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g9NH0tuR012336 for ; Wed, 23 Oct 2002 10:00:55 -0700 Received: by outpost.ds9a.nl (Postfix, from userid 1000) id 5E88A44D7; Wed, 23 Oct 2002 19:01:02 +0200 (CEST) Date: Wed, 23 Oct 2002 19:01:02 +0200 From: bert hubert To: Roy Sigurd Karlsbakk Cc: "David S. Miller" , netdev@oss.sgi.com, Kernel mailing list Subject: Re: [RESEND] tuning linux for high network performance? Message-ID: <20021023170102.GA5302@outpost.ds9a.nl> Mail-Followup-To: bert hubert , Roy Sigurd Karlsbakk , "David S. Miller" , netdev@oss.sgi.com, Kernel mailing list References: <200210231218.18733.roy@karlsbakk.net> <20021023130101.GA646@outpost.ds9a.nl> <1035379308.5950.3.camel@rth.ninka.net> <200210231542.48673.roy@karlsbakk.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200210231542.48673.roy@karlsbakk.net> User-Agent: Mutt/1.3.28i X-archive-position: 914 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: ahu@ds9a.nl Precedence: bulk X-list: netdev On Wed, Oct 23, 2002 at 03:42:48PM +0200, Roy Sigurd Karlsbakk wrote: > > The e1000 can very well do hardware checksumming on transmit. > > > > The missing piece of the puzzle is that his application is not > > using sendfile(), without which no transmit checksum offload > > can take place. > > As far as I've understood, sendfile() won't do much good with large files. Is > this right? I still refuse to believe that a 1.8GHz Pentium4 can only checksum 250megabits/second. MD Raid5 does better and they probably don't use a checksum as braindead as that used by TCP. If the checksumming is not the problem, the copying is, which would be a weakness of your hardware. The function profiled does both the copying and the checksumming. But 250megabits/second also seems low. Dave? Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://lartc.org Linux Advanced Routing & Traffic Control HOWTO