From nobody Wed Sep 7 07:50:01 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 4MMvYP5XQcz4brPk for ; Wed, 7 Sep 2022 07:50:01 +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 4MMvYP4X33z3xVq for ; Wed, 7 Sep 2022 07:50:01 +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 4MMvYP3VTczRxD for ; Wed, 7 Sep 2022 07:50:01 +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 2877o18o075822 for ; Wed, 7 Sep 2022 07:50:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2877o17w075821 for ports-bugs@FreeBSD.org; Wed, 7 Sep 2022 07:50:01 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: Wed, 07 Sep 2022 07:50:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: madpilot@FreeBSD.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: 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: 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=1662537001; 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=Ydsnx789mGzQZaGe8bIkmxQ7P+XXyiLA+2NiBOi2q6w=; b=ROiZlUuntvZ2Xutst0H1XScwbqLBDxU/fjjfr7r1X4HSicBCpDDIhfJ09uxviUZ+qP2O4e PtWbSSBc7vn6pZkloUszcMASpadDjSrJ4npfe23txTUEa+tcuT4eDtgUySwmnQ31rxGoqz vCU5GcfZQwCaNV7Wn1COPWjip6Co/IDzwAs++EK66m9gMN9xRgfoJEGqYo+wKi5JgGHCUU pAXimw5jgH7xFqN70p1KYEga9MJjRMY1Gok63KXzi5hJ/wsTsu2xzeLaTw7NYzM7wgS/uX m6kx4gwJhvzLtuXQfIGqCsjw/jKWBZBcYmqDDarCIdj/RsJFDFpEolK9yF7LnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662537001; a=rsa-sha256; cv=none; b=M4qum2x/CPEIcaICKiPVoQcIdIvo8C2v2sRVyA7aG07f7o2e4MRfIqZTX/3OkR02yq/MyT sgP2iod80OX5StgB973CfexTx1JxdYqX5NMEsvlCgE/B7l7h4ooSCkVQFplXtZZoFUxMfE 9NByrG0FlEFLsgQ0RzFOUbg7GJuyGbCVfP4fChjD8NmeJXcG4OJNbrcaNlHafS3sLVbN5c 1PoSG3edTt2DOCPH9jdPl+5+vg4nFkm98KF4i5MwGE3z/XQtN1MR8sSUsJ9sc5/0D2dYx9 Xs/FGBbJ6qMw41k+a9AMvN9+OgNTov8NJwj+KHT/GcgrCfqOuqFMXOO4A4b+VQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266259 --- Comment #3 from Guido Falsi --- Hi, I'll explain what I'm seeing. On my main PC I'm running head and package built with poudriere from head. Firefox is perfectly usable here, except some CPU usage peaks on certain interactions, but these could be caused by a lot of things. These peaks were less frequent a few weeks ago, but again could be unrelated. The firefox package I build has LTO disabled, but a quick test shows it mak= es no difference. In BHyve VMs (13.1, quarterly packages, 2 vCPUs) I noticed firefox being definitely slower at startup and in navigation, with long lasting peaks of = CPU usage at every interaction. Also there are firefox processes constantly eat= ing 10-20% CPU even when on a static page doing nothing. This is happening any = way firefox is run (via X11 connection to host, RDP, VNC console) Resetting the firefox profile in the VM (by `rm -rf ~/.mozilla) the issue is mitigated, but is not going away. CPU peaks last a little less, but I still= see firefox processes eating CPU when idle. Moving the machine to latest packages did "fix" the issue. Firefox anyway IS more jumpy on CPU usage recently, but again, this could be normal behaviour. Maybe the issue builds up with usage, with firefox profile files growing. M= aybe it's not firefox but some other dependency, or something specific happening= in the profile, or some firefox port option...Or a combination. --=20 You are receiving this mail because: You are the assignee for the bug.=