All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: linux-kernel@vger.kernel.org
Subject: Zerocopy implementation issues
Date: Sun, 29 Apr 2001 00:52:06 +0100	[thread overview]
Message-ID: <20010429005206.J21792@flint.arm.linux.org.uk> (raw)

Hi,

Can someone please explain to me the rationale behind the zerocopy
implementation that has appeared in 2.4.4 please?

The reason I ask is that even on x86, it seems to me to be extremely
silly to have the expense of doing unaligned checksumming for the gain
of zerocopy.

Just think - if you did checksumming on aligned word boundaries you
could be far faster!

(Yes, you guessed it, its broken on ARM, and is going to make the
networking layer pig slow if we keep the current implementation as
it stands due to the phenominal amount of exceptions it _will_
generate - 1 exception per word in a packet).

I'm still investigating the source of the networking corruptions I'm
seeing, but its looking like the above is the reason (data is being
corrupted on TCP send).

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


             reply	other threads:[~2001-04-28 23:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-28 23:52 Russell King [this message]
2001-04-29  4:50 ` Zerocopy implementation issues David S. Miller
     [not found]   ` <20010429072342.B30041@flint.arm.linux.org.uk>
     [not found]     ` <15083.52835.992666.897323@pizda.ninka.net>
2001-04-29  8:39       ` Russell King
2001-04-29  9:17       ` Russell King
2001-04-29 10:31         ` Russell King
2001-04-29 11:06           ` David S. Miller
2001-04-29 11:18             ` Russell King
2001-04-29 11:32               ` David S. Miller

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=20010429005206.J21792@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.