Date: Thu, 31 Aug 2017 15:27:47 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Graham Menhennitt <graham@menhennitt.com.au>, freebsd-ipfw@freebsd.org Subject: Re: ipfw kernel NAT performance much worse in 11-Stable than 10-Stable Message-ID: <40f3bcab-5e0d-0905-ec95-8b4eec8cef89@yandex.ru> In-Reply-To: <580bc972-7800-96ff-c190-0be176c22d77@menhennitt.com.au> References: <ca7be746-ff34-b7d6-1cae-02246066c83d@menhennitt.com.au> <ee7cbcc1-bb7a-02cc-fb73-247441b5935b@yandex.ru> <87b38492-da4b-316f-37c2-e1043c2adee4@yandex.ru> <580bc972-7800-96ff-c190-0be176c22d77@menhennitt.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --howNg4N7XQJ8CTlvjmL9dsNrE1m4DBIb6 Content-Type: multipart/mixed; boundary="reIJMrIWrelVH7UhR52rIDiLbSjEpaMG7"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Graham Menhennitt <graham@menhennitt.com.au>, freebsd-ipfw@freebsd.org Message-ID: <40f3bcab-5e0d-0905-ec95-8b4eec8cef89@yandex.ru> Subject: Re: ipfw kernel NAT performance much worse in 11-Stable than 10-Stable References: <ca7be746-ff34-b7d6-1cae-02246066c83d@menhennitt.com.au> <ee7cbcc1-bb7a-02cc-fb73-247441b5935b@yandex.ru> <87b38492-da4b-316f-37c2-e1043c2adee4@yandex.ru> <580bc972-7800-96ff-c190-0be176c22d77@menhennitt.com.au> In-Reply-To: <580bc972-7800-96ff-c190-0be176c22d77@menhennitt.com.au> --reIJMrIWrelVH7UhR52rIDiLbSjEpaMG7 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 31.08.2017 15:10, Graham Menhennitt wrote: > On 10-Stable, the interface is re1. The output of 'ifconfig re1 | grep > options' is: > options=3D8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_M= AGIC,LINKSTATE> >=20 > nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >=20 > On 11-Stable (the one with the problems), it's igb1 and the output of > 'ifconfig igb1 | grep options' is: > options=3D6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_H= WCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> >=20 > nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >=20 You need to disable TSO on your interface, ipfw nat is not compatible with TCP segmentation offloading (this is noted in ipfw(8) BUGS section).= Try to use: ifconfig igb1 -vlanhwtso -tso4 You can add these option to "ifconfig_igb1" variable in rc.conf. --=20 WBR, Andrey V. Elsukov --reIJMrIWrelVH7UhR52rIDiLbSjEpaMG7-- --howNg4N7XQJ8CTlvjmL9dsNrE1m4DBIb6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlmoAMMACgkQAcXqBBDI oXraEggArt0uH7JKEB38A+3gRnSNLXDHK4riihLpkqEWHLxiTVviITm5gNWtxDCA 9hioArLNVY3NArOzyn4H1WZ9IaecGOhjqPgcqdqZDFidwD9X7uA6oawTNg41o9Bp hkwb3flRiTARzJwQO/zhkUSutmHA181t5Q4RgWu/sszP4mqT/A7Utyw6E/2Lzb6o WQTlMzX5a10u0yHwHXU7u0LBuloIBeJsZsF/TK1dEQ/fWMQ6X/cvrbRRebP5wnDi k9Ma9yk7hGt33CVD5k5t1Md1xvAK0zkRl4xrRQCKdCIm8REzxGERDojgmwTtKtO7 B972nhYw/DpM8e1buY5jMyqg5Qh+lw== =O4lq -----END PGP SIGNATURE----- --howNg4N7XQJ8CTlvjmL9dsNrE1m4DBIb6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40f3bcab-5e0d-0905-ec95-8b4eec8cef89>