From owner-freebsd-net@FreeBSD.ORG Wed Dec 3 16:21:48 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18FFA816 for ; Wed, 3 Dec 2014 16:21:48 +0000 (UTC) Received: from rack.patpro.net (rack.patpro.net [193.30.227.216]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "patpro.net", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF1011C8 for ; Wed, 3 Dec 2014 16:21:47 +0000 (UTC) Received: from patpro.univ-lyon2.fr (patpro.univ-lyon2.fr [159.84.113.250]) by rack.patpro.net (Postfix) with ESMTPSA id AD9E0A77; Wed, 3 Dec 2014 17:21:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=patpro.net; s=patpro; t=1417623706; bh=cfhpG7iIwwkkmXkJCdGrJmzeGKgGn4TqHbBzkLQZSvE=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=XURXoK0bzpS+zSXlVwmyFRCHtbtoO1j7D5Zocd6I/GvJ59MQ0bR2Y6BuZpIuo5msg ZWvkjp4crdJzBapMSZ2nRodgmXruIxZNDls0qJOzvYV8Psvcy3UIpWv9j03AWTLerQ tFVeZLpgwMn/IVX87UOuJglcevV1XQDwrGWzfoOM= Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Horrendous upload network performance with VLAN (download seems OK) From: Patrick Proniewski In-Reply-To: Date: Wed, 3 Dec 2014 17:21:44 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <727AB395-CF83-4D13-A2C3-50969C2969B0@patpro.net> <547F3352.3040101@multiplay.co.uk> <43C2162E-2B9F-437F-B4CF-E792CEC5DA7B@patpro.net> To: Borja Marcos X-Mailer: Apple Mail (2.1510) Cc: freebsd-net@freebsd.org, Steven Hartland X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 16:21:48 -0000 On 3 d=E9c. 2014, at 17:09, Borja Marcos wrote: > On Dec 3, 2014, at 5:05 PM, Patrick Proniewski wrote: >=20 >> I did and it failed, but maybe I've not used the right syntax: >>=20 >> # ifconfig bxe0 -vlanmtu >> ifconfig: -vlanmtu: Invalid argument >>=20 >> man bxe makes me think that this driver won't allow this kind of = changes. >=20 > Although there's no guarantee it will solve your issues, try disabling = LRO and TSO. I've found situations in which they do more harm than good, = depending on the particular card and driver. >=20 > Anyway it's a cheap experiment :) Sure.=20 Same result unfortunately. I've made few tcpdump experiments during my scp upload tests. One on = bxe0 that shows a lot of packets for the LLC protocol, and one on = bxe0.161 that shows many "suspected TCP retransmissions", and very few = LLC packet (6 in about 350 packets of this capture). Patrick=