From owner-freebsd-net@FreeBSD.ORG Fri May 12 03:59:57 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 990CD16A425 for ; Fri, 12 May 2006 03:59:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 571CA43DA9 for ; Fri, 12 May 2006 03:59:56 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id E3D6946CE3; Thu, 11 May 2006 23:59:55 -0400 (EDT) Date: Fri, 12 May 2006 04:59:55 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Stephen Clark In-Reply-To: <4463FD1D.9010600@seclark.us> Message-ID: <20060512045737.H24490@fledge.watson.org> References: <20060509122801.GA65297@spc.org> <20060509131517.GB79277@spc.org> <20060512030152.X20138@fledge.watson.org> <4463FD1D.9010600@seclark.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: pavlin@icir.org, atanu@icir.org, freebsd-net@freebsd.org Subject: Re: IP_MAX_MEMBERSHIPS story. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 04:00:05 -0000 On Thu, 11 May 2006, Stephen Clark wrote: >> I'm loosely of the opinion that the membership array should be variable >> length, and that we should default it to 20, but have a significantly >> larger maximum. It's not horribly efficient, but also wouldn't be so >> particularly terrible either. >> > I think it should be tunable other than going in a changing the source code, > which I have to do every time I do a cvsup. I'm suggesting we have a dynamically sizes array, which defaults to a limit of 20, but can be reallocated and scaled as necessary up to a larger maximum. Robert N M Watson