From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 08:07:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92D1416A4E0 for ; Tue, 24 Feb 2004 08:07:11 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BBC443D1F for ; Tue, 24 Feb 2004 08:07:11 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 13037 invoked from network); 24 Feb 2004 16:07:09 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 24 Feb 2004 16:07:09 -0000 Message-ID: <403B76A7.9B20120C@freebsd.org> Date: Tue, 24 Feb 2004 17:07:03 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: HEADS UP: Recompile of libkvm and network utilities required X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 16:07:13 -0000 This changes sizeof(struct tcpcb) and makes a recompile of libkvm and related userland network utilities neccessary. andre 2004/02/24 07:27:42 PST FreeBSD src repository Modified files: sys/netinet tcp_input.c tcp_subr.c tcp_var.h Log: Convert the tcp segment reassembly queue to UMA and limit the maximum amount of segments it will hold. The following tuneables and sysctls control the behaviour of the tcp segment reassembly queue: net.inet.tcp.reass.maxsegments (loader tuneable) specifies the maximum number of segments all tcp reassemly queues can hold (defaults to 1/16 of nmbclusters). net.inet.tcp.reass.maxqlen specifies the maximum number of segments any individual tcp session queue can hold (defaults to 48). net.inet.tcp.reass.cursegments (readonly) counts the number of segments currently in all reassembly queues. net.inet.tcp.reass.overflows (readonly) counts how often either the global or local queue limit has been reached. Tested by: bms, silby Reviewed by: bms, silby Revision Changes Path 1.228 +77 -9 src/sys/netinet/tcp_input.c 1.182 +7 -2 src/sys/netinet/tcp_subr.c 1.98 +6 -3 src/sys/netinet/tcp_var.h