Closed
Bug 1416651
Opened 7 years ago
Closed 2 years ago
Bad performance on running tresize talos suite
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
RESOLVED
INCOMPLETE
Tracking | Status | |
---|---|---|
firefox57 | --- | unaffected |
firefox58 | --- | unaffected |
People
(Reporter: vliu, Unassigned)
References
Details
(Whiteboard: [wr-reserve] [gfx-noted][needs-investigation])
See [1] and [2] for the Comparison link in detail. They showed that
tresize opt e10s in Linux x64 opt: 33.71%
tresize opt e10s stylo_disabled Linux x64 opt: 33.38%
tresize opt e10s in Windows 10 x64 opt: 89.89%
tresize opt e10s stylo_disabled in Windows 10 x64 opt: 78.57%
[1]: Comparison link on Linux x64 opt
https://treeherder.mozilla.org/perf.html#/compare?originalProject=try&originalRevision=226893bbeb3e&newProject=try&newRevision=624d8ef848c2d76eed6a2854e03e3c54950ffd12&framework=1
[2]: Comparison link on Windows 10 x64 opt
https://treeherder.mozilla.org/perf.html#/compare?originalProject=try&originalRevision=e20b42426413&newProject=try&newRevision=ec5b6c878d2abaf1c98a5cdc1284fd38625f1822&framework=1
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage]
Updated•7 years ago
|
Blocks: stage-wr-nightly
status-firefox57:
--- → unaffected
status-firefox58:
--- → unaffected
Priority: -- → P2
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage] → [wr-mvp]
Updated•7 years ago
|
Whiteboard: [wr-mvp] → [wr-mvp] [gfx-noted]
Reporter | ||
Comment 1•7 years ago
|
||
I tried to sent try with geckoProfile enabled for both disable/enable wr. [1] and [2] were the try result.
disable wr:
[1]: https://treeherder.mozilla.org/#/jobs?repo=try&revision=77301c9c3e7f8038e78c838ea5292180db65fde8
enable wr
[2]: https://treeherder.mozilla.org/#/jobs?repo=try&revision=cb38bd99ffc84342caeee0363d2beaa088c74d12
From looked into geckoProfile above, I found the execution time of a sync call PCompositorBridge::Msg_FlushRendering in wr disabled was many times shorter than enabled case. It is worth taking time to see what is going on at this part.
Assignee: nobody → vliu
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: P2 → P1
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Vincent Liu[:vliu] from comment #1)
> I tried to sent try with geckoProfile enabled for both disable/enable wr.
> [1] and [2] were the try result.
>
> disable wr:
> [1]:
> https://treeherder.mozilla.org/#/
> jobs?repo=try&revision=77301c9c3e7f8038e78c838ea5292180db65fde8
>
> enable wr
> [2]:
> https://treeherder.mozilla.org/#/
> jobs?repo=try&revision=cb38bd99ffc84342caeee0363d2beaa088c74d12
>
> From looked into geckoProfile above, I found the execution time of a sync
> call PCompositorBridge::Msg_FlushRendering in wr disabled was many times
> shorter than enabled case. It is worth taking time to see what is going on
> at this part.
A more look into it, the most time in this Msg_FlushRendering sync call is calling WaitFlushed().
This WaitFlushed() is used to waits all pending WebRender task are done. WebRender needs this wait in the all run because it works as multi threaded way. Also, there is no better way to become an async call in the current design.
Reporter | ||
Comment 3•7 years ago
|
||
I will set this bug to Nobody because it might have above one bottlenecks affecting it. If I found any of them, I will file a new bug and depend to this one.
Assignee: vliu → nobody
Status: ASSIGNED → NEW
Priority: P1 → P2
Reporter | ||
Comment 4•7 years ago
|
||
Based on Bug 1416630 Comment 1, it still worse than disabling wr. I will still keep this open.
linux64[1]:
tresize opt e10s: 38.44%
tresize opt e10s stylo_disabled: 36.57%
Windows 10 x64 opt[2]:
tresize opt e10s: 79.39%
[1]: https://treeherder.mozilla.org/perf.html#/compare?originalProject=try&originalRevision=03107377dac6&newProject=try&newRevision=26095b988f06e8cb097118dd9ba051966fe9b195&framework=1
[2]: https://treeherder.mozilla.org/perf.html#/compare?originalProject=try&originalRevision=051d048108f2&newProject=try&newRevision=52ee54a2130bcea167e32308374a6ccd0d5950b4&framework=1
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: P2 → P1
Reporter | ||
Comment 6•7 years ago
|
||
Here to attach a geckoProfie link I run in mac machine for more detailed profiling.
[1]: https://perfht.ml/2Aj5YnC
Comment 7•7 years ago
|
||
After discussed with Vincent, this should be related to the longer pipelines in WR, compared to gecko. We could deal with this after solving other critical perf bugs.
Assignee: vliu → nobody
Status: ASSIGNED → NEW
Priority: P1 → P3
Whiteboard: [wr-mvp] [gfx-noted] → [wr-reserve] [gfx-noted]
Updated•6 years ago
|
Blocks: qr-talos-perf
Comment 8•6 years ago
|
||
https://treeherder.mozilla.org/perf.html#/graphs?series=autoland,1645986,1,1&series=autoland,1682853,1,1&series=autoland,1650995,1,1&series=autoland,1683335,1,1
Windows and Linux are both worse on tresize with WR enabled than WR disabled. Bumping to P1 for Windows regression.
OS: Unspecified → All
Priority: P3 → P1
Hardware: Unspecified → x86_64
Comment 9•6 years ago
|
||
The WR update in bug 1466549 helps on both Linux and Windows, but there's still a bit of a regression compared to non-WR.
Depends on: 1466549
Comment 10•6 years ago
|
||
This got better on linux64-qr because of bug 1471962, but it's still slightly worse than non-WR on both Linux and Windows.
Comment 11•6 years ago
|
||
bug 1476636/bug 1455422 made this slightly worse on Linux.
Updated•6 years ago
|
Assignee: nobody → a.beingessner
Comment 12•6 years ago
|
||
Bug 1477783 helped but not enough. Still worse on both Linux and Windows.
Depends on: 1477783
Comment 14•6 years ago
|
||
We can't release this to the field, but we can let this ride to beta. However, we want to investigate and understand the bad perf numbers asap.
Whiteboard: [wr-reserve] [gfx-noted] → [wr-reserve] [gfx-noted][needs-investigation]
Updated•6 years ago
|
Priority: P1 → P2
Updated•6 years ago
|
Assignee: a.beingessner → nobody
Comment 15•6 years ago
|
||
Once bug 1489189 merges, then we have pretty reasonable results.
8.89 for WR vs 7.6 without.
I've spent some time investigating the test and it seems like we're measuring the right things here.
The remaining difference is pretty small, I don't think we need to block release on this.
Updated•6 years ago
|
Priority: P2 → P3
Updated•6 years ago
|
Comment 16•6 years ago
|
||
Comment 17•2 years ago
|
||
There is only WR.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•