Re: zero-copy TCP

From: Jes Sorensen (jes@linuxcare.com)
Date: Sat Sep 02 2000 - 17:20:48 EDT

  • Next message: Jeff V. Merkey: "Re: zero-copy TCP"

    >>>>> "Ingo" == Ingo Molnar <mingo@elte.hu> 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.

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



    This archive was generated by hypermail 2b29 : Sat Sep 02 2000 - 17:24:25 EDT