[linux-audio-dev] [Slightly OT] How to access "real-time" capabilities
Jack O'Quin
joq at io.com
Wed Jun 8 16:20:18 UTC 2005
asbjs at stud.ntnu.no (Asbjørn Sæbø) writes:
> * Will an ordinary program, run as root, take advantage of the real time
> capabilities of the kernel?
No.
> * Will an ordinary program, run as a user that is a member of the
> "audio" group on f.i. Agnula, take advantage of the real-time capabilities?
No.
> * If given a real-time kernel, what else is necessary to take advantage
> of its capabilities?
Your realtime thread needs to use one of the POSIX realtime scheduling
options: SCHED_FIFO or SCHED_RR. For best results, only do this for
the code that actually *needs* precise timing.
> * How does normal priorities (nice, renice) play together with the
> real-time kernel?
They run at a lower priority than SCHED_FIFO or SCHED_RR threads.
--
joq
More information about the Linux-audio-dev
mailing list