Re: zero-copy TCP

From: Ingo Molnar (mingo@elte.hu)
Date: Tue Sep 05 2000 - 14:55:17 EST


On Wed, 6 Sep 2000, Chris Wedgwood wrote:

> [...] The point is that a write() is only used if some sort of
> dynamic data is generated on the fly.
>
> There are exsiting applications out there that use mmap+write
> (caching the maps), it would be nice for the authors of these not to
> have to _require_ non-portable sendfile semantics for the best
> performance.

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.]

        Ingo

-
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 : Thu Sep 07 2000 - 21:00:23 EST