>>>>> i wonder, what's the preferred way to obtain SCHED_DEADLINE privileges >>>>> as non-root user? >>>> >>>> Hi Tim, >>>> >>>> It is still not possible to use sched deadline as a non-root user :-(. >>> >>> Indeed, but Tim, is this hindering you from experimenting/using >>> DEADLINE? >> >> it's a showstopper for using it in audio applications, which are running >> as user. >> audio applications typically use SCHED_FIFO. however they are >> rate-monotonic by design, so i wanted to evaluate how SCHED_DEADLINE >> behaves here. > > How are you setting SCHED_FIFO as a non-root user? it's typically done via PAM: https://www.alsa-project.org/main/index.php/Low_latency_howto#PAM afaict this approach was adopted by distros, at least by those that are tuned for musicians (who are not necessarily tech-savvy) cheers, tim
Attachment:
signature.asc
Description: OpenPGP digital signature