Re: zero-copy TCP

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Sep 02 2000 - 18:30:19 EDT

  • Next message: Jes Sorensen: "Re: [Fwd: zero-copy TCP]"

    > You stated in an earlier message you copied the data when you caclulated
    > the TCPIP checksum? No you say you don't. Perhaps I misunderstood.

    We do a single copy/checksum from user space. You have to do the copy because
    the packet may not be DMAable, may not be aligned for most PCI hardware and
    numerous other things. Since that copy costs as much as the checksum its
    effectively free in the checksum computation. It also avoids considerable
    complexity on the TCP paths when you need to retransmit.

    > > I don't think you've actually sat and instrumented the TCP code
    >
    > The TCPIP stack in Wolf Mountain has my name as the author, and it was

    The Linux TCP code..

    > one of the nastiest projects I've ever done. OSPF routing is bitch
    > BTW. Try again.

    OSPF is a matter of getting the graph theory right.

    -
    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 - 18:39:40 EDT