Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 17:25:28 +0100
From:      Borja Marcos <borjam@sarenet.es>
To:        Patrick Proniewski <patpro@patpro.net>
Cc:        freebsd-net@freebsd.org, Steven Hartland <killing@multiplay.co.uk>
Subject:   Re: Horrendous upload network performance with VLAN (download seems OK)
Message-ID:  <F537F496-27F4-4E31-850A-641C8F3719AC@sarenet.es>
In-Reply-To: <E3234CED-CEB4-48AF-B3F9-1492AFF4DB46@patpro.net>
References:  <727AB395-CF83-4D13-A2C3-50969C2969B0@patpro.net> <547F3352.3040101@multiplay.co.uk> <43C2162E-2B9F-437F-B4CF-E792CEC5DA7B@patpro.net> <DC8D5BD7-8743-4AB9-952B-54822723610D@sarenet.es> <E3234CED-CEB4-48AF-B3F9-1492AFF4DB46@patpro.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 3, 2014, at 5:21 PM, Patrick Proniewski wrote:

> On 3 d=E9c. 2014, at 17:09, Borja Marcos <borjam@sarenet.es> wrote:
>=20
>> 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 :)
>=20
> Sure.=20
> Same result unfortunately.
>=20
> 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).

I forgot, sorry. Sometimes you need to set the interface to down and up =
again to make sure changes to flags such as LRO and TSO have been =
applied :/

TSO can be disabled in a global way using a sysctl variable: =
net.inet.tcp.tso





Borja.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F537F496-27F4-4E31-850A-641C8F3719AC>