From owner-freebsd-stable@FreeBSD.ORG Wed Jan 27 07:16:32 2010 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 C9847106566C for ; Wed, 27 Jan 2010 07:16:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id A8EAA8FC13 for ; Wed, 27 Jan 2010 07:16:32 +0000 (UTC) Received: from omta14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by qmta12.emeryville.ca.mail.comcast.net with comcast id aX411d0021HpZEsACXGZwP; Wed, 27 Jan 2010 07:16:33 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta14.emeryville.ca.mail.comcast.net with comcast id aXGY1d0013S48mS8aXGYRc; Wed, 27 Jan 2010 07:16:32 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id DEFB11E3033; Tue, 26 Jan 2010 23:16:30 -0800 (PST) Date: Tue, 26 Jan 2010 23:16:30 -0800 From: Jeremy Chadwick To: freebsd-stable@freebsd.org Message-ID: <20100127071630.GA69403@icarus.home.lan> References: <20091203.182931.129751456.hrs@allbsd.org> <4B43F6EE.3010308@ucla.edu> <147432021001242047k659a26d0s44b35164920aeb74@mail.gmail.com> <95D3CB82-BC44-491D-86E4-5CB82F89C0FC@nokia.com> <147432021001250825p202914a7ka5a2c1d28d96bac3@mail.gmail.com> <20100125182257.GG1187@michelle.cdnetworks.com> <147432021001251038r69393ab3m1a797e58f9fa905a@mail.gmail.com> <02307620-ECDC-4E8B-A5B1-FF8491E226C4@nokia.com> <33c6b0bc1001252031k508426bfh25fad65e9223d87@mail.gmail.com> <147432021001262309l47ac1a1bsf08c70a9335c887b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <147432021001262309l47ac1a1bsf08c70a9335c887b@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: em interface slow down on 8.0R 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: Wed, 27 Jan 2010 07:16:32 -0000 On Tue, Jan 26, 2010 at 11:09:45PM -0800, Nick Rogers wrote: > Can anyone clarify if I should be looking to disable TSO or TXCSUM, or both, > or does disabling either one somehow work around the problem? Thanks a lot. > > On Mon, Jan 25, 2010 at 8:31 PM, Joshua Boyd wrote: > > > I've been having a similar problem with my network dropping completely on > > my > > 8-STABLE gateway/firewall/fileserver. My setup is a little different, as I > > have re0 and ral0 bridged for LAN, and em0 for WAN. I've just turned off TX > > checksum offloading to see if that makes any difference. > > > > On Mon, Jan 25, 2010 at 1:49 PM, Lars Eggert > > wrote: > > > > > Hi, > > > > > > On 2010-1-25, at 19:38, Nick Rogers wrote: > > > >> On Mon, Jan 25, 2010 at 10:22 AM, Pyun YongHyeon > > > wrote: > > > >> I'm not sure you're seeing a checksum offload bug of em(4) but the > > > >> bug is easily reproducible in VLAN environments. If the issue is > > > >> gone when you disable TX checksum offloading, see kern/141843 for > > > >> for more detailed information as well as fix. > > > >> > > > > Good to know, but I am having a similar problem on another em(4) > > > interface that has no VLAN interfaces. > > > > > > FYI, I also have these issues without using VLANs, and turning off TSO > > > fixed them. The recommendation is to disable TSO (TCP Segmentation Offloading) as well as TXCSUM (TCP Checksum Offloading). -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |