summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-01-05 21:41:54 +0000
committerwollman <wollman@FreeBSD.org>1996-01-05 21:41:54 +0000
commit5d8adcbf4e291724a2348beb88b94c9948ea4289 (patch)
treeb9e58f8fc85ba8b24e41e3198e210deeb5baca5a /lib/libc/stdlib/malloc.c
parent9e6f88883f9f6cc358f531eb8478a92f4d4291fc (diff)
downloadFreeBSD-src-5d8adcbf4e291724a2348beb88b94c9948ea4289.zip
FreeBSD-src-5d8adcbf4e291724a2348beb88b94c9948ea4289.tar.gz
Eliminate the dramatic TCP performance decrease observed for writes in
the range [210:260] by sweeping the problem under the rug. This change has the following effects: 1) A new MIB variable in the kern branch is defined to allow modification of the socket buffer layer's ``wastage factor'' (which determines how much unused-but-allocated space in mbufs and mbuf clusters is allowed in a socket buffer). 2) The default value of the wastage factor is changed from 2 to 8. The original value was chosen when MINCLSIZE was 7*MLEN (!), and is not appropriate for an environment where MINCLSIZE is much less. The real solution to this problem is to scrap both mbufs and sockbufs and completely redesign the buffering mechanism used at both levels.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud