From owner-freebsd-stable@FreeBSD.ORG Wed May 13 00:33:09 2009 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 E26FD106564A for ; Wed, 13 May 2009 00:33:09 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id B05428FC08 for ; Wed, 13 May 2009 00:33:09 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id k40so247694rvb.43 for ; Tue, 12 May 2009 17:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=25IM2/ngLLlXzdi/AtsH2q1FR+Sr/XkIT8HIrc89GNk=; b=vLR6ZLebWMWcT+jPclVeJhmwy8dZ00yqoVP6ssye9x6rlBV9KSI7asHFuePMtI811y co+fLmNp65C/GmkYHPO+cqONOvNHFvldCYFbHhVzXqX+gPkSF7cEYpxJkuSdJqPTbUx3 exUrFsCyAs7Ln2DXTzhAaXWVdU90NoonTA7ko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=QDAMC/AiVzom/+D2N3RIWgk2S8sRSneV35ygIskVtz0PYxU89WWQnqr28ALa5qQgz8 zdd/7GcTdSt90rsDf16lnAzklyoOLAOhRa03Pk1tAHWX9AOvMLZGGOVNBkuqP0Yi5yoP 3OjNjzyOlYjhTSp5eY1PD4Bm1OaNoLIzjnQns= Received: by 10.141.63.20 with SMTP id q20mr90333rvk.218.1242174789402; Tue, 12 May 2009 17:33:09 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id g14sm1072295rvb.12.2009.05.12.17.33.07 (version=SSLv3 cipher=RC4-MD5); Tue, 12 May 2009 17:33:08 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Wed, 13 May 2009 09:41:31 +0900 From: Pyun YongHyeon Date: Wed, 13 May 2009 09:41:31 +0900 To: nigel@eyede.com Message-ID: <20090513004131.GP65350@michelle.cdnetworks.co.kr> References: <4A09DEF1.2010202@delphij.net> <4A09FDB2.5080307@eyede.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A09FDB2.5080307@eyede.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, d@delphij.net Subject: Re: TCP differences in 7.2 vs 7.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2009 00:33:10 -0000 On Wed, May 13, 2009 at 10:52:34AM +1200, Nigel Wohlers wrote: > On 13/5/09 8:41 AM, Xin LI wrote: > >-----BEGIN PGP SIGNED MESSAGE----- > >Hash: SHA1 > > > >Hi David, > > > >David Samms wrote: > >>After upgrading to 7.2 (amd64) some customers complained of very poor > >>bandwidth. Upon investigation all the effected customers were ATT DSL > >>clients located all over the USA, not in a single city, nor were other > >>ISPs effected. The server is a Supermicro with dual (quad core) > >>processors with a single Intel fxp network card on a 100mbit connection. > > > >Could you please try if this would help: > > > > sysctl net.inet.tcp.tso=0 > > > >Cheers, > >- -- > >Xin LI http://www.delphij.net/ > > > Thank you! This hint has saved me a lot of troubleshooting. > > I was having the same issue as David with 3 servers recently upgraded to > 7.2. Clients (MS Windows) were complaining that they were having > intermittent connectivity issues talking to these servers (https, imaps). > > They too have fxp network interface cards, no issues with other servers > upgraded to 7.2 with em cards. > Instead of disabling TSO in network stack, just disable TSO in fxp(4) as a workaround. Fix already is in RELENG_7(r191867) so you can extract the patch and apply it by hand if you want. For instance, #cd /tmp #fetch -o fxp.tso.patch "http://svn.freebsd.org/viewvc/base/head/sys/dev/fxp/if_fxp.c?r1=190982&r2=188176&view=patch" #cd /usr/src/sys/dev/fxp #patch -p4 < /tmp/fxp.tso.patch And rebuild kernel.