Open Bug 1801255 (PHC2023) Opened 2 years ago Updated 1 year ago

[meta] Get PHC running on the release channel

Categories

(Core :: Memory Allocator, task)

task

Tracking

()

People

(Reporter: pbone, Unassigned)

References

(Depends on 9 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

Several ideas where suggested on slack for enabling PHC more widely. Mainly we want to be able to enable it in a more "dynamic" way so it can be used easily in beta and eventually release.

  • Enable PHC probabilistically for the parent process (maybe?)
  • Enable PHC probabilistically for GPU/socket/etc processes.
  • Enable PHC probabilistically for at most one content process - but make it more aggressive for this process.
  • Make PHC less aggressive for computers with less than 8GB memory.
  • Disable PHC for computers with less than 4GB memory.
  • Maybe enabling PHC via Normandy.

All of this means making the decision dynamic and probably controlled by the parent process. PHC should be able to detect its process type, but will also need another way to control the chance of enabling it and how to ensure at most one content process has it. That could be an environment variable, IPC or something, I think it's unclear what's best right now.

Depends on: 1814798
Keywords: meta
Summary: PHC should be more configurable. → [meta] Get PHC running on the release channel
Alias: PHC2023
Depends on: 1818659
Depends on: 1818660
Depends on: 1818661
Depends on: 1822451
Depends on: 1828638
Depends on: 1828599
Depends on: 1829125
Depends on: 1829127
Depends on: 1829128
Depends on: 1741905
Depends on: 1833807
Depends on: 1839147
Depends on: 1841538
Depends on: 1845655
Depends on: 1845017
Depends on: 1849121
You need to log in before you can comment on or make changes to this bug.