How to disable rtkit-daemon in CentOS/RHEL?

As per package description, RealtimeKit is a D-Bus system service that changes the scheduling policy of user processes/threads to SCHED_RR (i.e. real-time scheduling mode) on request. It is intended to be used as a secure mechanism to allow real-time scheduling to be used by normal user processes.

 

Command “rpm -q –whatrequires rtkit” will list all the rpm packages installed on the system which requires rtkit.

# rpm -q --whatrequires rtkit
pulseaudio-10.0-5.el7.x86_64

 

If there is no other package using rtkit, one can disable it with below command.

# rtkitctl -k

 

As far as pulseaudio is concern, there is configuration option to tell pulseaudio not to use realtime scheduling. Edit /etc/pulse/default.pa and change the following:

load-module module-udev-detect

to

load-module module-udev-detect tsched=0

 

Reboot the system for settings to take effect.

# shutdown -r now

 

Was this answer helpful? 8 Users Found This Useful (8 Votes)