Traffic "corruption" in 12-stable

Joe Clarke jclarke at marcuscom.com
Mon Jul 27 12:36:36 UTC 2020



> On Jul 27, 2020, at 01:00, Eugene Grosbein <eugen at grosbein.net> wrote:
> 
> 27.07.2020 5:16, Joe Clarke wrote:
> 
>> About two weeks ago, I upgraded from the latest 11-stable to the latest 12-stable.  After that, I periodically see the network throughput come to a near standstill.  This FreeBSD machine is an ESXi VM with two interfaces.  It acts as a router.  It uses vmxnet3 interfaces for both LAN and WAN.  It runs ipfw with in-kernel NAT.  The LAN side uses a bridge with vmx0 and a tap0 L2 VPN interface.  My LAN side uses an MTU of 9000, and my vmx1 (WAN side) uses the default 1500.
>> 
>> Besides seeing massive packet loss and huge latency (~ 200 ms for on-LAN ping times), I know the problem has occurred because my lldpd reports:
>> 
>> Jul 26 15:47:03 namale lldpd[1126]: frame too short for tlv received on bridge0
>> 
>> And if I turn on ipfw verbose messages, I see tons of:
>> 
>> Jul 26 16:02:23 namale kernel: ipfw: pullup failed
>> 
>> This leads to me to believe packets are being corrupted on ingress.  I’ve applied all the recent iflib changes, but the problem persists. What causes it, I don’t know.
>> 
>> The only thing that changed (and yes, it’s a big one) is I upgraded to 12-stable.  Meaning, the rest of the network infra and topology has remained the same.  This did not happen at all in 11-stable.
>> 
>> I’m open to suggestions.
> 
> First, try: ifconfig $ifname -rxcsum -txcsum

Thanks for the suggestion.  I should have mentioned I’ve been initializing these two interfaces since 11-stable with:

ifconfig_vmx0="up mtu 9000 -tso -lro -vlanhwtso -rxcsum -txcsum -rxcsum6 -txcsum6 -tso4 -tso6 -vlanhwcsum”
ifconfig_vmx1="DHCP -tso -lro -vlanhwtso -rxcsum -txcsum -rxcsum6 -txcsum6 -tso4 -tso6 -vlanhwcsum”

And I’m running:

FreeBSD namale.marcuscom.com 12.1-STABLE FreeBSD 12.1-STABLE NAMALE  amd64 1201520 1201520

I most recently built this yesterday, but the previous kernel that exhibited the problem was built about a week ago.  It had the fragment fixes for iflib.c.

Joe

> 


---
PGP Key : http://www.marcuscom.com/pgp.asc






More information about the freebsd-stable mailing list