Date: Sun, 19 Aug 2001 17:41:13 -0700 (PDT) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/common loader.8 src/sys/conf options src/sys/i386/i386 machdep.c src/sys/i386/include param.h src/sys/kern subr_param.c src/sys/sys buf.h src/sys/vm swap_pager.c Message-ID: <200108200041.f7K0fD807805@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 2001/08/19 17:41:13 PDT Modified files: sys/boot/common loader.8 sys/conf options sys/i386/i386 machdep.c sys/i386/include param.h sys/kern subr_param.c sys/sys buf.h sys/vm swap_pager.c Log: Limit the amount of KVM reserved for the buffer cache and for swap-meta information. The default limits only effect machines with > 1GB of ram and can be overriden with two new kernel conf variables VM_SWZONE_SIZE_MAX and VM_BCACHE_SIZE_MAX, or with loader variables kern.maxswzone and kern.maxbcache. This has the effect of leaving more KVM available for sizing NMBCLUSTERS and 'maxusers' and should avoid tripups where a sysad adds memory to a machine and then sees the kernel panic on boot due to running out of KVM. Also change the default swap-meta auto-sizing calculation to allocate half of what it was previously allocating. The prior defaults were way too high. Note that we cannot afford to run out of swap-meta structures so we still stay somewhat conservative here. Revision Changes Path 1.31 +28 -1 src/sys/boot/common/loader.8 1.289 +3 -1 src/sys/conf/options 1.470 +7 -2 src/sys/i386/i386/machdep.c 1.60 +17 -1 src/sys/i386/include/param.h 1.43 +7 -1 src/sys/kern/subr_param.c 1.119 +3 -1 src/sys/sys/buf.h 1.163 +6 -3 src/sys/vm/swap_pager.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108200041.f7K0fD807805>