From owner-freebsd-stable Mon Dec 13 8:39:35 1999 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 9CE7C15131 for ; Mon, 13 Dec 1999 08:39:32 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id IAA82847; Mon, 13 Dec 1999 08:39:18 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 13 Dec 1999 08:39:18 -0800 (PST) From: Doug White To: Bosko Milekic Cc: David Greenman , Tom , Greg Prosser , freebsd Subject: Re: SYN Hardening patches? / SYN Code in 3.4-RC In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 12 Dec 1999, Bosko Milekic wrote: > Even at that, MAXUSERS still contributes to the mb_map size. I see > your point, though, in the sense that by setting up NMBCLUSTERS, the > overall size of mb_map will be affected by that setting, and not > MAXUSERS, in general. > So here's the question: Why not remove MAXUSERS' influence over the > size of the mb_map, and just have it influenced by a single option? Because it doesn't make sense to separate it out? maxusers is a good general sizing knob; it should size everything that's related to server capacity. You should override the maxuser-based calculations IFF you know the calculated number isn't enough, even at maxusers 128. We have hard-core MDAs that get a 'options NMBCLUSTERS=16384' and 'maxusers 128' based on real-world statistics. These machines routinely peak out at 10K mbuf clusters and 22MBytes of network memory. With the default settings they wouldn't last 10 minutes. And even with 16K mbufs they still die when large parts of the Net go away. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message