diff options
| author | Chad David <davidc@FreeBSD.org> | 2002-02-21 05:15:52 +0000 |
|---|---|---|
| committer | Chad David <davidc@FreeBSD.org> | 2002-02-21 05:15:52 +0000 |
| commit | 8c09f6fb1fc17153ec3ab2514950cc12ad3c6506 (patch) | |
| tree | 7c4a49aaf0cbd3b240b2ecbffbef4a6b89838283 | |
| parent | 19610b66d8042e342f800d5f45786f825889fa17 (diff) | |
Notes
| -rw-r--r-- | sys/boot/common/loader.8 | 7 | ||||
| -rw-r--r-- | sys/boot/forth/loader.conf | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/boot/common/loader.8 b/sys/boot/common/loader.8 index e2cbf7c896621..5006eb72fa8ef 100644 --- a/sys/boot/common/loader.8 +++ b/sys/boot/common/loader.8 @@ -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 diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf index e04aa4a1c7c67..5bc2b0732baec 100644 --- a/sys/boot/forth/loader.conf +++ b/sys/boot/forth/loader.conf @@ -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) |
