From owner-cvs-all Mon Aug 19 9:27:17 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E8B737B400; Mon, 19 Aug 2002 09:27:11 -0700 (PDT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C034043E6E; Mon, 19 Aug 2002 09:27:10 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.5/8.12.4) with ESMTP id g7JGRAdc077340; Mon, 19 Aug 2002 09:27:10 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.4/Submit) id g7JGRAcn077339; Mon, 19 Aug 2002 09:27:10 -0700 (PDT) (envelope-from dillon) Date: Mon, 19 Aug 2002 09:27:10 -0700 (PDT) From: Matthew Dillon Message-Id: <200208191627.g7JGRAcn077339@apollo.backplane.com> To: Joe Marcus Clarke 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 References: <200208162216.g7GMGd6i085952@freefall.freebsd.org> <1029709953.354.7.camel@shumai.marcuscom.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message