Fission content processes aren't prestarted
Categories
(Core :: DOM: Navigation, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: jesup, Assigned: jesup)
References
(Blocks 2 open bugs)
Details
(Keywords: perf:pageload, Whiteboard: [fission])
Attachments
(4 files, 13 obsolete files)
When starting a browser and navigating to an initial domain, it does not use any sort of prestarted process like is done in e10s mode - the prestarted 'web' process is not used.
Assignee | ||
Comment 1•5 years ago
|
||
https://imgur.com/gallery/m5tYJL6
Results for imgur:
non-fission: https://perfht.ml/2E5wPpO
fission: https://perfht.ml/36ngHfr
and another run:
non-fission: https://perfht.ml/2LSfaGz
fission: https://perfht.ml/2LEB1km
These are focused on the keydown event to start browsing, after a startup with ./firefox -P profile -no-remote about:blank, local opt build
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D69589
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D69590
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D69591
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D69592
Assignee | ||
Comment 7•5 years ago
|
||
FYI, to recap Riot/Matrix discussions, we have one preallocation queue used for all remote types (and e10s) other than file:. I added logs and profiler markers. Tuning may still be needed, but loading CNN (which by default causes 14 processes to be created for me) didn't hit an empty cache at any point on my (fast linux) desktop. We'll need to check it on Windows and Mac as well.
We also still allow short-duration e10s processes to be recycled and reused (only for remotetype=web (e10s)).
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Depends on D71265
Assignee | ||
Comment 10•5 years ago
|
||
Will be folded for landing
Assignee | ||
Comment 11•5 years ago
|
||
Assignee | ||
Comment 12•5 years ago
|
||
Depends on D72462
Assignee | ||
Comment 13•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 14•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 15•5 years ago
|
||
This is a workaround for bug 1638618
Assignee | ||
Comment 16•5 years ago
|
||
Since this is checked only at startup, to ensure it propagates to all
content processes we have to ensure we shut down and restart all
preallocated or cached processes (though the process running the current
page won't restart)
Depends on D76187
Assignee | ||
Comment 17•5 years ago
|
||
Depends on D76188
Comment 18•5 years ago
|
||
Comment 19•5 years ago
|
||
Backed out for browser-chrome failures on browser_resource_uri.js
backout: https://hg.mozilla.org/integration/autoland/rev/7aaac87105b7e87c636057fec87311f60c50dd76
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303178830&repo=autoland&lineNumber=49254
[task 2020-05-21T00:30:42.500Z] 00:30:42 INFO - GECKO(1448) | [Child 5984: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0B747800) [pid = 5984] [serial = 12] [outer = 00000000] [url = moz-extension://cec7b220-8b5d-48ba-a7ba-c38f39ff00d7/_generated_background_page.html]
[task 2020-05-21T00:31:59.519Z] 00:31:59 INFO - TEST-INFO | started process screenshot
[task 2020-05-21T00:31:59.586Z] 00:31:59 INFO - TEST-INFO | screenshot: exit 0
[task 2020-05-21T00:31:59.586Z] 00:31:59 INFO - Buffered messages logged at 00:30:29
[task 2020-05-21T00:31:59.586Z] 00:31:59 INFO - Entering test bound
[task 2020-05-21T00:31:59.586Z] 00:31:59 INFO - Console message: [JavaScript Error: "uncaught exception: undefined" {file: "resource://l10n-test/test.html" line: 26}]
[task 2020-05-21T00:31:59.586Z] 00:31:59 INFO - document.testsReadyPromise</<@resource://l10n-test/test.html:26:16
[task 2020-05-21T00:31:59.586Z] 00:31:59 INFO - async*document.testsReadyPromise<@resource://l10n-test/test.html:11:16
[task 2020-05-21T00:31:59.586Z] 00:31:59 INFO - @resource://l10n-test/test.html:8:34
[task 2020-05-21T00:31:59.586Z] 00:31:59 INFO -
[task 2020-05-21T00:31:59.587Z] 00:31:59 INFO - Buffered messages finished
[task 2020-05-21T00:31:59.587Z] 00:31:59 INFO - TEST-UNEXPECTED-FAIL | dom/l10n/tests/mochitest/document_l10n/non-system-principal/browser_resource_uri.js | Test timed out -
[task 2020-05-21T00:31:59.587Z] 00:31:59 INFO - GECKO(1448) | MEMORY STAT | vsize 811MB | vsizeMaxContiguous 372MB | residentFast 225MB | heapAllocated 86MB
[task 2020-05-21T00:31:59.587Z] 00:31:59 INFO - TEST-OK | dom/l10n/tests/mochitest/document_l10n/non-system-principal/browser_resource_uri.js | took 90079ms
[task 2020-05-21T00:31:59.587Z] 00:31:59 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-05-21T00:31:59.587Z] 00:31:59 INFO - TEST-UNEXPECTED-FAIL | dom/l10n/tests/mochitest/document_l10n/non-system-principal/browser_resource_uri.js | Found a tab after previous test timed out: resource://l10n-test/test.html -
[task 2020-05-21T00:31:59.594Z] 00:31:59 INFO - GECKO(1448) | [Child 3904: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 00FA6C00 == 1 [pid = 3904] [id = {70b5f5a6-b4e3-4194-8c58-399dc43f9261}]
[task 2020-05-21T00:31:59.594Z] 00:31:59 INFO - GECKO(1448) | [Child 3904, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/widget/windows/nsLookAndFeel.cpp, line 855
[task 2020-05-21T00:31:59.594Z] 00:31:59 INFO - GECKO(1448) | [Child 3904: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (00F68EF0) [pid = 3904] [serial = 1] [outer = 00000000]
[task 2020-05-21T00:31:59.597Z] 00:31:59 INFO - GECKO(1448) | [Child 3904: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (072C7400) [pid = 3904] [serial = 2] [outer = 00F68EF0]
[task 2020-05-21T00:31:59.624Z] 00:31:59 INFO - checking window state
Other failure: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303183355&repo=autoland&lineNumber=4206
[task 2020-05-21T00:39:51.001Z] 00:39:51 INFO - TEST-UNEXPECTED-FAIL | dom/ipc/tests/browser_ProcessPriorityManager.js | Uncaught exception - Waiting for browser at about:blank to reach priority BACKGROUND - timed out after 50 tries.
Comment 20•5 years ago
|
||
Comment 21•5 years ago
|
||
Tracking for Fission Nightly M6a because this is an important performance bug and Jesup is actively working on it.
Assignee | ||
Comment 22•5 years ago
|
||
Also set process priority to BACKGROUND for processes moved into the cache
Depends on D76189
Assignee | ||
Comment 23•5 years ago
|
||
Depends on D76533
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 24•5 years ago
|
||
Comment 25•5 years ago
|
||
Backed out for marionette failures on test_crash.py
Backout link: https://hg.mozilla.org/integration/autoland/rev/8912e3abc78133dbf7ffba380f3c80306780275a
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303496262&repo=autoland&lineNumber=48766
Comment 26•4 years ago
|
||
Comment 27•4 years ago
|
||
Backed out for wpt failure on operator-dictionary-spacing-001.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/d0b1c0422e926a2aaa6259ce396467cb65642f74
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=304127847&repo=autoland&lineNumber=2671
Comment 28•4 years ago
|
||
Comment 29•4 years ago
|
||
Backed out for wpt failures on operator-dictionary-spacing-002/003/006.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/f519fea12dfc504e55daad335bfada4866383a02
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=304196469&repo=autoland&lineNumber=1786
Comment 30•4 years ago
|
||
Comment 31•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/35b752334888
https://hg.mozilla.org/mozilla-central/rev/6697644f94e1
https://hg.mozilla.org/mozilla-central/rev/98acb58a4479
https://hg.mozilla.org/mozilla-central/rev/9f37745ea922
Updated•3 years ago
|
Description
•