cvs commit: src/sys/netinet tcp_subr.c

Gleb Smirnoff glebius at FreeBSD.org
Fri Sep 8 08:48:29 PDT 2006


On Fri, Sep 08, 2006 at 10:04:03AM -0500, Mike Silbersack wrote:
M> > FreeBSD src repository
M> >
M> > Modified files:
M> >   sys/netinet          tcp_subr.c
M> > Log:
M> > Add a sysctl net.inet.tcp.nolocaltimewait that allows to suppress
M> > creating a compress TIME WAIT states, if both connection endpoints
M> > are local. Default is off.
M> 
M> Does this change restore non-compressed TIME_WAIT sockets for local 
M> connections, or does it stop creating TIME_WAIT sockets entirely in that 
M> case?  It's unclear from your wording.

It stops creating any state (nor socket neither compressed tcptw) for the
TCP connection, where both endpoints were local. This save a lot of
resources on servers running HTTP accelerators, or database servers+clients.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the cvs-src mailing list