Does Linux 2.6 support zero-copy on the RX side?

Does Linux 2.6 support zero-copy on the RX side?

Post by Rick Molere » Fri, 12 May 2006 04:43:38

Does the Linux TCP/IP stack support zero-copy (along with checksum offload)
on the RX side?  We've been developing an Ethernet controller and driver
that supports checksum offload and see good improvements in throughput on
the TX side (e.g., 100%), but only marginal improvement on the RX side
(e.g., 20%).  Right now we're using Linux 2.4.20.  We think the lack of
improvement on the RX side is because of the buffer copy from kernel space
to user space of the received data.  We're using netperf/netserver to get
performance measurements, so we're using the TCP_SENDFILE option for the TX
side.  Any thoughts?



1. FreeBSD zero-copy socket patch

As far as I have found, the patch written by Gallatin seems the only
available patch that exists for FreeBSD.

Any one knows of other patch that provide zero-copy socket interface?
(zero-copy for both send/recv, not just one provided by sendfile).



2. mounting smb shares

3. Zero-copy TCP

4. From LJ: Linux From Kindergarten to High School

5. [cft] zero-copy dma cd writing and ripping

6. FTP anonymous problem

7. Zero-copy IO

8. SUN Site/Net/Domain Manager

9. Possible problem with zero-copy TCP and sendfile()

10. zero-copy networking & a performance drop

11. zero-copy networking

12. csum_and_copy_from_user, tcp_sendmsg and zero-copy question

13. Zero-copy IO