Closed Bug 1863257 Opened 11 months ago Closed 3 months ago

Remove sync wait in compositor thread of main thread canvas by RemoteTextureMap::WaitForRemoteTextureOwner()

Categories

(Core :: Graphics, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 4 open bugs)

Details

Attachments

(1 file, 1 obsolete file)

Current async RemoteTexture needs sync IPC to ensure first RemoteTexture in RemoteTextureMap. It is nice if the Sync IPC could be removed.

Assignee: nobody → sotaro.ikeda.g
Depends on: 1868927
Depends on: 1868928
Blocks: 1869931
Summary: Investigate to remove sync IPC related to async RemoteTexture → Remove sync IPC related to RemoteTexture
Depends on: 1873075
Depends on: 1875980
Depends on: 1877010
Depends on: 1873456
Blocks: 1895168
Attachment #9371901 - Attachment is obsolete: true
Summary: Remove sync IPC related to RemoteTexture → Remove sync wait in compositor thread of RemoteTextureMap::WaitForRemoteTextureOwner()
Attachment #9400404 - Attachment description: WIP: Bug 1863257 - Remove sync IPC related to RemoteTexture → WIP: Bug 1863257 - Remove sync wait in compositor thread of RemoteTextureMap::WaitForRemoteTextureOwner()

Setting this to a P1 since it blocks an S2 report.

Priority: -- → P1
Summary: Remove sync wait in compositor thread of RemoteTextureMap::WaitForRemoteTextureOwner() → Remove sync wait in compositor thread of main thread canvas by RemoteTextureMap::WaitForRemoteTextureOwner()
Attachment #9400404 - Attachment description: WIP: Bug 1863257 - Remove sync wait in compositor thread of RemoteTextureMap::WaitForRemoteTextureOwner() → WIP: Bug 1863257 - Remove sync wait in compositor thread of main thread canvas by RemoteTextureMap::WaitForRemoteTextureOwner()
Depends on: 1896780
Attachment #9400404 - Attachment description: WIP: Bug 1863257 - Remove sync wait in compositor thread of main thread canvas by RemoteTextureMap::WaitForRemoteTextureOwner() → Bug 1863257 - Remove sync wait in compositor thread of main thread canvas by RemoteTextureMap::WaitForRemoteTextureOwner()
Blocks: 1896789
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34a19d66cdca Remove sync wait in compositor thread of main thread canvas by RemoteTextureMap::WaitForRemoteTextureOwner() r=gfx-reviewers,lsalzman
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Regressions: 1897821

Fix caused regression(Bug 1897821). Going to disable async wait of remote texture owner for now by Bug 1897821.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Depends on: 1898436
Depends on: 1898650
Depends on: 1899096
Depends on: 1899231

(In reply to Sotaro Ikeda [:sotaro] from comment #7)

Fix caused regression(Bug 1897821). Going to disable async wait of remote texture owner for now by Bug 1897821.

As an FYI this bug(1863257) caused a regression and regressed the following:
Perfherder has detected a talos performance change from push 9142f728c689228ac4b5a2f55b2d50a3c5440d1b.

Regressions:

Ratio Test Platform Options Absolute values (old vs new)
9% pdfpaint issue840.pdf macosx1015-64-shippable-qr e10s fission stylo webrender 589.55 -> 639.95
4% pdfpaint tiling-pattern-box.pdf linux1804-64-shippable-qr e10s fission stylo webrender 1,739.68 -> 1,813.54

As author of one of the patches included in that push, we need your help to address this regression.
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests. Please follow our guide to handling regression bugs and let us know your plans within 3 business days, or the patch(es) may be backed out in accordance with our regression policy.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.

You can run these tests on try with ./mach try perf --alert 383

For more information on performance sheriffing please see our FAQ.

Your followup bug of 1897821 seems to have resolved the issue but I just wanted to bring awareness that enabling async wait could cause a performance regression

Flags: needinfo?(sotaro.ikeda.g)

The change is already disabled once by Bug 1897821. And with several fixes, the sync wait is going to be removed only on Nightly by Bug 1898650.

Flags: needinfo?(sotaro.ikeda.g)
Blocks: 1880218
Blocks: 1881572
Blocks: 1879707
Blocks: 1875210
Blocks: 1873620
Blocks: 1872455
Depends on: 1903447
Status: REOPENED → RESOLVED
Closed: 5 months ago3 months ago
Resolution: --- → FIXED
See Also: → 1909257
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: