From nobody Sun Feb 25 16:37:53 2024 X-Original-To: bugs@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 4TjTv62n0Tz5BYqc for ; Sun, 25 Feb 2024 16:37:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TjTv60PKRz4nD8 for ; Sun, 25 Feb 2024 16:37:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708879074; a=rsa-sha256; cv=none; b=nBO/DiSBZgucSCSn2bWmnQtk0YCg5sWxingzs3B+cbfb7Q4LOERY/yURNGQSpf6isEyLF+ RYJ612Ag75vUWPjxW3ZNhGrDeZHg/z77R3gT3s8NV9iUioTKV68cK0Wvb8Vk73MVhbG+W5 +DF7tjF7V8xEsUL25aWosYjry5eaYAGUmABZ7JHJ8k1fwPh0JW7tr3JPAgwJ1CxyzwuVtb yIzM03Pdamm7qDHZJKWSytvbckp/3+yaEVeBx9uynJHZT7UgjXXrHCeksBf/bvBkaZ7iZA hlYmzDD5dkp8RHQbJ70+g45evlhIo7R6daaXF5cI0yXtqCq4JtmC89DeFc8Krg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708879074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=698ikUUbwIA1MNqRDA8yhb38SJ0lim9a2V+wJ3bmeW8=; b=obYGpI7iCqC7mCIJqEUAamK5oHgx8hfA9ZDsdgMRrjvnCwQDJsAHW1COvNLpi4rQkO+F2u x2WDhpCW3u5Bh9XCJFqrbGjdpdPGw+z3Jmk2BHLwlVJ5o9Dw7nCaSaGzjJAk4EqYIVTyOm GCmCJsI4Sv2igPrq5EWO04dksgqMVNeKSIKix7Df784c40ytjvp+9dvMFOm1mecHakcDLg zFSD6vdAbtKiGYTpwIYBKVwiUB65Na+8ozSyl76iPGEETlO4eHU2waq8awEtKD+zf9xZ/O 6vhIBVCCIqG1C6+EionQJswOibXrLpg7zSFM5Np4doAV0pw3ke7CAQFpOg24mw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TjTv56b78zs0Y for ; Sun, 25 Feb 2024 16:37:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41PGbrG9007214 for ; Sun, 25 Feb 2024 16:37:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41PGbrxx007207 for bugs@FreeBSD.org; Sun, 25 Feb 2024 16:37:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253912] [PATCH] Inefficient lookup of incoming packets in libalias Date: Sun, 25 Feb 2024 16:37:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: stargrave@stargrave.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253912 Sergey Matveev changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stargrave@stargrave.org --- Comment #4 from Sergey Matveev --- I have got the same problem: BitTorrent client behind the NAT, where thousa= nds of various external addresses come to single 100Mbps forwarded UDP/TCP port. Applied patch on top of 13.2 and it runs smoothly. Before that, libalias-related kernel processes ate 50-70% of my 6-core Xeon CPU. Now all= of that (firewall+NAT+FQ-CoDel+gif-tunnel) eat 1% of a single core. Thanks for= the patch and solution! --=20 You are receiving this mail because: You are the assignee for the bug.=