Closed Bug 1476981 Opened 6 years ago Closed 5 years ago

Turn on dom.ipc.processPriorityManager.enabled in Nightly

Categories

(Core :: DOM: Content Processes, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: alexical, Assigned: mconley)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

baku, now that we have the ability to set process priorities on Windows, is the code from bug 1366356 in good enough shape to turn on in Nightly?
Flags: needinfo?(amarchesini)
Only on windows. On linux, when a process decreases its priority, it cannot set it back to the original value.
Flags: needinfo?(amarchesini)
I've just created and set dom.ipc.processPriorityManager.enabled to true in about:config, Nightly 19-07-2018. After that the priority of WebExtensions process was set to low. I don't know if that's intended or not.
Hmm, yeah that doesn't seem great. Additionally this seems to be causing xpcshell failures on try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=efe96043eb4ddaf528ec74dd02c140def6c99070&selectedJob=189008945
Blocks: 1482600
Depends on: 1489546
Depends on: 1491906
Depends on: 1495032
<mconley> jcristau: hey - suppose my team has something somewhat experimental that we wanted to turn on in Nightly to get user feedback. Can I assume it's too late in the 64 cycle to do that?

<jcristau> i think it's probably fine still
but now you have me curious about what it is :)

<mconley> jcristau: on Windows, we have a pref that will turn on the "background process priority manager" - this thing will downgrade the process priority of tabs running in the background
so, presumably, this will free up cycles for the foreground

<jcristau> mconley: cool.  sounds fine to me if you want to turn that on with #ifdef NIGHTLY_BUILD.
jcristau gave us the go ahead to try this out in 64 behind the NIGHTLY_BUILD ifdef! Feel like taking this on?
Flags: needinfo?(dothayer)
Assignee: nobody → dothayer
Status: NEW → ASSIGNED
Flags: needinfo?(dothayer)
(It looks like bug 1476250 changed the initialization of some dependencies, which is breaking my try runs. Working on sorting that out.)
QA Contact: jmathies
QA Contact: jmathies
Depends on: 1503002
Depends on: 1503003
Blocks: 1522879

Snagging this with dthayer's permission. Let's see if we can get this into Nightly.

Assignee: dothayer → mconley
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/905f08f4eab0
Turn on the process priority manager on Nightly on Windows. r=dthayer
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Depends on: 1524193
Depends on: 1525000
Attachment #9014458 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: