System Performance Tuning
Run the provided script to optimize your system settings for real-time processing:
cd ~/OpenISACchmod +x scripts/set_performance.bash./scripts/set_performance.bashNote:
secure_bootneeds to be turned off in your BIOS settings to enableRT_RUNTIME_SHAREfunctionality.
When UHD spawns a new thread, it may try to boost the thread’s scheduling priority. If setting the new priority fails, the UHD software prints a warning to the console, as shown below.
[WARNING] [UHD] Failed to set desired affinity for threadTo address this issue, non-privileged (non-root) users need to be given special permission to change the scheduling priority. This can be enabled by creating a group usrp, adding your user to it, and then appending the line @usrp - rtprio 99 to the file /etc/security/limits.conf.
sudo groupadd usrpsudo usermod -aG usrp $USERThen add the line below to end of the file /etc/security/limits.conf:
@usrp - rtprio 99You must log out and log back into the account for the settings to take effect. In most Linux distributions, a list of groups and group members can be found in the /etc/group file.