From nobody Wed May 21 14:56:42 2025 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b2ZJT0CPHz5w3FR for ; Wed, 21 May 2025 14:56:57 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b2ZJR702mz3qh1 for ; Wed, 21 May 2025 14:56:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=1mc8k8gT; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::1031) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-3081f72c271so5721140a91.0 for ; Wed, 21 May 2025 07:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1747839414; x=1748444214; darn=freebsd.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qyI+Pv/x/LDGY9Do0MlXMOA0895d7L3lgNEAFG5UxFg=; b=1mc8k8gTFJ1/ZtqwJnHr+001bJbyyJm6pWmzvwW9e27W9R52qb9/49W3DGVkduvpNY obJF/ss/N3Qba/o5MhBZp2neBKENO1hLpFZzth6KOpV39Ms0abjzSUxY/dsCGK0jw7eZ Oadxv2eErv/WN3yVwcIJp2ZNv5RpnlnZztDPJZvDdPLyHYvP3Z2AdJNMS/bfWFJSVYVm m6S1MLf8CabDAAfw2blN9maaBkhRGh1HQbYMye9bHfy3PdQtm01Ez3f0SnH1f/NdwYSU Qy59aQqnyEY9o3kbjr/r/sexJQuaMOSxDWzFs56iMBl5T39haVi1CVEAr7GF/ARSxTqY st/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747839414; x=1748444214; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qyI+Pv/x/LDGY9Do0MlXMOA0895d7L3lgNEAFG5UxFg=; b=dPpP+01f+/Ed4D8XfM7ovZsQJN1K2ZVhg6kyUhjl3mg/pJ9cLZfybES1UT9efwTl0o DgalNHtU7SWpbvqF4qdiohtz3tn63bwtTNR/MzcbYrOTtNMvXeo0qshrB6zzMnigpQqm BiyTuBQpEzIwZJ65Sh3LpHvD0hej1GYYAdWRY2cccwOMMvflH7qe/8BBil59i9vawmAg AJr7qpFHLcQaNylF5PhUwPKUQEJcBRLLqT/oHL20HWiSElDuQ2r51+3dD3xbKpJWZTMh ikduOoBjSMJ+Ndc4prAcjNTx1QRxjbUmB5Z4b6Bwii6O/njI2DXb1/iYqLVa4VjKY6AG 5QKQ== X-Forwarded-Encrypted: i=1; AJvYcCVK8wkoPF+Rw30s2Q+YUOFFSiV3qs+VgPNU9LWOQjTu/Jzp4lDxOBX/C1K5imnNGbxUR7A=@freebsd.org X-Gm-Message-State: AOJu0YwCLZUesN64JXhZzCwAqtICdqsirqeTswDA1Z5y75KoqaOUp0bE xxryVaDG9B0WihmeNIleBOEW34Su7btT73WHB7fb/5GbFYVy1PbBY96nV6y9Lhu2oeudliF+u0x Cn25yoVvZVF1tr6Y3GNljak80b0l5wJcPZo9UJlSUSg== X-Gm-Gg: ASbGncs9pfrAgP5foWEVFxXNcPLXUOumpQhBdbZARiyM6zhpBen/oCloVo83h2N56BC VBmOU2JdqevNWMWimb1YaGyac3hYuNvOzdkftXNTuWLGt8c1MZv1/+pxiQu2hm5bVbX/c+OG4Af EM+sXyHGvMUXSWncCAOXdd2ygmJcY8kGdYtcG4mFRVroI= X-Google-Smtp-Source: AGHT+IEjhL1L42JJT6TpOhl3yfWyx41V6QHNxU6SKaeVey6oeu1/wDAmQS+O2z0Cwyaxxex2Pk8jIax0EIv4wjjdc+0= X-Received: by 2002:a17:90b:2c85:b0:30a:2196:e654 with SMTP id 98e67ed59e1d1-30e8312bb11mr31651785a91.15.1747839414548; Wed, 21 May 2025 07:56:54 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 21 May 2025 08:56:42 -0600 X-Gm-Features: AX0GCFvVUnUKvyAlG4lwFb_BGhAS259P09snF4B5PirF8fLaU8RVpgl-xnQS-c0 Message-ID: Subject: Re: net.link.bridge.member_ifaddrs has landed in stable/14 To: stable@freebsd.org, net@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4b2ZJR702mz3qh1 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[net@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1031:from]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] On Tue, May 20, 2025 at 10:05=E2=80=AFPM Lexi Winter wrot= e: > > hello, > > i have just MFC'd the sysctl net.link.bridge.member_addrs to stable/14. > for detail see: https://cgit.freebsd.org/src/commit/?h=3Dstable/14&id=3Df= f1980d569c8167d38cda5f2713664866d9802bc > > in short, if you have a bridge with a lot of members (20+) and you do > not have any IP addresses assigned to those bridge members, you should > see a significant performance improvement from enabling this sysctl. > > please feel free to test this and report any problems. So to be clear, this is not the behavior change that's been much talked about in -current. However, it's related to that change. If people want to see if they are affected by that, they should set sysctl net.link.bridge.member_ifaddrs=3D0 to see if their setup still works. Of course, you'd want to do that to get the performance benefit with lots of interfaces, but if you have just a few you might see a behavior change when you update to -current or stable/15 in the future. Nothing will break after this change w/o tweaking the sysctl, but if will behoove you to do some controlled testing in the next year sometime. Warner