From owner-freebsd-ipfw@freebsd.org Thu Aug 31 12:32:14 2017 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD95DE1DE50 for ; Thu, 31 Aug 2017 12:32:14 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward3p.cmail.yandex.net (forward3p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4842B76473 for ; Thu, 31 Aug 2017 12:32:14 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b6:6]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id DE70520C88; Thu, 31 Aug 2017 15:32:01 +0300 (MSK) Received: from smtp1p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1p.mail.yandex.net (Yandex) with ESMTP id 8D96317807BC; Thu, 31 Aug 2017 15:32:00 +0300 (MSK) Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 7rszsGU6kX-VptuiUg6; Thu, 31 Aug 2017 15:31:51 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1504182711; bh=hZSjDf8/YoY3WREGZlaikTzneb9D4euZlaCaeMo8u2o=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=lG5zYd7lbZXIB3iQjR5LZqCEbvN0a2J6/vS41NlT3o38RJ30b0qaUPlrn/bVtdUDq xYzp42hD2FpYkTOfM+1tBuFX7jpshuXYGfe0AT/3ZEgGdnQCFp9eHDcaGdS0OsN/2Z BhNMCt3rxyF8TsYRL+K5gFeLFseivjL3hvdCLg0s= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: ipfw kernel NAT performance much worse in 11-Stable than 10-Stable To: Graham Menhennitt , freebsd-ipfw@freebsd.org References: <87b38492-da4b-316f-37c2-e1043c2adee4@yandex.ru> <580bc972-7800-96ff-c190-0be176c22d77@menhennitt.com.au> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: <40f3bcab-5e0d-0905-ec95-8b4eec8cef89@yandex.ru> Date: Thu, 31 Aug 2017 15:27:47 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <580bc972-7800-96ff-c190-0be176c22d77@menhennitt.com.au> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="howNg4N7XQJ8CTlvjmL9dsNrE1m4DBIb6" X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 12:32:14 -0000 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" To: Graham Menhennitt , 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: <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 >=20 > nd6 options=3D29 >=20 > On 11-Stable (the one with the problems), it's igb1 and the output of > 'ifconfig igb1 | grep options' is: > options=3D6403bb >=20 > nd6 options=3D29 >=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--