Closed Bug 1868530 Opened 2 years ago Closed 2 years ago

Lower parallel marking thresholds

Categories

(Core :: JavaScript: GC, task)

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Following various bug fixes and improvements to parallel marking we should be able to lower the heap thresholds at which it is used.

These thresholds were chosen based on local benchmarking results.

In general all macOS systems I've tested perform great and the 4MB threshold is
because none of the benchmarks I used have a heap smaller than that.

Recent Windows and Linux results are also better than previously although not
as good as macOS.

I haven't done any more Android benchmarking recently so I'm using the same
value as for Linux. We're not going to enable this on Android without specific
performance work there first.

For reference, according to telemetry about 10% of our GCs have < 1MB heap size
(the minimum size captured by telemetry). A 4MB threshold excludes 11.4% of
GCs, 8MB 14.3% and 16MB 24% of GCs.

Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a9bc32d2bf16 Lower parallel marking thresholds following recent improvements r=sfink
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: