Date: Sun, 7 Apr 2019 11:45:26 +1000 From: Graham Menhennitt <graham@menhennitt.com.au> To: freebsd-stable@freebsd.org Subject: Re: em performs worse than igb (latency wise) in 12? Message-ID: <81e63eaf-352d-4b29-a4c0-9085e699931e@menhennitt.com.au> In-Reply-To: <ce9e5132-534f-1c24-7245-51cd61d660fc@swishmail.com> References: <b910baa6-6428-67fa-5df4-49b777e770d1@swishmail.com> <7673edad-1e50-7e9b-961e-f28ab7a0f41e@ingresso.co.uk> <ce9e5132-534f-1c24-7245-51cd61d660fc@swishmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Not that it's at all relevant to the question here, but... It does mostly work without em in the 12 kernel - I'm not sure how, but=20 it does. I upgraded to 12-stable via source but didn't add em to my custom=20 kernel. Most things worked - basic network functionality. But I had=20 problems with ipfw and igb. Adding em to the kernel fixed them. Graham On 6/4/19 6:12 am, Kris von Mach wrote: > On 4/6/2019 2:56 AM, Pete French wrote: >> Something odd going on there there - I am using 12-STABLE and I have=20 >> igb just fine, and it attaches to the same hardware that 11 did: > > It does work in 12, throughput is great, just that the latency is=20 > higher than 11. > > igb0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu= =20 > 1500 > options=3De527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_H= WCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM= _IPV6>=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ether 38:ea:a7:8d:c1:6c > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 inet 208.72.56.19 netmask 0x= fffffc00 broadcast 208.72.59.255 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 inet6 fe80::3aea:a7ff:fe8d:c= 16c%igb0 prefixlen 64 scopeid 0x1 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 inet6 2602:ffb8::208:72:56:9= prefixlen 64 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 media: Ethernet autoselect (= 1000baseT <full-duplex>) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 status: active > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nd6 options=3D21<PERFORMNUD,= AUTO_LINKLOCAL> > >> Do you have a custom kernel, and if so did you see this note in=20 >> UPDATING? > > Yes I do, but it includes all of GENERIC which includes em drivers,=20 > otherwise it wouldn't even work with the network card. > > my custom kernel: > > include GENERIC > ident=C2=A0=C2=A0 CUSTOM > makeoptions WITH_EXTRA_TCP_STACKS=3D1 > options TCPHPTS > options SC_KERNEL_CONS_ATTR=3D(FG_GREEN|BG_BLACK) > options IPSTEALTH > options=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 AHC_REG_PRETTY_PRINT=C2=A0 = # Print register bitfields in debug > options=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 AHD_REG_PRETTY_PRINT=C2=A0 = # Print register bitfields in debug > device cryptodev > device aesni > > I did try without RACK just in case that was the culprit. > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81e63eaf-352d-4b29-a4c0-9085e699931e>