From owner-freebsd-arch Tue Feb 5 20:28:15 2002 Delivered-To: freebsd-arch@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id A798737B421; Tue, 5 Feb 2002 20:28:09 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 696B410DDF7; Tue, 5 Feb 2002 20:28:09 -0800 (PST) Date: Tue, 5 Feb 2002 20:28:09 -0800 From: Alfred Perlstein To: "M. Warner Losh" Cc: tlambert2@mindspring.com, cjclark@alum.mit.edu, cristjc@earthlink.net, mike@FreeBSD.ORG, freebsd-arch@FreeBSD.ORG Subject: Re: Setting sysctl(8)'s in rc.conf Message-ID: <20020205202809.C59017@elvis.mu.org> References: <20020205121345.B368@gohan.cjclark.org> <20020205.135658.102576700.imp@village.org> <3C609B28.4B040672@mindspring.com> <20020205.210025.88474927.imp@village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020205.210025.88474927.imp@village.org>; from imp@village.org on Tue, Feb 05, 2002 at 09:00:25PM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * M. Warner Losh [020205 20:01] wrote: > In message: <3C609B28.4B040672@mindspring.com> > Terry Lambert writes: > : Will this let them be set before load? > > Yes. > > : There's a bad assumption in tunables, that they may be > : tuned after boot time, which is not true for things > : like sizes of zalloci() zones, which must be contiguous, > : and whose size prevents reallocation, and whose use > : before reallocation would lead to fragmentation. > > No. Tunables can't be set after boot time. They are hints in the > kenrel env that people get to with the TUNABLE* macros. Maybe you are > thinking of sysctls? No, I think he meant compile time instead of boot time, someone may set maxuser = 0 via loader and cause bad behaviour, he seems to want a loader tunable for this. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message