lkml.org 
[lkml]   [2000]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: zero-copy TCP

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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.138 / U:0.580 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site