Date: 19 Aug 2002 12:28:50 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Matthew Dillon <dillon@apollo.backplane.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: <1029774531.326.6.camel@gyros.marcuscom.com> In-Reply-To: <200208191627.g7JGRAcn077339@apollo.backplane.com> References: <200208162216.g7GMGd6i085952@freefall.freebsd.org> <1029709953.354.7.camel@shumai.marcuscom.com> <200208191627.g7JGRAcn077339@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2002-08-19 at 12:27, Matthew Dillon wrote: > > :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. I figured out the HZ part, and it must have been my eyes playing tricks on me. When I added the sysctl to sysctl.conf, I could have swore I saw: 10 -> 10 When the machine booted. After looking at my laptop where I didn't touch the value, it does default to 1000. Sorry for the confusion. Joe > > -Matt > Matthew Dillon > <dillon@backplane.com> > -- PGP Key : http://www.marcuscom.com/pgp.asc 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?1029774531.326.6.camel>