kernel - reformulate the maxusers auto-sizing calculation
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Nov 2011 06:44:37 +0000 (23:44 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Nov 2011 06:44:37 +0000 (23:44 -0700)
commit50eff0851a615fa611e714b1f8cd19f19ea6816b
treea03dc5a16194b87f40f7d232e7f152c15bbe5b6f
parent041e7b69a41b3876cfa8327d08977bf870b3d0e4
kernel - reformulate the maxusers auto-sizing calculation

* Reformulate the maxusers auto-sizing calculation, which is used as a
  basis for mbufs and mbuf cluster calculations.  Base the values on
  limsize (basically the lower of KVM vs physical memory).

* Remove artificial limits.

* This basically effects x86-64 systems with > 4G of ram, greatly
  increasing the default maxusers value and related mbuf limits.
sys/kern/subr_param.c