How to add confg file to allow UHD drive set priority?

Click For Summary
SUMMARY

The forum discussion focuses on configuring the UHD (USRP Hardware Driver) for the Ettus B210 by modifying the "/etc/security/limits.conf" file to set thread priority. The user attempted to add a line to allow the UHD drive to set real-time priority but continues to receive a warning about being unable to set thread priority, which may affect performance. The user references the Ettus manual for guidance but is still encountering issues. The community suggests that the warning may be harmless, indicating that the configuration may not be critical for functionality.

PREREQUISITES
  • Familiarity with Linux command line operations
  • Understanding of system configuration files, specifically "/etc/security/limits.conf"
  • Knowledge of real-time scheduling and thread priority in Linux
  • Basic understanding of UHD and Ettus B210 hardware
NEXT STEPS
  • Research Linux real-time scheduling and how to configure it effectively
  • Explore the UHD documentation for advanced configuration options
  • Learn about troubleshooting common UHD warnings and errors
  • Investigate alternative methods to manage thread priorities in Linux
USEFUL FOR

Developers and engineers working with Ettus B210 hardware, Linux system administrators, and anyone involved in optimizing UHD performance for signal processing applications.

Nate Duong
Messages
125
Reaction score
4
I have Ettus B210 and trying to add 1 line configuration file "/etc/security/limits.conf" which will allow UHD drive to set priority.

So , I typed this command to edit file: gksudo gedit /etc/security/limits.conf and add:

#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#ftp - chroot /ftp
#@student - maxlogins 4
@GROUP - rtprio 99
# End of file


I want to stop this warning :

UHD Warning:
Unable to set the thread priority. Performance may be negatively affected.
Please see the general application notes in the manual for instructions.
EnvironmentError: OSError: error in pthread_setschedparam


following this instruction from this link: https://files.ettus.com/manual/page_general.html but I can not stop that message? So I need help from you.

If anyone knows, please help me out.

Thank you.
 
Last edited:
Computer science news on Phys.org