[Bug 266259] www/firefox 104: high CPU usage

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Sep 2022 01:38:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266259

Graham Perrin <grahamperrin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grahamperrin@freebsd.org,
                   |                            |madpilot@FreeBSD.org
           See Also|                            |https://bugs.freebsd.org/bu
                   |                            |gzilla/show_bug.cgi?id=2634
                   |                            |36

--- Comment #1 from Graham Perrin <grahamperrin@freebsd.org> ---
Interesting. 

I have not found this with any recent Firefox on CURRENT, I'm a relatively
heavy user (848 tabs at the time of writing, typically across two or more
windows with Simple Tab Groups and dozens of other extensions). AMD Thames
[Radeon HD 7550M/7570M/7650M] in a circa 2013 notebook with HDD plus old USB
flash drives for L2ARC, <https://bsd-hardware.info/?probe=7c6751649b>. 

% zgrep firefox\ upgraded /var/log/messages.0.bz2
Aug 27 17:06:39 mowa219-gjp4-8570p-freebsd pkg[4094]: firefox upgraded:
103.0.2,2 -> 104.0_2,2 
Aug 30 01:03:36 mowa219-gjp4-8570p-freebsd pkg[62139]: firefox upgraded:
104.0_2,2 -> 104.0_3,2 
Sep  1 17:03:28 mowa219-gjp4-8570p-freebsd pkg[43080]: firefox upgraded:
104.0_3,2 -> 104.0.1,2 
% grep firefox\ upgraded /var/log/messages
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #20
main-n257645-160a2f2cdda8: Mon Aug 29 00:44:34 BST 2022    
grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
amd64 1400066 1400066
% pkg -vv | grep -e url -e enabled -e priority
    url             :
"pkg+http://pkg0.pkt.freebsd.org/FreeBSD:14:amd64/latest",
    enabled         : yes,
    priority        : 2,
    url             :
"https://alpha.pkgbase.live/current/FreeBSD:14:amd64/latest",
    enabled         : no,
    priority        : 0,
    url             : "file:///usr/local/poudriere/data/packages/main-default",
    enabled         : yes,
    priority        : 3
% 


(In reply to Riccardo Torrini from comment #0)

> - madpilot@ compiled a 104.0.1 without LTO, same high CPU usage
> - madpilot@ saw it on VM under bhyve

Noted. 


> - all others pkg updated to latest (all but firefox)

Packages from latest, or quarterly? 

pkg lock -l

pkg prime-origins | sort

(Attach as a .txt file, if you like.)


> - video: intel: Driver for Intel(R) HD Graphics

Maybe try graphics/drm-510-kmod

<https://www.freshports.org/graphics/drm-510-kmod/#packages> not yet packaged
for quarterly, a run of poudriere completed a few hours ago
<http://beefy14.nyi.freebsd.org/build.html?mastername=131amd64-quarterly&build=8327a5f1bca6>
so there might be not long to wait. In the meantime we can build from source.

-- 
You are receiving this mail because:
You are the assignee for the bug.