Closed Bug 1687843 Opened 3 years ago Closed 3 years ago

Process launching should check if pre-allocated process pool is already allocating a process and wait for it

Categories

(Core :: DOM: Content Processes, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
92 Branch
Fission Milestone M8
Tracking Status
firefox92 --- fixed

People

(Reporter: cpeterson, Assigned: jesup)

References

Details

(Whiteboard: fission-perf)

Attachments

(1 file)

Nika and Jesup say Fission currently launches a new process if the pre-allocated process pool has no ready processes, even if the pool is actively launching a new pre-allocated process. Waiting for the new pre-allocated process will be faster than launching a second process in parallel.

Could be a nice perf benefit but we don't really know. We probably won't run into this situation very often because the pre-allocated process pool should be keep enough processes to avoid this situation.

Tracking for Fission M8 (Release experiment).

Severity: -- → N/A
Type: defect → enhancement
Fission Milestone: ? → M8
Priority: -- → P3
Summary: Fission should wait for pre-allocated process pool to finish allocating a process instead of launching a new process → Process launching should check if pre-allocated process pool is already allocating a process and wait for it
Whiteboard: fission-perf
Assignee: nobody → rjesup
Pushed by rjesup@wgate.com:
https://hg.mozilla.org/integration/autoland/rev/b4f5e8cee582
PreallocatedProcessManager will return a launching process if one exists r=nika

Backed out for causing mochitest assertion failures on PreallocatedProcessManager.cpp
Backout link
Push with failures
Failure Log

Flags: needinfo?(rjesup)
Pushed by rjesup@wgate.com:
https://hg.mozilla.org/integration/autoland/rev/ace627c97884
PreallocatedProcessManager will return a launching process if one exists r=nika
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
Regressions: 1715414
Backout by mlaza@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a0c0b00b2df9
Backed out changeset ace627c97884 for causing Bug 1715414. CLOSED TREE

Backed out for causing Bug 1715414.
Backout link

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 91 Branch → ---

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jesup, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(rjesup)
Flags: needinfo?(nika)
Flags: needinfo?(nika)
Pushed by rjesup@wgate.com:
https://hg.mozilla.org/integration/autoland/rev/49825664d766
PreallocatedProcessManager will return a launching process if one exists r=nika
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Flags: needinfo?(rjesup)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: