From owner-cvs-all@FreeBSD.ORG Fri Jan 9 07:05:14 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D60DA16A4D0; Fri, 9 Jan 2004 07:05:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D43DA43D48; Fri, 9 Jan 2004 07:05:13 -0800 (PST) (envelope-from davidxu@freebsd.org) Received: from freebsd.org (davidxu@localhost [127.0.0.1]) i09F5BFR015724; Fri, 9 Jan 2004 07:05:12 -0800 (PST) (envelope-from davidxu@freebsd.org) Message-ID: <3FFEC2AD.1020407@freebsd.org> Date: Fri, 09 Jan 2004 23:03:09 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031208 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andre Oppermann References: <200401081740.i08He8J9063202@repoman.freebsd.org> <3FFEAFC2.8070303@freebsd.org> <3FFEB449.1C32B5FD@freebsd.org> In-Reply-To: <3FFEB449.1C32B5FD@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@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-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 15:05:15 -0000 Andre Oppermann wrote: > 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. > Yes, it has. I temporarily reset these values to zero, now it passes all tests.