Closed Bug 1657769 Opened 4 years ago Closed 4 years ago

Start running talos tests with software webrender

Categories

(Firefox Build System :: Task Configuration, task, P2)

task

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: mattwoodrow, Assigned: ahal)

References

Details

Attachments

(3 files)

Similar to bug 1656811, it would be really good to enable some performance tests for software webrender, so that we can get an idea of performance.

I did an initial run forcing it to be enabled to get some initial numbers:

https://treeherder.mozilla.org/perf.html#/compare?originalProject=mozilla-central&newProject=try&newRevision=0b7747f42985e593f79b1af9731c2ee44d7fd871&framework=1&selectedTimeRange=172800

From that, I think the tests that show useful data (where SW WR is slower than BasicCompositor, and it's worse than any existing WR regressions) are:

basic_compositor_video - bcv
pdfpaint - o
rasterflood_gradient - g4
rasterflood_svg - g4
TART - s
tp5o_scroll - g1
tscrollx - s
tsvgx - s

I think just enabling s,g1,g4,o and bcv would be sufficient to get useful coverage for now.

Assignee: nobody → gbrown
Status: NEW → ASSIGNED

Looks like this patch was WIP and wasn't ready to land yet. Things are a bit hectic atm, but I'll try to get to this soonish. Feel free to needinfo me if it's taking too long.

Assignee: gbrown → nobody
Status: ASSIGNED → NEW
Priority: -- → P2
Assignee: nobody → ahal
Status: NEW → ASSIGNED
Attachment #9168942 - Attachment description: Bug 1657769 - Run some Talos tests with software webrender; r= → Bug 1657769 - Run some Talos tests with software webrender; r=jmaher

Looks like there are some broken tasks on Windows and Mac:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d774af14e44a8be35a2eabbd6b125ec04b5bca9e

Want me to adjust to only run the tasks that are passing? Or want me to just run them all on Linux for now and wait for you or someone on the perftest team to fix the broken tasks, then enable the platform wholesale?

Flags: needinfo?(matt.woodrow)

Also do we want to run these on -qr platforms, not -qr platforms or both?

I think we only need this to run on linux64-qr for now, and we can add other platforms once it becomes more stable there.

It looks like the bcv job isn't currently enabled for linux64-qr though, is it possible to get that added?

Flags: needinfo?(matt.woodrow)

(In reply to Matt Woodrow (:mattwoodrow) (PTO until 24th August) from comment #5)

It looks like the bcv job isn't currently enabled for linux64-qr though, is it possible to get that added?

It looks like talos-bcv is currently not configured to run on any -qr platforms. Does that change your mind? There's no simple way of only turning it on there for the "software-webrender" variant, we'd likely need to turn it on for normal -qr platforms as well. I'd be tempted to handle this in a follow-up bug and get feedback from the perftest team.

(In reply to Andrew Halberstadt [:ahal] from comment #6)

There's no simple way of only turning it on there for the "software-webrender" variant, we'd likely need to turn it on for normal -qr platforms as well.

On second thought, this isn't true.. I can get it running only with software-webrender. I guess the question is whether you still wanted to if there's no baseline to compare against.

Looks like talos-svgr is also just disabled right across the board:
https://searchfox.org/mozilla-central/source/taskcluster/ci/test/talos.yml#446

I'll post a patch soon that at least gets g1, g4 and o running on linux64-qr platforms.

Attachment #9168942 - Attachment description: Bug 1657769 - Run some Talos tests with software webrender; r=jmaher → Bug 1657769 - Run some Talos tests with software webrender on linux64-qr, r=jmaher

I decided to go ahead and land the above as any further work needed here can be done incrementally on top of that patch.

Just to clarify, the landed patch will not schedule any T(s) or T(bcv) tasks, as both of those are already skipped more generally (the former everywhere, the latter on all -qr platforms).

Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/01cf90b1b5db
Run some Talos tests with software webrender on linux64-qr, r=jmaher

bcv is 'basic compositor video', which explicitly disables acceleration using a pref and then runs some video tests. For normal -qr platforms this isn't useful, since the pref would disable WebRender, and it'd be an identical configuation to the non-qr variant.

When software webrender is enabled, disabling acceleration won't disable WR, and test remains useful (testing video performance of the software webrender configuration).

The baseline I want to compare against here is the non-qr bcv, to see if webrender-software is worse than layers-software.

Thanks!

Ok, Ieave-open to make that change. I think it'll end up being tricky after all, but I'll figure something out.

Keywords: leave-open

It's often useful to nest 'by-*' statements in the CI configs. However, calling
'resolve_keyed_by' will keep drilling down and resolving these statements all
at once. Normally this is fine, but sometimes we may want to use, e.g 'by-foo'
when 'foo' hasn't been resolved yet (i.e, it is being set by a later transform
or something like that).

Currently, this means that we'll hit the 'default' case as 'foo' doesn't exist.
This revision adds the ability to 'defer' evaluation of 'foo' until a later
time.

While running into this scenario might be a code smell, re-organizing
transforms to untangle these kinds of ordering dependencies will be a major
undertaking. Plus, there are legitimate reasons we might want one kind of
ordering with certain tasks, then another ordering for other tasks.

From mwoodrow:

bcv is 'basic compositor video', which explicitly disables acceleration using a
pref and then runs some video tests. For normal -qr platforms this isn't
useful, since the pref would disable WebRender, and it'd be an identical
configuation to the non-qr variant.

When software webrender is enabled, disabling acceleration won't disable WR,
and test remains useful (testing video performance of the software webrender
configuration).

The baseline I want to compare against here is the non-qr bcv, to see if
webrender-software is worse than layers-software.

Depends on D88191

Keywords: leave-open
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/485e155cf1d6
[taskgraph] Add ability to 'defer' some keys in resolve_keyed_by, r=taskgraph-reviewers,aki
https://hg.mozilla.org/integration/autoland/rev/89adcd190276
[ci] Run talos bcv on -qr platforms when software webrender is enabled, r=jmaher
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

This made decision tasks take 10 more minutes than they used to.

Flags: needinfo?(ahal)

Whaaa? Ok I'll investigate or back out tomorrow (if this is causing sheriff issues feel free to back out now).

Regressions: 1661659
Flags: needinfo?(ahal)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: