Document the hw.physmem kernel environment variable.

Reviewed by:	alfred
This commit is contained in:
Chad David 2002-02-21 05:15:52 +00:00
parent 19610b66d8
commit 8c09f6fb1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91008
2 changed files with 8 additions and 0 deletions

View File

@ -404,6 +404,13 @@ MIB variable.
Other variables are used to override kernel tunable parameters.
The following tunables are available:
.Bl -tag -width Va
.It Va hw.physmem
Limit the amount of phyiscal memory the system will use.
By default the size is in bytes, but the k, K, m, M, g and G suffixes
are also accepted and indicate kilobytes, megabytes and gigabytes
respectively.
An invalid suffix will result in the variable being ignored by the
kernel.
.It Va kern.maxusers
Set the size of a number of statically allocated system tables; see
.Xr tuning 7

View File

@ -71,6 +71,7 @@ module_path="/boot/kernel;/boot/modules;/modules" # Set the module search path
### Kernel tunables ########################################
##############################################################
#hw.physmem="1G" # Limit phyiscal memory. See loader(8)
#kern.maxusers="32" # Set size of various static tables
#kern.ipc.nmbclusters="" # Set the number of mbuf clusters
#kern.vm.kmem.size="" # Sets the size of kernel memory (bytes)