Freitag, 22. Januar 2016

Enabling RT Scheduling on Regular Kernels

When using a regular or low-latency desktop kernel, realtime scheduling for applications might not yet be enabled. However, it just takes a few steps to enable it:

Add the following lines to /etc/security/limits.conf (before the "#End of file" line, needs root access):

@realtime - rtprio 99
@realtime - memlock unlimited

Create the realtime group and add yourself to it:

groupadd realtime
usermod -a -G realtime <YourUserName>

Example:

usermod -a -G realtime bob,

Finally, logout and login to activate the changes.

Further reading: http://www.jackaudio.org/faq/linux_rt_config.html