From owner-freebsd-net@FreeBSD.ORG Tue Sep 3 22:49:36 2013 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3E0D68B5 for ; Tue, 3 Sep 2013 22:49:36 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E045021CE for ; Tue, 3 Sep 2013 22:49:35 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.7/8.14.7) with ESMTP id r83MnTt4020959; Tue, 3 Sep 2013 15:49:29 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.7/8.14.7/Submit) id r83MnScQ020958; Tue, 3 Sep 2013 15:49:28 -0700 (PDT) (envelope-from david) Date: Tue, 3 Sep 2013 15:49:28 -0700 From: David Wolfskill To: FreeBSD Net Subject: Re: TSO and FreeBSD vs Linux Message-ID: <20130903224928.GQ1577@albert.catwhisker.org> References: <520A6D07.5080106@freebsd.org> <5214F506.3070706@freebsd.org> <20130903192734.GA19406@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TSQPSNmi3T91JED+" Content-Disposition: inline In-Reply-To: <20130903192734.GA19406@albert.catwhisker.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 22:49:36 -0000 --TSQPSNmi3T91JED+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 03, 2013 at 12:27:34PM -0700, David Wolfskill wrote: > ... > As soon as I issued "sudo net.inet.tcp.tso=3D0" ... the copy worked witho= ut > a hitch or a whine. And I was able to copy all 117709618 bytes, not just > 2097152 (2^21). The above command should (of course) have read sudo sysctl net.inet.tcp.tso=3D0 Also: I normally had the em0 NIC on the machine in question connected to a Netgear GS105 (5-port Gigabit switch). In the process of trouble-shooting the problem with NFS writes, I bypassed that switch and connected the em0 NIC directly to the jack in my cube. In that configuration, the em0 NIC showed "media: Ethernet 1000baseT (autoselect)", while connected to the GS105, it showed "media: Ethernet 100baseTX (autoselect)". While the NFS write worked whether or not I had the GS105 in the path, it seemed ... suboptimal ... to have a NIC capable of 1000baseT connected to a Gigabit switch, but negotiating at 100baseTX. So I tried setting the media via "ifconfig em0 media 1000baseT"; after a few seconds, it finally woke back up, and now reports "media: Ethernet 1000baseT (1000baseT )". So it appears that the em(4) driver and Intel 82578DM NIC fail to negotiate 1000baseT with the Netgear GS105. Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --TSQPSNmi3T91JED+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlImZ3gACgkQmprOCmdXAD1VggCfQSAR6YpT4aJmNih4+Y3IW21G xZoAn0oA8FpQm0iGPgrwHpxinj6xIIcX =DUco -----END PGP SIGNATURE----- --TSQPSNmi3T91JED+--