[lkml]   [2000]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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