[Midnightbsd-cvs] src [7345] trunk/sys/boot/common/loader.8: swap default changed on amd64

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 3 11:23:42 EDT 2015


Revision: 7345
          http://svnweb.midnightbsd.org/src/?rev=7345
Author:   laffer1
Date:     2015-10-03 11:23:41 -0400 (Sat, 03 Oct 2015)
Log Message:
-----------
swap default changed on amd64

Modified Paths:
--------------
    trunk/sys/boot/common/loader.8

Property Changed:
----------------
    trunk/sys/boot/common/loader.8

Modified: trunk/sys/boot/common/loader.8
===================================================================
--- trunk/sys/boot/common/loader.8	2015-10-03 15:22:15 UTC (rev 7344)
+++ trunk/sys/boot/common/loader.8	2015-10-03 15:23:41 UTC (rev 7345)
@@ -613,17 +613,26 @@
 for details.
 .It Va kern.maxswzone
 Limits the amount of KVM to be used to hold swap
-meta information, which directly governs the
-maximum amount of swap the system can support.
-This value is specified in bytes of KVA space
-and defaults to 32MBytes on i386 and amd64.
-Care should be taken
-to not reduce this value such that the actual
-amount of configured swap exceeds 1/2 the
-kernel-supported swap.
-The default of 32MB allows
-the kernel to support a maximum of ~7GB of swap.
-Only change
+metadata, which directly governs the
+maximum amount of swap the system can support,
+at the rate of approximately 200 MB of swap space
+per 1 MB of metadata.
+This value is specified in bytes of KVA space.
+If no value is provided, the system allocates
+enough memory to handle an amount of swap
+that corresponds to eight times the amount of
+physical memory present in the system.
+.Pp
+Note that swap metadata can be fragmented,
+which means that the system can run out of
+space before it reaches the theoretical limit.
+Therefore, care should be taken to not configure
+more swap than approximately half of the
+theoretical maximum.
+.Pp
+Running out of space for swap metadata can leave
+the system in an unrecoverable state.
+Therefore, you should only change
 this parameter if you need to greatly extend the
 KVM reservation for other resources such as the
 buffer cache or


Property changes on: trunk/sys/boot/common/loader.8
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list