Horrendous upload network performance with VLAN (download seems OK)

Borja Marcos borjam at sarenet.es
Wed Dec 3 16:25:42 UTC 2014


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

> On 3 déc. 2014, at 17:09, Borja Marcos <borjam at sarenet.es> wrote:
> 
>> On Dec 3, 2014, at 5:05 PM, Patrick Proniewski wrote:
>> 
>>> I did and it failed, but maybe I've not used the right syntax:
>>> 
>>> 	# ifconfig bxe0 -vlanmtu
>>> 	ifconfig: -vlanmtu: Invalid argument
>>> 
>>> man bxe makes me think that this driver won't allow this kind of changes.
>> 
>> 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.
>> 
>> Anyway it's a cheap experiment :)
> 
> Sure. 
> 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).

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.



More information about the freebsd-net mailing list