You are not logged in.

#1 2006-06-30 23:19:00

galiyosha
Member
From: Slovakia
Registered: 2005-08-01
Posts: 22

How can I run an ordinary process with real-time scheduling?

How can I run an ordinary process with real-time scheduling?

Say, I'm sick of occasional skips produced by my media player and want to run it with real-time scheduling. But there's no internal option to do so -- like -R in jackd. How do I achieve that?

Is there any helper program or command I can use? "Run Command" in KDE offers the "Run with realtime scheduling" option, but it insists on running the process as root, which I don't want to do...

Thanks in advance for help.

Offline

#2 2006-07-01 00:19:16

galiyosha
Member
From: Slovakia
Registered: 2005-08-01
Posts: 22

Re: How can I run an ordinary process with real-time scheduling?

Um, already found the schedtool in AUR. Apparently just a different set of keywords was enough. : But anyway, I'm curious if there are any other ways to achieve smooth playback even under heavy CPU or disk loads.

Offline

#3 2006-07-01 03:42:12

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How can I run an ordinary process with real-time scheduling?

This is something I'd like to know a bit more about too, come to think of it... I wonder if GStreamer 0.10's skipping problems are due to it refusing to run with realtime priority.

Offline

#4 2006-07-01 09:28:23

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: How can I run an ordinary process with real-time scheduling?

Using staircase CPU scheduler could help ;-)

Offline

#5 2006-07-01 14:53:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: How can I run an ordinary process with real-time scheduling?

Which, as lucke forgot to say, is included in the ck and beyond kernels.

Offline

#6 2006-07-02 01:41:22

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How can I run an ordinary process with real-time scheduling?

It doesn't help on my machine. In fact, it causes noticable slowdowns and generally lower system responsiveness.

Offline

#7 2006-07-04 14:03:41

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: How can I run an ordinary process with real-time scheduling?

haha, audio playing problems in the 21th century.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB