Re: [RFC PATCH RT] push waiting rt tasks to cpus with lower prios.

2007-10-09 Thread Girish kathalagiri
On 10/9/07, Steven Rostedt <[EMAIL PROTECTED]> wrote: > This has been complied tested (and no more ;-) > > > The idea here is when we find a situation that we just scheduled in an > RT task and we either pushed a lesser RT task away or more than one RT > task was scheduled on this CPU before schedu

Re: [RFC PATCH RT] push waiting rt tasks to cpus with lower prios.

2007-10-09 Thread mike kravetz
On Tue, Oct 09, 2007 at 04:50:47PM -0400, Steven Rostedt wrote: > > I did something like this a while ago for another scheduling project. > > A couple 'possible' optimizations to think about are: > > 1) Only scan the remote runqueues once and keep a local copy of the > >remote priorities for su

Re: [RFC PATCH RT] push waiting rt tasks to cpus with lower prios.

2007-10-09 Thread Steven Rostedt
-- On Tue, 9 Oct 2007, mike kravetz wrote: > > I did something like this a while ago for another scheduling project. > A couple 'possible' optimizations to think about are: > 1) Only scan the remote runqueues once and keep a local copy of the >remote priorities for subsequent 'scans'. Access

Re: [RFC PATCH RT] push waiting rt tasks to cpus with lower prios.

2007-10-09 Thread mike kravetz
On Tue, Oct 09, 2007 at 01:59:37PM -0400, Steven Rostedt wrote: > This has been complied tested (and no more ;-) > > The idea here is when we find a situation that we just scheduled in an > RT task and we either pushed a lesser RT task away or more than one RT > task was scheduled on this CPU befo

Re: [RFC PATCH RT] push waiting rt tasks to cpus with lower prios.

2007-10-09 Thread Steven Rostedt
-- On Tue, 9 Oct 2007, Peter Zijlstra wrote: > > Do we really want this PREEMPT_RT only? Yes, it will give us better benchmarks ;-) > > > Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> > > > > Index: linux-2.6.23-rc9-rt2/kernel/sched.c > > ===

Re: [RFC PATCH RT] push waiting rt tasks to cpus with lower prios.

2007-10-09 Thread Peter Zijlstra
On Tue, 2007-10-09 at 13:59 -0400, Steven Rostedt wrote: > This has been complied tested (and no more ;-) > > > The idea here is when we find a situation that we just scheduled in an > RT task and we either pushed a lesser RT task away or more than one RT > task was scheduled on this CPU before

Re: [RFC PATCH RT] push waiting rt tasks to cpus with lower prios.

2007-10-09 Thread Steven Rostedt
-- On Tue, 9 Oct 2007, Steven Rostedt wrote: > This has been complied tested (and no more ;-) > > > The idea here is when we find a situation that we just scheduled in an > RT task and we either pushed a lesser RT task away or more than one RT > task was scheduled on this CPU before scheduling oc