mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson: add options to set server and client RT priority
Make a rtprio-server and rtprio-client option. Leave the server priority by default to 88 but lower client priority to 83. JACK does something similar by setting clients to rtprio-server - 5. Make module-rt use the client priority by default and bump the server priority explicitly in the config file. Leave the pulse-server to the default rtprio-client, there is no reason to lower this any further because it is really just a regular client. Bump the ffado packetizer thread to rtprio-server + 5 because that is also what JACK does. 88 is still much higher than the value of 60 that JACK uses in Fedora but now this is at least configurable.
This commit is contained in:
parent
2833ff1272
commit
f1a6fabb6c
15 changed files with 30 additions and 13 deletions
|
|
@ -306,6 +306,18 @@ option('rlimits-match',
|
|||
description : 'PAM match rule for the generated limits.d file. @<name> denotes matching a group.',
|
||||
type : 'string',
|
||||
value: '@pipewire')
|
||||
option('rtprio-server',
|
||||
description : 'PipeWire server realtime priority',
|
||||
type : 'integer',
|
||||
min: 11,
|
||||
max: 99,
|
||||
value: 88)
|
||||
option('rtprio-client',
|
||||
description : 'PipeWire clients realtime priority',
|
||||
type : 'integer',
|
||||
min: 11,
|
||||
max: 99,
|
||||
value: 83)
|
||||
option('rlimits-rtprio',
|
||||
description : 'RR and FIFO scheduler priority permitted for realtime threads of the matching user(s)',
|
||||
type : 'integer',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue