Closed Bug 1626620 Opened 5 years ago Closed 5 years ago

3.65 - 3.85% displaylist_mutate (windows7-32-shippable) regression on push efa017cf034f4485591fd9afe0ba2960ffafadc0 (Fri March 27 2020)

Categories

(Firefox Build System :: Toolchains, defect, P3)

76 Branch
defect

Tracking

(firefox-esr68 unaffected, firefox75 unaffected, firefox76 fixed, firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox-esr68 --- unaffected
firefox75 --- unaffected
firefox76 --- fixed
firefox77 --- fixed

People

(Reporter: alexandrui, Assigned: padenot)

References

(Regression)

Details

(4 keywords)

Talos has detected a Firefox performance regression from push:

https://hg.mozilla.org/integration/autoland/pushloghtml?changeset=efa017cf034f4485591fd9afe0ba2960ffafadc0

As author of one of the patches included in that push, we need your help to address this regression.

Regressions:

4% displaylist_mutate windows7-32-shippable opt e10s stylo 1,377.74 -> 1,430.84
4% displaylist_mutate windows7-32-shippable opt e10s stylo 1,379.23 -> 1,429.60

You can find links to graphs and comparison views for each of the above tests at: https://treeherder.mozilla.org/perf.html#/alerts?id=25524

On the page above you can see an alert for each affected platform as well as a link to a graph showing the history of scores for this test. There is also a link to a treeherder page showing the Talos jobs in a pushlog format.

To learn more about the regressing test(s), please see: https://wiki.mozilla.org/TestEngineering/Performance/Talos

For information on reproducing and debugging the regression, either on try or locally, see: https://wiki.mozilla.org/TestEngineering/Performance/Talos/Running

*** Please let us know your plans within 3 business days, or the offending patch(es) will be backed out! ***

Our wiki page outlines the common responses and expectations: https://wiki.mozilla.org/TestEngineering/Performance/Talos/RegressionBugsHandling

Flags: needinfo?(padenot)
Component: Performance → Toolchains
Product: Testing → Firefox Build System
Version: Version 3 → unspecified

David, this is probably of importance. We'll have to check what's up when we reduce the runs (bug 1624987).

Flags: needinfo?(padenot) → needinfo?(dmajor)

efa017cf034f dramatically increased the number of webaudio samples at the top of the profile, which drowns out other functions like displaylist code.

before

Top 4 functions with the largest internal block counts:
  /builds/worker/checkouts/gecko/media/libspeex_resampler/src/resample.c:resampler_basic_direct_single, max count = 438176095
  moz_speex_inner_product_single, max count = 435523349
  moz_speex_have_single_simd, max count = 434780045
  moz_speex_resampler_process_float, max count = 413381638

after

Top 4 functions with the largest internal block counts:
  /builds/worker/checkouts/gecko/media/libspeex_resampler/src/resample.c:resampler_basic_direct_single, max count = 1322775636
  moz_speex_inner_product_single, max count = 1313265531
  moz_speex_have_single_simd, max count = 1312522227
  moz_speex_resampler_process_float, max count = 1230258604

We should monitor how this changes by the landing of bug 1625912 and then further keep an eye on the numbers as we reduce the duration.

Flags: needinfo?(dmajor)

speex functions have dropped out of the top 10 after e70a66b181f8 of bug 1625912. If the perf numbers come in favorably, we might not even need to make any further changes to duration.

Hi Eric, while Nathan is away, could you find someone to help triage this bug?

Flags: needinfo?(erahm)
Flags: needinfo?(erahm)
Priority: -- → P3

Alexandru where is this at now?

Flags: needinfo?(aionescu)

Julien, looks like Bug 1625912 laded a fix for this. Pushlog | Graph

Flags: needinfo?(aionescu)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: mozilla76 → mozilla77
Version: unspecified → 76 Branch
Depends on: 1625912

Is there something we should be uplifting to Beta to resolve this for 76 still?

Flags: needinfo?(padenot)

The graph shows a clear win on Beta as well after uplifting bug 1625912 there.

Assignee: nobody → padenot
Flags: needinfo?(padenot)

David, how do we fare on 76, do we need to fix something still?

Unfortunately, I just noticed a problem, bug 1630661.

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.