RE: Question about new scheduling features

Me (root@srtb0211a15.resnet.ubc.ca)
Sat, 23 Mar 1996 09:10:21 PST


>My actual problem is, i have written an application that displays realtime data
>coming in across a socket and allows the user to interact using X and tcl/tk.

>I hope this can be improved using another scheduling mechanism, and a look at
>linux/kernel/sched.c showed me there are three different policys,
>
>SCHED_FIFO, SCHED_RR and SCHED_OTHER, but what is the difference ?
>

SCHED_OTHER is the default, and that is the one you want because it chooses
the next running process based on weights according to priority.
FIFO and round robin are self explanatory, every process gets it's equal
share.....
I'm rewriting sched.c as we speak and rewriting the next process choosing
algorithms cause, well, they stink right now, they work, but they can be a tad
more flexible and efficient. as far as I know, round robin and FIFO are only
in there to maintain POSIX.1 compatibility.

>many thanks for any hints on this,
> Martin