Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 1999 14:29:49 -0800
From:      Mike Smith <mike@smith.net.au>
To:        dg@root.com
Cc:        Mike Smith <mike@smith.net.au>, Geoff Buckingham <geoffb@demon.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: KVA/KVM shortages 
Message-ID:  <199901212229.OAA11601@dingo.cdrom.com>
In-Reply-To: Your message of "Thu, 21 Jan 1999 14:19:26 PST." <199901212219.OAA19995@implode.root.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >
> >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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901212229.OAA11601>