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 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?


-cw
-
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.145 / U:5.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site