The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Zerocopy implementation issues
@ 2001-04-28 23:52 Russell King
  2001-04-29  4:50 ` David S. Miller
  0 siblings, 1 reply; 8+ messages in thread
From: Russell King @ 2001-04-28 23:52 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-04-29 11:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-28 23:52 Zerocopy implementation issues Russell King
2001-04-29  4:50 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox