]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow autotune maxusers > 384 on 64 bit machines
authoralfred <alfred@FreeBSD.org>
Thu, 25 Oct 2012 01:46:20 +0000 (01:46 +0000)
committeralfred <alfred@FreeBSD.org>
Thu, 25 Oct 2012 01:46:20 +0000 (01:46 +0000)
commit2873c69678a60205a65535b0db107be3ca3fc38a
treee2b3008d95d20a1cf37d643eec227912a6b4fb56
parente56b4fdc17b3d9d906ac2a1a1fe90da82c774712
Allow autotune maxusers > 384 on 64 bit machines

A default install on large memory machines with multiple 10gigE interfaces
were not being given enough mbufs to do full bandwidth TCP or NFS traffic.

To keep the value somewhat reasonable, we scale back the number of
maxuers by 1/6 past the 384 point.  This gives us enough mbufs for most
of our pretty basic 10gigE line-speed tests to complete.
sys/kern/subr_param.c