httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander van Zoest <san...@covalent.net>
Subject Re: mod_file_cache performance
Date Tue, 03 Jul 2001 04:16:29 GMT
On Mon, 2 Jul 2001, Victor J. Orlikowski wrote:

> dean gaudet writes:
>  > incidentally -- there is an analogue to TCP_CORK on FreeBSD, i'm pretty
>  > sure it's TCP_NOPUSH.  it's unfortunate that the two (almost identical)
>  > concepts developped independantly with different names.
> In fact, here's Linus' words on the two, from a thread on lkml circa
> January:
> In contrast, TCP_CORK has an interface much like TCP_NOPUSH, along with
> the notion of persistency. The difference between those two is that
> TCP_CORK really took the notion of persistency to the end, and made
> uncorking actually say "Ok, no more packets". You can't do that with
> TCP_NOPUSH: with TCP_NOPUSH you basically have to know what your last
> write is, and clear the bit _before_ that write if you want to avoid bad
> latencies (alternatively, you can just close the socket, which works
> equally well, and was probably the designed interface for the thing. That
> has the disadvantage of, well, closing the socket - so it doesn't work if
> you don't _know_ whether you'd write more or not).
<snip>

Tony Finch <http://www.apache.org/~fanf/> work on this and his patch,
<http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_usrreq.c#rev1.53>
to FreeBSD 5.0-CURRENT, makes TCP_NOPUSH behave in the manner of 
Linux's TCP_CORK.

Cheers,

--
Sander van Zoest                                         [sander@covalent.net]
Covalent Technologies, Inc.                           http://www.covalent.net/
+1 (415) 536-5218                                  http://Sander.vanZoest.com/


Mime
View raw message