mbufs and mbuf clusters are now backed by large pools. Because of this
authorclaudio <claudio@openbsd.org>
Sat, 10 Feb 2018 06:00:06 +0000 (06:00 +0000)
committerclaudio <claudio@openbsd.org>
Sat, 10 Feb 2018 06:00:06 +0000 (06:00 +0000)
commit240bc6d435227960668808f8c4c8a50adb3809db
treef1d1fb46f0ed2b42779c4f245e0712f7309a0ad9
parent96522ed98d17b31c02ed17a19dd23ef669c6fd5d
mbufs and mbuf clusters are now backed by large pools. Because of this
we can relax the oversubscribe limit of socketbuffers a fair bit.
Instead of maxing out as sb_max * 1.125 or 2 * sb_hiwat the maximum is
increased to 8 * sb_hiwat -- which seems to be a good compromise between
memory waste and better socket buffer usage.
OK deraadt@
sys/kern/uipc_socket2.c