... | ... | @@ -17,9 +17,13 @@ Kernel 5.16 brings important latency improvements for USB devices. It also inclu |
|
|
|
|
|
Realtime priorities are given to the data processing threads in both the clients and the server.
|
|
|
|
|
|
Since 0.3.44 there is a single module-rt that can use RTKit and fall back to native thread implementation automatically.
|
|
|
Since 0.3.44 there is a single module-rt that can use Portal/RTKit and fall back to native thread implementation automatically.
|
|
|
|
|
|
The RTKit implementation is potentially better because it can implement a global policy and does not require extra permissions from the client. It however needs DBus and is currently not configured optimally in many distributions. It also does not work with flatpaks because it does not know about the namespace of the thread ID's in the sandbox.
|
|
|
module-rt first tries to use the org.freedesktop.portal.Realtime DBus service to request realtime privileges to the processing thread. This Portal service knows about flatpak namespaces and can map flatpak pids to pids used in org.freedesktop.RealtimeKit1.
|
|
|
|
|
|
org.freedesktop.RealtimeKit1 is used as a fallback when the Realtime portal doesn't exist.
|
|
|
|
|
|
The Portal/RTKit implementation is potentially better because it can implement a global policy and does not require extra permissions from the client. It however needs DBus and is currently not configured optimally in many distributions.
|
|
|
|
|
|
# Configuration
|
|
|
|
... | ... | |