[lkml]   [2003]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] TCP Zero Copy for mmapped files
   From: Thomas Ogrisegg <>
Date: Fri, 3 Jan 2003 01:45:43 +0100

> This isn't a priority for us. People who want the best possible
> performance can code their apps up to take advantage of sendfile()
> on systems that have it.

So you want to chain people to your "propritaery solution"?

I don't hide my APIs.

> (and really, show me how many systems
> lack a sendfile mechanism these days).

What kind of systems are you talking about? Operating systems?
Nearly all.

HPUX has it, Solaris has it, Microsoft has something very similar,
FreeBSD has it as does I believe NetBSD. Show me the exceptions.

It might be a bit difficult to convert all applications to
sendfile. Especially those for which you don't have the
source code.

If the performance really must be top notch, someone will invest
the time for a given application. Otherwise, if it's not that
important enough to port why should it be important enough to put
a hack into the OS for it?

I don't see your point. Applications which really need the
performance will switch to sendfile anyway because of the
problems with mmap, you mentioned.

Right, so why bother with your patch?

My patch is very simple and takes less than 1KB of code but
will speed up many applications and doesn't have a real
drawback (except when sending "normal" data which is larger
than a page - but that shouldn't happen very often).

What about the extra checks you are placing in a fast path?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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