From owner-freebsd-stable@FreeBSD.ORG Sat Nov 26 12:06:55 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 991D2106564A; Sat, 26 Nov 2011 12:06:55 +0000 (UTC) (envelope-from kristoph.bauer@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4551D8FC15; Sat, 26 Nov 2011 12:06:54 +0000 (UTC) Received: by iakl21 with SMTP id l21so9064855iak.13 for ; Sat, 26 Nov 2011 04:06:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Otvzp0WYneNClz4N7pIw6R0oN5Li+o+vrNTCWlmREAo=; b=HJSjlQZZ57RbsKFYc26fVTI7XmO3RRxf8ij5bsIdbNsPZFANQXn0ig5c/fO4AoyGP3 YSZ8XrQfXUouaOMv9lxrROpJ8VV1Rs0EL7yL2CLb42bf8IWHUQ09Z5tXul6DXgPMyYXa aDuTs7yv1x7NSWnApws+p6TEm+lXxYKlWKHtw= MIME-Version: 1.0 Received: by 10.50.17.168 with SMTP id p8mr1954795igd.20.1322309214068; Sat, 26 Nov 2011 04:06:54 -0800 (PST) Received: by 10.50.34.167 with HTTP; Sat, 26 Nov 2011 04:06:54 -0800 (PST) In-Reply-To: <4ED0CDC3.50808@b2n.org> References: <4ECEF6FD.5050006@freebsd.org> <4ED077BF.10205@freebsd.org> <4ED0CDC3.50808@b2n.org> Date: Sat, 26 Nov 2011 06:06:54 -0600 Message-ID: From: Kris Bauer To: Raul Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: kerbzo@gmail.com, freebsd-stable@freebsd.org, stb@lassitu.de, george+freebsd@m5p.com, FreeBSD Release Engineering Team , Lawrence Stewart , freebsd@jdc.parodius.com Subject: Re: TCP Reassembly Issues [SOLVED?] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 12:06:55 -0000 On Sat, Nov 26, 2011 at 5:30 AM, Raul wrote: > El 26/11/2011 6:23, Lawrence Stewart escribi=F3: > > ... > >> kernel to test a patch please try the following and report back to the >> list: >> >> >> http://people.freebsd.org/~lstewart/patches/misctcp/tcp_reass_plugzonele= ak_10.x.r227986.patch >> >> >> The patch is against head r227986 but will apply and work correctly for >> 9.0 as well. >> > > Cleanly applied against RELENG_9_0. > > As my case was not exactly the same as Kris or Stefan I'd wait their > feedback but as far I concern, *it works perfect!*. > > [....] > %sysctl kern.version | head -n1 > kern.version: FreeBSD 9.0-RC2 #1: Sat Nov 26 10:24:38 CET 2011 > > %uptime > 12:06PM up 1:30, 3 users, load averages: 0,07 0,08 0,10 > > %vmstat -z | head -n1 ; vmstat -z | grep reass > ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP > tcpreass: 40, 1680, 58, 1370, 276624, 0, 0 > > %sysctl net.inet.tcp.reass > net.inet.tcp.reass.overflows: 5 > net.inet.tcp.reass.cursegments: 17 > net.inet.tcp.reass.maxsegments: 1680 > > %netstat -s -p tcp | grep mem > 5 discarded due to memory problems > [....] > > I'll leave the box stressing the tcp stack a couple of days, just in case= . > > Thanks a lot. > > Regards, > Ra=FAl. > After 5 hours and a few gigs of traffuc, things have been fine: # sysctl net.inet.tcp.reass net.inet.tcp.reass.overflows: 155 net.inet.tcp.reass.cursegments: 0 net.inet.tcp.reass.maxsegments: 4116 Kris