Closed Bug 1591889 Opened 6 years ago Closed 6 years ago

Increase in slow SWEEP_MARK tasks in nightly builds 2019-10-22

Categories

(Core :: JavaScript: GC, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox-esr68 --- unaffected
firefox70 --- unaffected
firefox71 --- unaffected
firefox72 --- fixed

People

(Reporter: jonco, Assigned: allstars.chh)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Telemetry detected an increase in slow SWEEP_MARK phases in nightly builds. This is probably due to bug 1564136 which landed during this period

Alert details: http://alerts.telemetry.mozilla.org/index.html#/detectors/1/metrics/2368/alerts/?from=2019-10-22&to=2019-10-22
Changes new to Nightly builds on 2019-10-22: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=563f437f24b9e12495b0f2c364538a2b8d8a0ca7&tochange=47d7c18620c845c3a42610fea5468ccc50889bae
The value of GC_SLOW_TASK over time: https://telemetry.mozilla.org/new-pipeline/evo.html#!measure=GC_SLOW_TASK

The 'slow phase' telemetry records any phase that goes 1.5 times or 5ms over its budget. The marking that we now do on a background thread during sweeping should be limited by the slice budged so it should not be possible for this to exceed its budget.

Yoshi, do you want to look into this?

Here's a better telemetry link. We're interesting in what's labelled as '10 bucket':

Flags: needinfo?(allstars.chh)
Assignee: nobody → allstars.chh
Flags: needinfo?(allstars.chh)

GCRuntime::joinTask will call recordParallelPhase(), and causes the parallel
duration is multiplied when we call joinTask(sweepMarkTask) multiple times.

Pushed by allstars.chh@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d8a841c1c74b bail out early if task is already joined. r=jonco
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72

We should leave this open until we can verify that we have fixed the problem. It usually takes a few days for telemetry to come through.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Keywords: leave-open

Renaming this bug to be more specific because the telemetry alert was about the GC_SLOW_TASK histogram (for parallel tasks) rather than the GC_SLOW_PHASE histogram (work run on the main thread).

Summary: Increase in slow SWEEP_MARK phases in nightly builds 2019-10-22 → Increase in slow SWEEP_MARK tasks in nightly builds 2019-10-22

The telemetry has reverted to its previous state now.

Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: