From nobody Tue Sep 06 20:38:47 2022 X-Original-To: ports-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 4MMcfw0vJWz4bf2x for ; Tue, 6 Sep 2022 20:38:48 +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 4MMcfv5mj7z3sVN for ; Tue, 6 Sep 2022 20:38:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MMcfv4qd9zHtB for ; Tue, 6 Sep 2022 20:38:47 +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 286KclMZ091387 for ; Tue, 6 Sep 2022 20:38:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 286Kclxs091386 for ports-bugs@FreeBSD.org; Tue, 6 Sep 2022 20:38:47 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: ports-bugs@FreeBSD.org Subject: [Bug 266259] www/firefox 104: high CPU usage Date: Tue, 06 Sep 2022 20:38:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: riccardo@torrini.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662496727; 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; bh=xCQ4CXfuAY7OMRTnN6pSw4EN7jtAjaGIqfWQX4hhaOc=; b=lfS1hdNPoT8tK2Ezq3C5RtOyo7U3TARof6IOnJHwYsFLYsFD6BCnIZlRLjUMBWPuw1PkdP MUtnPslghmFFPAPU6bfWJOcaqQjJe9vuYlInFytDjl7zRb8WOfaNUjI7ccXyM0u9knBFoK UxZArszp3mmr4pdcGGQ2nC7ptJh1PiAuqO/eZQY8jdxSiRwQHnFGXA+ilSRHNpRaabGP4H UsnH0TYlLuQKKpawoGKTSmPNoCWdW5Eic7hvpTEQYOHq5+Rjz+qxoyrJ7AedLDbr+q7HEq buuE3OwfmdWfbxB9nJoLQpuz/oKlhlkE/+57mittNLqczLxufThobEjVIMTQIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662496727; a=rsa-sha256; cv=none; b=FY57jQmdvSu82A2++/gWDPlmbqYYRufRXSg90aT64LClbILjPQfRZTJSU+eUb/UjMBaFSn xIAUGW4vNVx0FPWJwgyRqtQ8ZfqzgmuxbQj12BvqwwiH5ZzV6t5z9jYay+UQ3AWNJWAgXW tqK+mj5bmbWkEjPdgr9VMG5xtd018AdlMaQ06sVqqw4orqyckmFRu5NiX7QRYVYk7nO+jH 9xsTa03JmthKNiSP8W5p5BRHNEUgsDNJkaJHRd/lKirXbVDOyNl18LJd5upXU0Va1RLCVc cwlKz/XxixrVpyhAoJbcOW61W6LD15NxwAv5aWnd6NlSftNWbQlZytCxTbWFiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266259 Bug ID: 266259 Summary: www/firefox 104: high CPU usage Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: riccardo@torrini.org After updating www/firefox from 103.0.1 to 104.0_2 (also to 104.0_3 and 104.0.1), I noticed the CPU at 100% with top showing 300+% on the first Fir= efox process. This with 103: CPU: 0.4% user, 0.0% nice, 1.0% system, 0.1% interrupt, 98.5% idle Mem: 3077M Active, 5510M Inact, 223M Laundry, 1606M Wired, 1080M Buf, 5328M Free Swap: 4273M Total, 4273M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMM= AND 1632 riccardo 170 20 0 14G 2478M select 0 17:49 0.30% fire= fox [...and 30 more lines with 0.01% or less...] This with 104: 2361 riccardo 147 25 0 13G 1279M select 0 6:13 334.54% firef= ox Also tried with a clean profile (using refresh from within Firefox, removing the entire .mozilla/firefox directory and also with a different user). Returning to 103 stops this problem. I have many windows open/iconized, with many tabs. And I usually have /home= on NFS. I know it. It's bad behavior, even with lockd and statd. But I also tr= ied with a local /home on SSD. Same high CPU usage. Forever (at least for a cou= ple of hours after starting Firefox). No ZFS, only UFS2 both local and remote. Other tests: - madpilot@ compiled a 104.0.1 without LTO, same high CPU usage - madpilot@ saw it on VM under bhyve Firefox configurations: started 103.0.1/104.0.1 with/without: - "Use recommended performance settings" - "Use hardware acceleration when available" The 103 is still usable, the 104 is not. Home desktop: - 13.1-RELEASE-p2 GENERIC amd64 - CPU: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz (3500.00-MHz K8-class CPU) - 16GB of RAM - video: intel: Driver for Intel(R) HD Graphics - all others pkg updated to latest (all but firefox) --=20 You are receiving this mail because: You are the assignee for the bug.=