Re: zero-copy TCP

From: Jes Sorensen (
Date: Sat Sep 02 2000 - 16:20:48 EST

>>>>> "Ingo" == Ingo Molnar <> writes:

Ingo> On Sat, 2 Sep 2000, Dan Maas wrote:

>> There are various other tricks that can be done to speed up network
>> servers, like passing files directly from the buffer cache to the
>> network card. This one is currently frowned upon by the Linux
>> community, [...]

Ingo> FYI, the TUX patch (released yesterday) includes a lightweight
Ingo> zero-copy TCP implementation for the 2.4 Linux kernel. The
Ingo> interface is not yet exported to user-space (simply because TUX
Ingo> uses it from kernel-space so the user-space bits were not
Ingo> needed), but the network driver framework and TCP-stack bits are
Ingo> there, so the hard part is done. The two most widely used
Ingo> gigabit drivers are 'converted' to support zero-copy, the
Ingo> SysKonnect and the Acenic driver (the modifications are well
Ingo> tested). I plan to add the user-space bits in the near future.

Could you comment a bit on the design you used or do I have to go read
the code? Some of us had a good chat at OLS about how to do zero copy
TCP xmits by kiobufifying the skb's.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:14 EST