Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 1996 13:41:57 -0800 (PST)
From:      "Garrett A. Wollman" <wollman>
To:        CVS-committers, cvs-sys
Subject:   cvs commit: src/sys/kern uipc_socket2.c
Message-ID:  <199601052141.NAA04234@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601052141.NAA04234>