Re: zero-copy TCP

From: Chris Wedgwood (
Date: Tue Sep 05 2000 - 15:08:42 EST

On Tue, Sep 05, 2000 at 09:55:17PM +0200, Ingo Molnar wrote:
    this is not just an interface question, mmap()+write() is
    conceptually inferior to a sendfile(). [if the goal is to send
    the same data multiple times.]

Yes, some web servers do exactly this; they leave commonly requested
static content mapped and write from these mappings.

Are you saying if the total size of such mappings is less than the
working set of ram in use it will still be slower than sendfile?

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:23 EST