mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: rwhron@earthlink.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [lmbench] tcp bandwidth on athlon
Date: 21 Jul 2002 17:44:59 +0100	[thread overview]
Message-ID: <1027269899.17234.104.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <20020721132154.GA28089@rushmore>

On Sun, 2002-07-21 at 14:21, rwhron@earthlink.net wrote:
> In Carl Staelin and Larry McVoy's 98 Usenix paper they wrote:
> 
> "It is interesting to compare pipes with TCP because the TCP  benchmark  is
> identical to the pipe benchmark except for the transport mechanism.  Ideally,
> the TCP bandwidth would be as good as the pipe bandwidth.  It is  not  widely
> known  that  the  majority of the TCP cost is in the bcopy, the checksum, and
> the network interface driver.  The checksum and  the  driver  may  be  safely

The paper however ignored something else we do which is why you see
csum_partial_copy_generic. On a modern processor the cost of fetching
and storing memory is so high compared to the throughput of the
processor that it is actually much more effective to fold the copy and
checksum together. Generally the copy/checksum has the same speed as a
pure copy anyway


  reply	other threads:[~2002-07-21 15:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-21 13:21 rwhron
2002-07-21 16:44 ` Alan Cox [this message]
2002-07-21 19:18 Nivedita Singhvi
     [not found] <1027279106.3d3b0902a9209@imap.linux.ibm.com.suse.lists.linux.kernel>
2002-07-21 19:30 ` Andi Kleen
2002-07-22 22:39 rwhron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1027269899.17234.104.camel@irongate.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rwhron@earthlink.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®