From owner-cvs-src@FreeBSD.ORG Tue Feb 24 07:27:42 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B431516A4CF; Tue, 24 Feb 2004 07:27:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A95343D2D; Tue, 24 Feb 2004 07:27:42 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1OFRgGe072233; Tue, 24 Feb 2004 07:27:42 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1OFRgdm072232; Tue, 24 Feb 2004 07:27:42 -0800 (PST) (envelope-from andre) Message-Id: <200402241527.i1OFRgdm072232@repoman.freebsd.org> From: Andre Oppermann Date: Tue, 24 Feb 2004 07:27:42 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet tcp_input.c tcp_subr.c tcp_var.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 15:27:42 -0000 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