public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@justresearch.com>
To: linux-kernel@vger.rutgers.edu
Subject: Re: zero-copy TCP fileserving
Date: 24 Sep 1999 17:04:37 -0400	[thread overview]
Message-ID: <vxkln9wqavu.fsf@beaver.jprc.com> (raw)
In-Reply-To: "David S. Miller"'s message of "Fri, 24 Sep 1999 10:02:56 -0700"

"David S. Miller" <davem@redhat.com> writes:
> Because the csum_partial_copy_from_user done in the TCP transmit path
> gets the checksum at zero cost.  Just eliminating the checksum is
> going to buy little if anything (in fact on some cpus it's going to
> cost more to "avoid" the csum part of the copy), the real gain is
> avoiding the copy as well.

> You'd need to, in tcp sendmsg:
> 1) Lock down the data buffer
> 2) Add support to the skb's for iovecs
> 3) Put the TCP/IP/HW headers in the first iovec
> 4) Hook up the user data in subsequent iovecs

In the early '90s, this concept was very new, and we (at CMU) did a
lot of work on it.  Our final paper (from SIGCOMM'95) is under
http://www.acm.org/sigcomm/sigcomm95/sigcpapers.html, or I have a copy
at http://www.cs.cmu.edu/~karl/general/95sigcomm.ps.

At the time, 100Mbps ether didn't exist, and the 80386 was
simultaneously new and boring (due to being slow).  We worked with
DecStation 5000s and later early Alphas with a custom-built (by NSC)
HIPPI interface, off the DS5K & Alpha turbochannel.  Manufacturing a
new mbuf type which contained iovecs was exactly what we did.

--karl

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

           reply	other threads:[~1999-09-24 21:06 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <199909241702.KAA06516@pizda.ninka.net>]

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=vxkln9wqavu.fsf@beaver.jprc.com \
    --to=karl@justresearch.com \
    --cc=linux-kernel@vger.rutgers.edu \
    /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