Scheduler policies for staircase
cover Scheduler policies for staircase
These patches are not required to evaluate the staircase scheduler that is currently in mm2, so akpm you dont need to add these. However the users of the -ck patchset have been safely using the extra scheduling policies that these patches support. So this is for people to know they already exist and allow for wider testing.
The three patches that follow are:
schedrange - this makes it easier to implement more policies in code
schedbatch - this implements idle scheduling for close-to-weightless task scheduling which only schedules this class of task when nothing else wants to run.
schediso - this implements soft real time scheduling for non-privileged tasks (isochronous scheduling).
patches are for 2.6.8-rc2-mm2
see each following patch for more details.
Con
At Wed, 04 Aug 2004 10:40:26 +1000,
Quoted 10 lines · Con Kolivas
These patches are not required to evaluate the staircase scheduler that is currently in mm2, so akpm you dont need to add these. However the users of the -ck patchset have been safely using the extra scheduling policies that these patches support. So this is for people to know they already exist and allow for wider testing.
The three patches that follow are:
schedrange - this makes it easier to implement more policies in code
Quoted 6 lines
schedbatch - this implements idle scheduling for close-to-weightless task scheduling which only schedules this class of task when nothing else wants to run.
schediso - this implements soft real time scheduling for non-privileged tasks (isochronous scheduling).
I'd love to see SCHED_ISO is introduced.
It helps the normal audio streaming.
(but not sure about the video streaming - what happens when the stream handling is CPU bound?)
Takashi
Quoted 9 lines · Takashi Iwai
At Wed, 04 Aug 2004 10:40:26 +1000,
Quoted 1 line · Con Kolivas
schediso - this implements soft real time scheduling for non-privileged tasks (isochronous scheduling).
I'd love to see
SCHED_ISOis introduced.
It helps the normal audio streaming.(but not sure about the video streaming - what happens when the stream handling is CPU bound?)
I use "streamer" in sched iso mode, and do the video encoding in a separate application (mencoder) through a pipe. So it's a simple threading issue where the capture thread is run in sched iso, and the cpu bound encoding sched normal.
Cheers,
Con