Investigate using one byte per cell for marking information
Categories
(Core :: JavaScript: GC, enhancement, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | affected |
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review |
Comment hidden (typo) |
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Comment 3•7 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Try is looking good and performance results don't show any major regressions. There's still room for improvement though.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Comment 8•5 years ago
|
||
bugherder |
Assignee | ||
Comment 9•5 years ago
|
||
Telemetry for 74 is now working and shows no discernable change from this so far.
Assignee | ||
Comment 10•5 years ago
|
||
Sadly it seems this is has caused a performance regression on android. Mark time telemetry is showing a sizeable increase on aarch64 for version 74 (this change landed two days after branching).
Mark time telemetry on aarch64:
73 74, to 15th
5th Percentile 10.29 10.4
25th Percentile 55.07 51.62
Median 89.11 99.39
75th Percentile 151.8 215.07
95th Percentile 492.97 712.5
Total GC time:
73 74
5th Percentile 25.6 25.9
25th Percentile 93.98 87.69
Median 148.45 165.7 +10%
75th Percentile 240.1 317.62 +32%
95th Percentile 723.69 965.18 +33%
Testing locally with a benchmark that constantly allocates shows a 10% time increase for long running GCs with this change.
I think this approach has been proved to work and can still be a stepping stone to further improvements (like concurrent marking) but until we have these other improvements ready to land we should back it out.
Assignee | ||
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Backout merged: https://hg.mozilla.org/mozilla-central/rev/5fda66dee91f
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 14•5 years ago
|
||
== Change summary for alert #24772 (as of Thu, 23 Jan 2020 06:11:02 GMT) ==
Improvements:
1% Base Content JS windows7-32 opt 2,944,152.67 -> 2,929,577.33
1% Base Content JS windows7-32-shippable opt 2,944,152.67 -> 2,929,577.33
0.43% Base Content JS windows7-32-shippable opt 2,944,155.33 -> 2,931,488.00
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=24772
Assignee | ||
Comment 15•4 years ago
|
||
We're not planning to do this at the current time.