Closed Bug 1603083 Opened 5 years ago Closed 5 years ago

40.68 - 108.63% glterrain / tart / tscrollx (windows10-64-shippable-qr) regression on push c12330a620c4fe34b5c55d9d225554dbaa69640b (Sun December 8 2019)

Categories

(Core :: Graphics: WebRender, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox-esr68 --- unaffected
firefox71 --- unaffected
firefox72 --- unaffected
firefox73 --- fixed

People

(Reporter: marauder, Assigned: sotaro)

References

(Regression)

Details

(4 keywords)

Talos has detected a Firefox performance regression from push:

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

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

Regressions:

109% glterrain windows10-64-shippable-qr opt e10s stylo 1.15 -> 2.40
54% tscrollx windows10-64-shippable-qr opt e10s stylo 0.82 -> 1.27
52% tscrollx windows10-64-shippable-qr opt e10s stylo 0.83 -> 1.26
41% tart windows10-64-shippable-qr opt e10s stylo 2.46 -> 3.46

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

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

Component: Performance → Graphics: WebRender
Flags: needinfo?(sotaro.ikeda.g)
Product: Testing → Core
Target Milestone: --- → mozilla73
Version: Version 3 → unspecified
Blocks: 1600879
Regressed by: 1592509

This is an expected regression as in Bug 1592509 Comment 3 and Bug 1595437 Comment 13.

:gw, can you comment to the bug?

Flags: needinfo?(sotaro.ikeda.g) → needinfo?(gwatson)
Priority: -- → P1

Yep, those are expected regressions (for now, at least).

We know that we want to use DirectComposition where possible, going forward. It will provide a number of power and performance improvements overall. Getting it enabled now allows us time to work out any visual (and performance regressions).

For these specific performance regressions, there's two possible outcomes, either:

(1) This is a relevant performance regression, related to what appears to be higher than expected GPU usage in the DWM process. We're investigating this now (it's being tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1602803).

(2) It also appears from profiling that DC mode has some level of fixed overhead, and that tests with vsync disabled, running at low resolutions do regress in this mode. If that is the case, we're OK with this regression as it's not relevant to real world performance.

Once we resolve the bug in (1) we'll have a better idea if we need to do anything extra here, based on if those fixes change these numbers.

Flags: needinfo?(gwatson)

This patch (https://bugzilla.mozilla.org/show_bug.cgi?id=1603314) resolves these regressions. However, I'm going to experiment with some other possible solutions that be a better way to achieve it (see https://bugzilla.mozilla.org/show_bug.cgi?id=1602803#c9 for context).

Bug 1604088 disabled DirectComposition, so I believe this regression should be gone. NI Marian to confirm.

Glenn, do you want to keep this bug open assuming that's the case or should we track follow-up work in the other bugs you referenced?

Flags: needinfo?(marian.raiciof)
Flags: needinfo?(gwatson)

Yep, we can close this (the regression is gone - if it returns when we re-enable compositor we can open a new bug).

Flags: needinfo?(gwatson)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Assignee: nobody → sotaro.ikeda.g
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.