From owner-freebsd-net Mon Jun 28 22:39: 9 1999 Delivered-To: freebsd-net@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 2635215193 for ; Mon, 28 Jun 1999 22:39:04 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id WAA11089; Mon, 28 Jun 1999 22:36:57 -0700 (PDT) Message-Id: <199906290536.WAA11089@implode.root.com> To: "Andrew W. Smith" Cc: freebsd-net@FreeBSD.ORG Subject: Re: 16 bit int for interface "reference count" In-reply-to: Your message of "Mon, 28 Jun 1999 21:24:47 CDT." <199906290224.VAA14735@rip.ops.neosoft.com> From: David Greenman Reply-To: dg@root.com Date: Mon, 28 Jun 1999 22:36:57 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>From the NANOG list ... has this been patched in FreeBSD before >I again start pumping a full table into one of my boxen? > >--------------- > >Date: Mon, 28 Jun 1999 09:29:50 +0100 >From: Peter Galbavy >Subject: Re: The Cidr Report > >On the subject of the general number of routes increasing, has >everyone involved in the development or maintainence of their routers >checked that the 2^16 (65536) limit is not going to hit them. > >I know that for those using PC routers, like my old colleagues at >Demon, it is important that you make sure that your OS is upgraded >to use a >16 bit int for a "reference count" to an interface. Andrew >Bangs @ Demon spotted this a while back and submitted patch to the >*BSD groups, of which I know OpenBSD has changed the reference count >to a 32 bit. > >Once you add some IGP routes the 2^16 is coming up fast. It's hard to say if the 16bit refcnt will a real problem for Internet routers. It might be if there is a default route, but routes don't normally hold references to other routes. This is coming close to being an issue on wcarchive, however, as it has a large number of TCP connections (and each one holds a reference). In any case, it is currently 16bits in FreeBSD and should be increased to 32bits. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message