One more:

I saw your comment in the code that SCHED_FIFO priorities are likely to
be changed by root only. That's correct if below settings are not done:

Something like below must be added to /etc/security/limits.conf

############################
squeezeboxserver   -  rtprio     99
squeezeboxserver   -  nice      -10
squeezeboxserver   -  memlock   unlimited
@audio   -  rtprio     99
@audio   -  nice      -10
@audio   -  memlock   unlimited
#############################


user squeezeboxserver and users of group audio get permission to to lift
the thread rt-priority to up to 99 (system max).

What's required to use this repriorization efficiently  is a preemtive
scheduler (kernel) (low-latency or rt-kernel as you'd e.g. find it on
e.g. Ubuntu Studio
or e.g. the Squeezebox Touch)

Cheers


------------------------------------------------------------------------
soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to