IT lexicon › Infra & Ops › RealtimeKit (rtkit)

RealtimeKit (rtkit)

Infra & Ops På svenska → Updated: 2026-10-29
More info
Creator
Lennart Poettering
Released
2009
Type
System service (D-Bus)

A small Linux service that hands out real-time priority to ordinary user processes, so the sound server doesn't have to run as root to avoid stuttering.

Audio has to arrive on time or you get xruns and crackles. That calls for real-time scheduling, but on Linux only privileged processes could ask for SCHED_RR — and a sound server running as root is a security liability. Lennart Poettering wrote rtkit in 2009 for PulseAudio: a D-Bus service a process can ask to grant real-time priority to a single thread.

It is suspicious by design. It insists the process has capped how much CPU time it may burn in real-time mode, only hands out modest priorities, and runs a watchdog thread of its own. If the watchdog itself is starved, rtkit assumes something has taken over the machine and demotes every real-time thread at once. PipeWire relies on the same service today.

← Back to the lexicon