Closed Bug 1636561 Opened 5 years ago Closed 5 years ago

about:processes shows excessive CPU usage from idle Firefox under Windows

Categories

(Core :: DOM: Content Processes, defect, P3)

Unspecified
Windows 10
defect

Tracking

()

RESOLVED DUPLICATE of bug 1637559
Tracking Status
firefox78 --- wontfix

People

(Reporter: cpeterson, Unassigned)

References

Details

Attachments

(1 file)

Attached image screenshot.png

Windows Task Manager says my firefox.exe processes are pretty idle, but about:processes sometimes says "browser" uses up to 500% User and 1500% Kernel. See the attached screenshot of Fx78 Nightly with only the about:processes tab open and about:processes is reporting the "browser" process is using 79% CPU (User) and 278% CPU (Kernel).

I think Windows' CPU usage APIs can report CPU usage over 100% for machines that have multiple cores. Regardless, I would not expect my idle Firefox to be using so much CPU.

Ironically, about:processes consumes a lot of CPU, spiking my parent process to ~60% CPU (in Windows Task Manager) every second or so.

Yoric says: "On macOS, I get good results but I have reports of inconsistent results on Linux, too. It's possible that the underlying API was only tested on macOS."

Tracking for Fission M6b because we want about:processes to report accurate numbers soon, before we have many Nightly users using it.

Fission Milestone: M6c → M6b

FWIW, the Linux bug is being handled in bug 1636203. It was an unnoticed typo or merge error in the Linux implementation of the underlying API. I'll check if the same shows up in the Windows version.

No typo/merge error that I can find and the arithmetics of the Windows version looks good.
I don't have a Windows machine for building and testing at home, so it's a tad complicated for me to fix.

@tarek, do you have any idea?

Flags: needinfo?(tarek)

Bug 1637559 fixes a clock problem which could be the root cause.

Summary: about:processes shows excessive CPU usage from idle Firefox → about:processes shows excessive CPU usage from idle Firefox under Windows

FWIW, I still see about:processes running my CPU at 25-30% whenever I open it.

(In reply to Ryan VanderMeulen [:RyanVM] from comment #5)

FWIW, I still see about:processes running my CPU at 25-30% whenever I open it.

Where do you see that? OS Task Manager or about:processs?

Flags: needinfo?(tarek) → needinfo?(ryanvm)

Both show it

Flags: needinfo?(ryanvm)

Ok, so it's a different bug. about:processes really uses too much CPU.
Filed your problem as bug 1652000.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Resolution: FIXED → DUPLICATE

Clearing Fission Milestone for bugs resolved as duplicates. We don't need to track duplicates.

Fission Milestone: M6b → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: