Closed Bug 1796525 Opened 8 months ago Closed 8 months ago

Set background content process to the EcoQoS on Windows 11


(Core :: Hardware Abstraction Layer (HAL), task)




108 Branch
Tracking Status
relnote-firefox --- 108+
firefox108 --- fixed


(Reporter: florian, Assigned: florian)




(2 files)

This can be done by using the SetProcessInformation function. We can do it at the same time as we set the process priority to background.

Pushed by
Set the QoS of background content processes to 'eco', r=gsvelto.
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Depends on: 1800412

Release Note Request (optional, but appreciated)
[Why is this notable]: A green leaf icon will be visible in the Windows 11 22H2 Task Manager next to some Firefox processes.
In most cases this should either have no effect (eg. on machines running on older versions of Windows), or result in a nice power use reduction. In some extreme testcases, I saw power use caused by a background tab be divided by 5 (this was when testing on an Intel Core 12th gen CPU on Windows 11 22H2). In other tests (bug 1800412 comment 6 ; older CPU and older version of Windows 11) this patch only helped when the machine was running on battery, but provided a nice power use reduction in that case, which should help with battery life.
If for some reason some users are negatively affected (eg. if they rely on background tabs having maximum performance), the dom.ipc.processPriorityManager.backgroundUsesEcoQoS preference can be used from about:config to disable the feature.
[Affects Firefox for Android]: no
[Suggested wording]: Processes used for background tabs now use efficiency mode on Windows 11 to limit resource use.
[Links (documentation, blog post, etc)]:

relnote-firefox: --- → ?
You need to log in before you can comment on or make changes to this bug.