From owner-cvs-sys Fri Jan 5 13:41:59 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA04241 for cvs-sys-outgoing; Fri, 5 Jan 1996 13:41:59 -0800 (PST) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA04234 Fri, 5 Jan 1996 13:41:57 -0800 (PST) Date: Fri, 5 Jan 1996 13:41:57 -0800 (PST) From: "Garrett A. Wollman" Message-Id: <199601052141.NAA04234@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern uipc_socket2.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk wollman 96/01/05 13:41:56 Modified: sys/kern uipc_socket2.c Log: 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. Revision Changes Path 1.8 +6 -2 src/sys/kern/uipc_socket2.c