From owner-freebsd-current Thu Jan 21 14:33:40 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA06957 for freebsd-current-outgoing; Thu, 21 Jan 1999 14:33:40 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles236.castles.com [208.214.165.236]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA06951 for ; Thu, 21 Jan 1999 14:33:38 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id OAA11601; Thu, 21 Jan 1999 14:29:49 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901212229.OAA11601@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: dg@root.com cc: Mike Smith , Geoff Buckingham , freebsd-current@FreeBSD.ORG Subject: Re: KVA/KVM shortages In-reply-to: Your message of "Thu, 21 Jan 1999 14:19:26 PST." <199901212219.OAA19995@implode.root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 Jan 1999 14:29:49 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > >If anyone has any more of these tunables that can easily be enhanced > >like this, please let me know. > > Is there a way from the boot loader that one can find out what options > are available to be tuned? At the moment, the values are picked up on-demand by the kernel as it's initialising its state from the preprocessor defines, so there's no metainformation that can be extracted from the kernel to determine the tunables that are available. This could be improved in a number of ways - it would be achievable, for example, to have a macro: is_set = GET_KERN_TUNABLE(name, "description", variable); which exported "name" and "description" via a linker set which could be extracted by the loader. In the meantime, "help set tunables" inside the loader contains a list of the ones I've updated so far (the source for this is in sys/boot/common/help.common) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message