[e10s] Uses a lot of cpu with dom.ipc.processCount > 100

NEW
Unassigned

Status

()

Firefox
General
4 years ago
a year ago

People

(Reporter: fatrat, Unassigned)

Tracking

35 Branch
x86_64
Windows 8.1
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(e10slater)

Details

(Reporter)

Description

4 years ago
It's not really a bug, but a "chromium" way of how it works.
With a lot of tabs on a computer with a quad core cpu, each background process use 0.01% - 0.05% of cpu , plus main process around 6% or more . On a laptop with a dual core cpu 0.02% - 0.1% respectively. With a hundred of tabs, laptop is unusable... Quad core computer can handle firefox somewhat, nonetheless firefox should not be so resource hungry. Until now firefox was in one thread and it would tap only one core, but with more processes it can make computer unusable with a lot of script heavy tabs.

Solution would be to suspend background processes and leave last x (around 10-20 or so) active.

Updated

4 years ago
Blocks: 516752

Comment 1

4 years ago
Any CPU would shock on that! the only solution to this would be that firefox manages how many containers should be allocated automatically
(Reporter)

Comment 3

4 years ago
I thought that setting to something like dom.ipc.processCount = "cpu cores-1" would solve it, but actually it will not, because any sub plugin-container.exe (like flash) can be launched from any tab... So yeah only suspend might be a solution, this way you can go full retarded with billions of processes, that would go to sleep. I've seen that in Opera, they launch subprocesses for each tab and suspend them if not activated for more than 40 seconds. Pretty comfy if you ask me. Something like that would be awesome in firefox. Only problem would be checking if there is some video/audio streaming, to not interrupt downloading, but for that you can check if sub plugin-container.exe was launched (just an idea).

Updated

4 years ago
Status: UNCONFIRMED → NEW
tracking-e10s: --- → later
Ever confirmed: true

Comment 4

3 years ago
> ut actually it will not, because any sub plugin-container.exe (like flash) can be launched from any tab... 

that would still only result in {N*2 ; N=cores} processes. Considering that flash&co *should* be idle most of the time that should be manageable for the CPU.
You need to log in before you can comment on or make changes to this bug.