From owner-freebsd-questions Sat Dec 14 14:36:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E67D337B401 for ; Sat, 14 Dec 2002 14:36:39 -0800 (PST) Received: from mail.econolodgetulsa.com (mail.econolodgetulsa.com [198.78.66.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E50443ED4 for ; Sat, 14 Dec 2002 14:36:39 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Received: from mail (user@mail [198.78.66.163]) by mail.econolodgetulsa.com (8.12.3/8.12.3) with ESMTP id gBEMaeZb057100 for ; Sat, 14 Dec 2002 14:36:40 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Date: Sat, 14 Dec 2002 14:36:39 -0800 (PST) From: Josh Brooks To: freebsd-questions@freebsd.org Subject: NMBCLUSTERS over 4096 dangerous in any way ? Message-ID: <20021214143213.E77087-100000@mail.econolodgetulsa.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have a firewall that is starting to get a little overworked. I currently have this line in my kernel config: options NMBCLUSTERS=4096 and I am starting to hit that limit: 276/4096/4096 mbuf clusters in use (current/peak/max) So, the obvious response is to increase that NMBCLUSTERS value. ----- However, in all the examples and discussion I have seen, I have never seen anyone discuss raising it above 4096. I have no indication that raising it to ... say ... 8192 would be dangerous/risky, but I think I should ask just to make sure. The system is a P3-600 with 256 megs physical ram, and 128 megs swap. This system has no other duties than firewalling. System is running 4.4-RELEASE. SO: 1. any comments on raising NMBCLUSTERS to 8192 ? any other values that need to be tuned to support that ? 2. what is the max I could safely raise NMBCLUSTERS to ? thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message