From owner-svn-src-head@freebsd.org Wed Oct 10 17:48:54 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F8F110B76B6 for ; Wed, 10 Oct 2018 17:48:54 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 494A18A746; Wed, 10 Oct 2018 17:48:51 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (97-123-22-185.albq.qwest.net [97.123.22.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 2E32A1AFBDA; Wed, 10 Oct 2018 09:51:12 +0000 (UTC) Subject: Re: a word of caution about the new default of so-reuseport on FreeBSD To: Harry Schmalzbauer , =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= , src-committers@freebsd.org, svn-src-head@freebsd.org References: <2f065155-52c2-1036-78da-f6b337c69541@NLnetLabs.nl> Cc: jlundberg@llnw.com From: Sean Bruno Openpgp: preference=signencrypt Autocrypt: addr=sbruno@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFk+0UEBCADaf4bgxxKvMOhRV5NPoGWRCCGm49d6+1VFNlQ77WsY/+Zvf95TPULdRlnG w648KfxWt7+O3kdKhdRwnqlXWC7zA2Qt0dRE1yIqOGJ4jp4INvp/bcxWzgr0aoKOjrlnfxRV bh+s0rzdZt6TsNL3cVYxkC8oezjaUkHdW4mFJU249U1QJogkF8g0FeKNfEcjEkwJNX6lQJH+ EzCWT0NCk6J+Xyo+zOOljxPp1OUfdvZi3ul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IB/9Pljqt/JGamD9tx4dOVmxSyFg9 z2xzgklTLuDgS73MM120mM7ao9AQUeWiSle/H0UCK7xPOzC/aeUC4oygDQKAfkkNbCNTo3+A qDjBRA8qx0e9a/QjDL+RFgD4L5kLT4tToY8T8HaBp8h03LBfk510IaI8oL/Jg7vpM3PDtJMW tUi2H+yNFmL3NfM2oBToWKLFsoP54f/eeeImrNnrlLjLHPzqS+/9apgYqX2Jwiv3tHBc4FTO GuY8VvF7BpixJs8Pc2RUuCfSyodrp1YG1kRGlXAH0cqwwr0Zmk4+7dZvtVQMCl6kS6q1+84q JwtItxS2eXSEA4NO0sQ3BXUywANh Message-ID: <3ba1449b-c078-3375-3dc8-caba564fd387@freebsd.org> Date: Wed, 10 Oct 2018 11:48:40 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2yGwmFzfHebnLhUcyqB3X9ZCxBRzl4jsg" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2018 17:48:54 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2yGwmFzfHebnLhUcyqB3X9ZCxBRzl4jsg Content-Type: multipart/mixed; boundary="OZ2oy2wOqPuMcY8gN64PCFNvaDLkaV9mb"; protected-headers="v1" From: Sean Bruno To: Harry Schmalzbauer , =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= , src-committers@freebsd.org, svn-src-head@freebsd.org Cc: jlundberg@llnw.com Message-ID: <3ba1449b-c078-3375-3dc8-caba564fd387@freebsd.org> Subject: Re: a word of caution about the new default of so-reuseport on FreeBSD References: <2f065155-52c2-1036-78da-f6b337c69541@NLnetLabs.nl> In-Reply-To: --OZ2oy2wOqPuMcY8gN64PCFNvaDLkaV9mb Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 10/10/18 11:40 AM, Harry Schmalzbauer wrote: > Am 10.10.2018 um 10:53 schrieb Dag-Erling Sm=C3=B8rgrav: >> Author: des >> Date: Wed Oct 10 08:53:47 2018 >> New Revision: 339278 >> URL: https://svnweb.freebsd.org/changeset/base/339278 >> >> Log: >> =C2=A0=C2=A0 Upgrade to 1.8.1. >> =C2=A0=C2=A0 =C2=A0=C2=A0 Approved by:=C2=A0=C2=A0=C2=A0 re (kib) >=20 > Very much appreciated! > Most likely you are aware about the "so-reuseport" topic via Unbound-us= ers. > I didn't follow the diff/issue at all, just wanted to point it out, so > somebody from the experts team can decide if 1.8.1 is suitable (with th= e > 1.8.1 defaults) for shipping... >=20 > Thanks, > -harry >=20 > Am 08.10.2018 um 14:01 schrieb Benno Overeinder via Unbound-users: >> On 21/09/2018 20:27, nusenu via Unbound-users wrote: >>> When upgrading (and before restarting unbound) I explicitly set >>> the new defaults in the conf file to make their value explicit. >>> ( so-reuseport, harden-below-nxdomain, minimal-responses) >>> >>> After I upgraded and restarted unbound all queries were handled by >>> only a single thread >>> even though I have multiple threads enabled in the config, as a >>> result of that the number of >>> queries in the queue skyrocketed. >>> >>> I expected this to be related to so-reuseport and after setting that >>> to 'no', >>> things were back to normal (all threads handled queries again, queue >>> size back to normal). >> Thank you for bringing this to our attention.=C2=A0 so-reuseport behav= es >> indeed different for Linux and FreeBSD.=C2=A0 We will schedule a diffe= rent >> default so-reuseport config setting for FreeBSD in Unbound 1.8.2.=C2=A0= (It >> will not appear in 1.8.1 which will released this week.) >> >> Best regards, >> >> -- Benno >=20 >=20 I didn't see Johnnes on this thread, so I'm tagging him in the CC. sean --OZ2oy2wOqPuMcY8gN64PCFNvaDLkaV9mb-- --2yGwmFzfHebnLhUcyqB3X9ZCxBRzl4jsg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAlu+O3pfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /LYMzwgAjXZUOBbWAjJNVeRFNtkvoqOf+KCGpSgxyBPLVdycTZBuaaehre30ss8+ un/KlBRIvegcpwwiSGcY5KdFcYA/c/heKOqFoNlHvKLXmf5HBuv4F2qhgJddN0wY 4AbwaVZqMHufhmesXGdBdgUrE9PHKGbtPq5deZwG8Nk7Lz1HaX9M66pkSfJeUcRN sVb7Oxydh1ldYGXc2tyxmxnAipn/O7/fYgy1gPk5a+FQPZJuLO4YvhZaqIM+enac DshG4BAMW+wnuqxroCPyV65eQsuy3d1upPNaBrCLT135ciko52MEonqB+vXP8pz/ Y5oe907W9H+jsHBPeY/KFW4aXH+16g== =RBSQ -----END PGP SIGNATURE----- --2yGwmFzfHebnLhUcyqB3X9ZCxBRzl4jsg--