From owner-freebsd-stable@FreeBSD.ORG Wed Mar 29 13:00:39 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 182E916A401; Wed, 29 Mar 2006 13:00:39 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7335F43D45; Wed, 29 Mar 2006 13:00:38 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 3D56220A0; Wed, 29 Mar 2006 15:00:33 +0200 (CEST) X-Spam-Tests: AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Learn: ham X-Spam-Score: -2.4/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 2E8F42081; Wed, 29 Mar 2006 15:00:33 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 0C48B33C8D; Wed, 29 Mar 2006 15:00:33 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: "Conrad J. Sabatier" References: <3aaaa3a0603281134sd0d4e16x@mail.gmail.com> <20060329030459.40be9cb2.conrads@cox.net> Date: Wed, 29 Mar 2006 15:00:32 +0200 In-Reply-To: <20060329030459.40be9cb2.conrads@cox.net> (Conrad J. Sabatier's message of "Wed, 29 Mar 2006 03:04:59 -0600") Message-ID: <861wwlcsnj.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Chris , freebsd-stable@freebsd.org, bmilekic@freebsd.org Subject: Re: nmbclusters X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 13:00:39 -0000 "Conrad J. Sabatier" writes: > Chris wrote: > > so [kern.ipc.nmbclusters] has no affect, has this become a read only > > tunable again only settable in loader.conf? > To the best of my knowledge, this has *always* been a loader tunable, > not configurable on-the-fly. kern.ipc.nmbclusters is normally computed at boot time. A compile- time option to override it was introduced in 2.0-CURRENT. At that time, it was defined in param.c. A read-only sysctl was introduced in 3.0-CURRENT. It moved from param.c to uipc_mbuf.c in 4.0-CURRENT, then to subr_mbuf.c when mballoc was introduced in 5.0-CURRENT; became a tunable at some point after that; then moved again to kern_mbuf.c when mballoc was replaced with mbuma in 6.0-CURRENT. That is the point where it became read-write, for no good reason that I can see; setting it at runtime has no effect, because the size of the mbuf zone is determined at boot time. Perhaps Bosko (who wrote both mballoc and mbuma, IIRC) knows. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no