From owner-cvs-src@FreeBSD.ORG Fri Jan 9 06:25:22 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 EAD1016A4CE for ; Fri, 9 Jan 2004 06:25:22 -0800 (PST) Received: from wbm1.pair.net (wbm1.pair.net [209.68.3.41]) by mx1.FreeBSD.org (Postfix) with SMTP id B7D7243D55 for ; Fri, 9 Jan 2004 06:25:17 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 82040 invoked by uid 65534); 9 Jan 2004 14:25:17 -0000 Received: from 158.6.15.27 ([158.6.15.27]) (SquirrelMail authenticated user silby@silby.com) by webmail.pair.com with HTTP; Fri, 9 Jan 2004 09:25:17 -0500 (EST) Message-ID: <36749.158.6.15.27.1073658317.squirrel@webmail.pair.com> Date: Fri, 9 Jan 2004 09:25:17 -0500 (EST) From: To: X-pair-Authenticated: 158.6.15.27 In-Reply-To: <3FFEB449.1C32B5FD@freebsd.org> References: <200401081740.i08He8J9063202@repoman.freebsd.org> <3FFEAFC2.8070303@freebsd.org> <3FFEB449.1C32B5FD@freebsd.org> X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: davidxu@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/netinet ip_icmp.c tcp.h tcp_input.c tcp_subr.ctcp_usrreq.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: Fri, 09 Jan 2004 14:25:23 -0000 > David Xu wrote: >> >> I got following messages when I am running mysql stress test suite, >> and the test can not be completed. >> >> "too many small tcp packets from 128.0.0.1:20672, av. 91byte/packet, >> dropping connection" > > You can set net.inet.tcp.minmssoverload to a higher value than the > default of 1,000. I suggest trying with 2,000 as next step and see if > it still overloads. > > Appearently my default of 1,000 pps is fine for normal use but too low > for some edge cases. > > Could you check the MySQL source code if it has a setsockopt() setting > the TCP_NODELAY option? That would help to explain a lot. > > -- > Andre This might nerf the protection a bit, but could reduce the packet counter once for each socket write the local machine does? That should protect chatty applications, but still detect those that are just flooding data to a bulk service like ftp or smtp. Mike "Silby" Silbersack