Allow PHC to be enabled by a pref
Categories
(Core :: Memory Allocator, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: pbone, Assigned: pbone)
References
(Blocks 1 open bug)
Details
(Keywords: perf-alert)
Attachments
(2 files, 1 obsolete file)
We'd like to enable PHC via a pref so that it can eventually be configured via Normandy and/or run on the Release channel. That also means being able to enable PHC late - after prefs have been read.
We could also let the parent process read the prefs and set environment variables for the child processes so they could enable it earlier.
Assignee | ||
Comment 1•2 years ago
|
||
Add the ability to enable and disable PHC at runtime through the malloc
bridge.
Depends on D178752
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D178753
Assignee | ||
Comment 3•2 years ago
|
||
Add a new pref for controlling PHC. The pref can be changed at runtime and
will affect the parent and content processes.
Depends on D178754
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 5•1 year ago
|
||
Backed out for multiple phc related failures.
- Push with failures - XPCshell
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | toolkit/crashreporter/test/unit/test_crash_phc.js | xpcshell return code: 0
- Push with failures - gtest
- Failure Log
- Failure line: PROCESS-CRASH | MOZ_CRASH(failed to get a PHC allocation) [@ PHC_TestPHCAllocations_Test::TestBody] | gtest
Assignee | ||
Updated•1 year ago
|
Comment 7•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3064abbb72eb
https://hg.mozilla.org/mozilla-central/rev/4045e1720c33
Comment 8•1 year ago
|
||
(In reply to Pulsebot from comment #6)
Pushed by pbone@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3064abbb72eb
pt 1. Add bool to enable/disable PHC at runtime r=glandium
https://hg.mozilla.org/integration/autoland/rev/4045e1720c33
pt 2. Add a PHCManager component to control PHC r=glandium,emilio
== Change summary for alert #39633 (as of Thu, 21 Sep 2023 11:49:59 GMT) ==
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) | Performance Profiles |
---|---|---|---|---|---|
3% | wikipedia loadtime | macosx1015-64-shippable-qr | bytecode-cached fission warm webrender | 369.71 -> 358.95 | Before/After |
3% | wikipedia loadtime | macosx1015-64-shippable-qr | bytecode-cached fission warm webrender | 370.13 -> 359.85 | Before/After |
2% | wikipedia fcp | macosx1015-64-shippable-qr | cold fission webrender | 556.38 -> 543.03 | Before/After |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=39633
Updated•1 year ago
|
Comment 9•1 year ago
|
||
These patches turned off PHC on Nightly and improved performance. Was this intentional?
Assignee | ||
Comment 10•1 year ago
|
||
(In reply to Markus Stange [:mstange] from comment #9)
These patches turned off PHC on Nightly and improved performance. Was this intentional?
Thanks. I've filed Bug 1856268
Description
•