From owner-freebsd-bugs Mon Aug 12 13:10: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB1DC37B400 for ; Mon, 12 Aug 2002 13:10:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BB0D43E4A for ; Mon, 12 Aug 2002 13:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7CKA2JU097913 for ; Mon, 12 Aug 2002 13:10:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7CKA2MT097912; Mon, 12 Aug 2002 13:10:02 -0700 (PDT) Date: Mon, 12 Aug 2002 13:10:02 -0700 (PDT) Message-Id: <200208122010.g7CKA2MT097912@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: kern/41552: TCP timers' sysctl's overflow Reply-To: Garrett Wollman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/41552; it has been noted by GNATS. From: Garrett Wollman To: "G.P. de Boer" Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: kern/41552: TCP timers' sysctl's overflow Date: Mon, 12 Aug 2002 15:45:22 -0400 (EDT) < said: > Well.. since LINT says 1000Hz is advisable for dummynet use. For > polling 1000 or even 2000Hz is advised. IF this is a problem with > RFC1323, which strikes me as odd, then there's more to this problem > than meets the eye. A setting in LINT shouldn't break anything so > fundamental as TCP. RFC 1323 specifies that the timestamp clock is to have a period between 1 ms and 1 s. (See page 21, third paragraph from the bottom.) The timestamp clock in FreeBSD is the system variable `ticks', which is incremented once for every clock interrupt, so its period is approximately 1/HZ s. In order to support higher clock frequencies, a scaling factor would need to be introduced. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message