Closed
Bug 1875117
Opened 9 months ago
Closed 9 months ago
Ship parallel marking
Categories
(Core :: JavaScript: GC, task)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
124 Branch
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The most recent nightly experiment to enable parallel marking show some clear improvements so let's ship this to our users:
https://docs.google.com/spreadsheets/d/1NkTLDfDf-Gf30nwN-U1pIsSvHQpu33eb3Mq98C6b4bw/edit#gid=0
Summary:
- 20-30% reduction in GC time across desktop platforms
- 10% reduction in GC max pause time
- 10% fewer GC slices
- Slices that overran their budget were worse but these remain rare
- Parallel marking performs significantly better macOS than other platforms
Caveats:
- This will not be enabled for mobile which requires further work
- Only two threads will be used to start with
The plan is to enable this in version 124. If there are problems we can hold this as nightly only or disable it again.
Assignee | ||
Comment 1•9 months ago
|
||
Assignee | ||
Comment 2•9 months ago
|
||
Summary:
- Jetstream2: high-confidence 28% improvements splay-Worst and 8% on splay-Average subtests on Windows
- matrix-react-bench: high-confidence 1.3% overall improvement on macOS
- Speedometer3: overall unaffected, with several low-confidence changes in both directions
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1051cef25fba
Ship GC parallel marking r=sfink
Comment 4•9 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 months ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Assignee | ||
Comment 5•9 months ago
|
||
Telemetry indicates this is working well.
Mark rate increased by 50-60%, median total GC time decreased by 35% (and by more for longer collections) and median max pause time decreased by 20%.
Summary of telemetry changes: https://docs.google.com/spreadsheets/d/1eWcQGeXnfhu0nUHUj1wj7VZ3SMMilump8h19w5s1bXc/edit?usp=sharing
You need to log in
before you can comment on or make changes to this bug.
Description
•