From 9d858f62d96a851fc647506d921c071957df15d4 Mon Sep 17 00:00:00 2001 From: Robin Davies Date: Fri, 28 Apr 2023 12:45:12 -0400 Subject: [PATCH] Spelling. --- docs/RTThreadPriority.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/RTThreadPriority.md b/docs/RTThreadPriority.md index ba4e446..4757211 100644 --- a/docs/RTThreadPriority.md +++ b/docs/RTThreadPriority.md @@ -6,23 +6,23 @@ in order process convolution data on background threads while audio is running i The procedure for enabling realtime scheduling varies between Linux distributions. Most modern distributions have the RTKIT DBus service, which allow programs to request realtime priority. But the restrictions imposed by the RTKIT -DBus service may prevent the TooB plugins from starting. RTKIT does have configuration options, but the procedure for configuring RTKIT is unusually difficult. +DBus service prevent the TooB plugins from running. RTKIT does have configuration options, but the procedure for configuring RTKIT is unusually difficult. If TooB plugins exceed the limits imposed by RTKIT (or if the RTKIT service doesn't exist), the easiest solution is to grant realtime scheduling permissions to -the current user. +the current user. In truth, you want to make these changes, since they will increase amount of CPU time available to all audio plugins by 500%! (Just one of the reasons you should not be running pro-audio applications with RTKIT). The native Linux scheduler calls require the user to have appropriate permissions. To grant permissions for the TooB plugins, make the following modifications to your system. On many Linux distros, any user of the audio group is granted realtime scheduling permissions. Check for files in the `/etc/limits.d/` directory named nn-audio.conf. -If such a file exists, open it to see which group has been granted permissions. There should be a lime simular to the following: +If such a file exists, open it to see which group has been granted permissions. There should be a line simular to the following: ``` @audio - rtprio 95 ``` -If the file exists, add your user-id to the audio group, and reboot to make the change take effect. +If the file exists, add your user-id to the audio group, and reboot to make the change take effect. Some distros use a group named `realtime` instead. -To grant realtime scheduling permissions to your user-id , add the following line to `/etc/security/limits.conf`: +If not, grant realtime scheduling permissions to your user-id by adding the following line to `/etc/security/limits.conf`: ``` youruserid - rtprio 95