Closed Bug 1602907 Opened 4 years ago Closed 4 years ago

Add thread priority and affinity code for non-Windows

Categories

(Core :: Graphics: WebRender, task, P3)

Desktop
All
task

Tracking

()

RESOLVED INVALID
Tracking Status
firefox73 --- wontfix

People

(Reporter: bpeers, Assigned: bpeers)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 1595708 added a low priority thread pool for improved responsiveness under heavy load, but before activating the feature the thread pools should be configured with proper priority and affinity on each platform.

For Windows this code is done:
https://searchfox.org/mozilla-central/source/gfx/webrender_bindings/src/bindings.rs#1075

For other platforms we need to write the Posix/libc/... code and/or decide which crate is the best option.

Priority: -- → P3

pthread priority and affinity for Linux; moved to a helper function

Assignee: nobody → bpeers
Pushed by bpeers@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3badff2b3724
Add thread priority and affinity code for non-Windows r=jrmuizel
Depends on: 1603597
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73

Reopened as dependency on MacOSX is not done.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #9117205 - Attachment is obsolete: true
Backout by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a1b9706abf85
Backed out changeset 3badff2b3724 as requested by Bert Peers for causing regressions.
Target Milestone: mozilla73 → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: