diff options
author | dillon <dillon@FreeBSD.org> | 2002-08-31 21:15:29 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2002-08-31 21:15:29 +0000 |
commit | 1703af0c56813289ea298b2b5a59770581a1f8ae (patch) | |
tree | 8d18c05ec24ac093fd6c805468b9b96731525249 /sys/i386/include/param.h | |
parent | 9e3c08d6b113d845f55b0e7ff27cf14a5475d53d (diff) | |
download | FreeBSD-src-1703af0c56813289ea298b2b5a59770581a1f8ae.zip FreeBSD-src-1703af0c56813289ea298b2b5a59770581a1f8ae.tar.gz |
Reduce the maximum KVA reserved for swap meta structures from 70 to 32 MB.
Reduce the swap meta calculation by a factor of 2, it's still massive overkill.
X-MFC after: immediately
Diffstat (limited to 'sys/i386/include/param.h')
-rw-r--r-- | sys/i386/include/param.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h index f22c7ff..bdc1057 100644 --- a/sys/i386/include/param.h +++ b/sys/i386/include/param.h @@ -109,15 +109,17 @@ #define KSTACK_GUARD /* compile in the kstack guard page */ /* - * Ceiling on amount of swblock kva space. + * Ceiling on amount of swblock kva space, can be changed via + * the kern.maxswzone /boot/loader.conf variable. */ #ifndef VM_SWZONE_SIZE_MAX -#define VM_SWZONE_SIZE_MAX (70 * 1024 * 1024) +#define VM_SWZONE_SIZE_MAX (32 * 1024 * 1024) #endif /* * Ceiling on size of buffer cache (really only effects write queueing, - * the VM page cache is not effected). + * the VM page cache is not effected), can be changed via + * the kern.maxbcache /boot/loader.conf variable. */ #ifndef VM_BCACHE_SIZE_MAX #define VM_BCACHE_SIZE_MAX (200 * 1024 * 1024) |