[LAU] unable to set scheduling priority with rt kernel

Florian Schmidt mista.tapas at gmx.net
Wed Oct 24 16:35:56 EDT 2007


On Wednesday 24 October 2007, Chuckk Hubbard wrote:
> Hallo.
> I posted to the jackit-devel list too, so apologies if you're seeing this
> again.  No luck there...
>
> jackd version 0.103.0 tmpdir /dev/shm protocol 16
> 2.6.22.1-rt9
> Debian testing
>
> I've just noticed that I am unable to set jackd priority on the command
> line.  I have a script set up to use "sudo chrt" to change it, but when I
> comment out that line in the script, jackd runs at 0 with schedule "other".
>
> My script:
> sudo chrt -fp 82 `pidof "IRQ-16"`
> jackd --realtime -P 70 -dalsa -P -p256 -n2 -r44100 &
> sudo chrt -fp 70 `pidof "jackd"`
> chrt -p `pidof "IRQ-16"`
> chrt -p `pidof "jackd"`
> exit

if you run 

sudo chrt -fp 70 `pidof "jackd"`

as non root without using sudo

chrt -fp 70 `pidof "jackd"`

do you get an error?

Flo

-- 
Palimm Palimm!
http://tapas.affenbande.org



More information about the Linux-audio-user mailing list