freebsd-dev/sys/amd64
Matthew Dillon 2f9e4e8025 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.
2001-08-20 00:41:12 +00:00
..
acpica Don't do sleep state transition if specified sleep state is not 2001-07-22 19:13:54 +00:00
amd64 Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
conf - Removed comment about ThinkPad keyboards from the PCVT line. Any ThinkPad 2001-08-05 21:56:11 +00:00
include style(9) and make consistent across platforms 2001-08-16 09:29:35 +00:00
isa - Close races with signals and other AST's being triggered while we are in 2001-08-10 22:53:32 +00:00
pci Un-swap irq/link byte values so that printf works. 2001-05-11 04:52:29 +00:00
Makefile