Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 09:27:10 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/netinet tcp_subr.c tcp_timer.c tcp_timer.h
Message-ID:  <200208191627.g7JGRAcn077339@apollo.backplane.com>
References:  <200208162216.g7GMGd6i085952@freefall.freebsd.org> <1029709953.354.7.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

:On Fri, 2002-08-16 at 18:16, Matt Dillon wrote:
:> dillon      2002/08/16 15:16:39 PDT
:>=20
:>   Modified files:        (Branch: RELENG_4)
:>     sys/netinet          tcp_subr.c tcp_timer.c tcp_timer.h=20
:>   Log:
:>   MFC sysctls to control the TCP retransmit timer.  Temporarily default
:>   net.inet.tcp_rexmit_min to 1000ms (1 second) to maintain prior -stable
:>   behavior.  The default net.inet.tcp_rexmit_slop (extra time always adde=
:d to
:>   the timeout calculation) is 200ms, but effectively obscured by the 1000=
:ms
:>   minimum.  Setting net.inet.tcp_rexmit_min to a low value such as 12 wil=
:l
:>   get you -current's behavior.
:
:Matt, maybe I'm missing something, but I find on -stable,
:net.inet.tcp.rexmit_min is 10 by default, and setting it to 12 has no
:effect (i.e. keeps the value at 10).  net.inet.tcp.rexmit_slop is 200 by
:default on -stable already.
:
:On -CURRENT rexmit_min is 30 by default and rexmit_slop is 200.  My test
:machines are:

    The variables are stored internally as 'ticks', so the granularity
    is going to depend on the frequency of the main system timer, 'hz'.

    The sysctls convert to and from milliseconds.  So on -stable, where
    hz defaults to 100, the granularity is 10ms. 

    I don't think it is anything to worry about, though your rexmit_min
    on -stable should be 1000 by default, not 10.  Unless I made a mistake
    in the commit, you must be overriding it somewhere.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208191627.g7JGRAcn077339>