From owner-cvs-all Wed Jul 17 21:45:51 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 9DBBF37B400; Wed, 17 Jul 2002 21:45:46 -0700 (PDT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4378B43E3B; Wed, 17 Jul 2002 21:45:46 -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 g6I4jkCV006498; Wed, 17 Jul 2002 21:45:46 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.4/Submit) id g6I4jkD4006497; Wed, 17 Jul 2002 21:45:46 -0700 (PDT) (envelope-from dillon) Date: Wed, 17 Jul 2002 21:45:46 -0700 (PDT) From: Matthew Dillon Message-Id: <200207180445.g6I4jkD4006497@apollo.backplane.com> To: Mike Silbersack , cvs-committers@FreeBSD.ORG, Subject: Re: cvs commit: src/sys/netinet tcp_timer.h References: <20020717220320.F83856-100000@patrocles.silby.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 Ok, how about this: #define TCPTV_MIN ( hz / 50 <= 3 ? 3 : hz / 50 ) /* minimum allowable value */ 20 milliseconds or 3 ticks, whichever is greater. The idea being that 20 ms compensates for operating system variability and/or polling issues. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message