Skip to contentSkip to conversation

RSDL cpu scheduler for -mm

PATCH In review Con Kolivas 2 participants 8 messages Mar 7, 2007 – Mar 9, 2007

lore
Share & tools
lore
#0 lore raw

cover RSDL cpu scheduler for -mm

What follows is the same patch series that constitutes the RDSL "Rotating Staircase DeadLine" cpu scheduler resynced for 2.6.21-rc2-mm2.

A rollup patch that can be applied directly to 2.6.21-rc2-mm2 is here:
http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc2-mm2-sched-rsdl.patch

and the separate patches that will follow are available here:
http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc2-mm2/

Signature · 1 line
-ck
#1 lore raw
Quoted 2 lines · On Wed, 7 Mar 2007 12:26:42 +1100 Con Kolivas <[email protected]> wrote:

What follows is the same patch series that constitutes the RDSL "Rotating Staircase DeadLine" cpu scheduler resynced for 2.6.21-rc2-mm2.

Big oops early in boot on x86_64 SMP, in rq_bitmap_error+0x97/0x9f.

I stubbed it out with a `return MAX_RT_PRIO;' (I think) but it then oopsed differently. Before netconsole had come up, no serial console, no digital camera.

There's stuff in http://userweb.kernel.org/~akpm/ck/ - you can probably boot that kernel on your own machine.

I need to do rc3-mm1 now. I might find some time to poke at this further after that, but I have to leave for a week in .jp and it'll be squeezy, sorry.

#2 lore raw
Quoted 12 lines · On Wed, 7 Mar 2007 17:43:45 -0800 Andrew Morton <[email protected]>…
Quoted 2 lines · On Wed, 7 Mar 2007 12:26:42 +1100 Con Kolivas <[email protected]> wrote:

What follows is the same patch series that constitutes the RDSL "Rotating Staircase DeadLine" cpu scheduler resynced for 2.6.21-rc2-mm2.

Big oops early in boot on x86_64 SMP, in rq_bitmap_error+0x97/0x9f.

I stubbed it out with a `return MAX_RT_PRIO;' (I think) but it then oopsed differently. Before netconsole had come up, no serial console, no digital camera.

Quoted 6 lines

There's stuff in http://userweb.kernel.org/~akpm/ck/ - you can probably boot that kernel on your own machine.

I need to do rc3-mm1 now. I might find some time to poke at this further after that, but I have to leave for a week in .jp and it'll be squeezy, sorry.

well it boots os dual pIII and quad powerpc.

The powerpc says

Scheduler bitmap error - bitmap being reconstructed..

during bootup. But it didn't crash like the Nocona machine.

#3 lore raw
Quoted 14 lines · On Wed, 7 Mar 2007 18:54:30 -0800 Andrew Morton <[email protected]>…
Quoted 12 lines · On Wed, 7 Mar 2007 17:43:45 -0800 Andrew Morton <[email protected]>…
Quoted 2 lines · On Wed, 7 Mar 2007 12:26:42 +1100 Con Kolivas <[email protected]> wrote:

What follows is the same patch series that constitutes the RDSL "Rotating Staircase DeadLine" cpu scheduler resynced for 2.6.21-rc2-mm2.

Big oops early in boot on x86_64 SMP, in rq_bitmap_error+0x97/0x9f.

I stubbed it out with a `return MAX_RT_PRIO;' (I think) but it then oopsed differently. Before netconsole had come up, no serial console, no digital camera.

Quoted 9 lines
Quoted 6 lines

There's stuff in http://userweb.kernel.org/~akpm/ck/ - you can probably boot that kernel on your own machine.

I need to do rc3-mm1 now. I might find some time to poke at this further after that, but I have to leave for a week in .jp and it'll be squeezy, sorry.

well it boots os dual pIII and quad powerpc.

It also boots OK on a very similar but somewhat older Nocona machine. Perhaps due to config changes: http://userweb.kernel.org/~akpm/ck/config-ok.txt

#6 lore raw
In reply to Andrew Morton
Quoted 21 lines · Andrew Morton
Quoted 12 lines · On Wed, 7 Mar 2007 17:43:45 -0800 Andrew Morton <[email protected]>…
Quoted 2 lines · On Wed, 7 Mar 2007 12:26:42 +1100 Con Kolivas <[email protected]> wrote:

What follows is the same patch series that constitutes the RDSL "Rotating Staircase DeadLine" cpu scheduler resynced for 2.6.21-rc2-mm2.

Big oops early in boot on x86_64 SMP, in rq_bitmap_error+0x97/0x9f.

I stubbed it out with a `return MAX_RT_PRIO;' (I think) but it then oopsed differently. Before netconsole had come up, no serial console, no digital camera.

Quoted 6 lines

There's stuff in http://userweb.kernel.org/~akpm/ck/ - you can probably boot that kernel on your own machine.

I need to do rc3-mm1 now. I might find some time to poke at this further after that, but I have to leave for a week in .jp and it'll be squeezy, sorry.

Quoted 7 lines

well it boots os dual pIII and quad powerpc.

The powerpc says

Scheduler bitmap error - bitmap being reconstructed..

during bootup. But it didn't crash like the Nocona machine.

Ah thanks. Sorry I have a very busy day at work and am unable to do anything about it till tonight. I could imagine on nocona this would be due to the idle task being scheduled on init - which it is not supposed to do but if you read the comment in sched_init it says it *might. I have no way of handling that at the moment because I wasn't sure it ever happened any more. As for the powerpc.. I have no idea (from where I am at the moment which it would be totally inappopriate for me to try to debug :P), sorry.

--
-ck

#4 lore raw
In reply to Andrew Morton
Quoted 1 line · Andrew Morton

On Wed, 7 Mar 2007 18:54:30 -0800 Andrew Morton <[email protected]>

Quoted 1 line · wrote:
Quoted 1 line

On Wed, 7 Mar 2007 17:43:45 -0800 Andrew Morton

Quoted 20 lines · <[email protected]> wrote:
Quoted 20 lines
Quoted 19 lines

On Wed, 7 Mar 2007 12:26:42 +1100

Quoted 3 lines · Con Kolivas

What follows is the same patch series that constitutes the RDSL "Rotating Staircase DeadLine" cpu scheduler resynced for 2.6.21-rc2-mm2.

Big oops early in boot on x86_64 SMP, in rq_bitmap_error+0x97/0x9f.

I stubbed it out with a `return MAX_RT_PRIO;' (I think) but it then oopsed differently. Before netconsole had come up, no serial console, no digital camera.

There's stuff in http://userweb.kernel.org/~akpm/ck/ - you can probably boot that kernel on your own machine.

I need to do rc3-mm1 now. I might find some time to poke at this further after that, but I have to leave for a week in .jp and it'll be squeezy, sorry.

Quoted 5 lines
Quoted 1 line

well it boots os dual pIII and quad powerpc.

It also boots OK on a very similar but somewhat older Nocona machine. Perhaps due to config changes:
http://userweb.kernel.org/~akpm/ck/config-ok.txt

Ok I just remembered that not only did I expect the cpu task to never be scheduled and it _might_ be scheduled on sched_init, it is actually _consciously_ scheduled on hotplug cpu which I have no way of handling at the moment. On both your configs I noticed you had hotplug cpu enabled, but perhaps it isn't really being used on the more conservative config. So this is something I already know I need to handle. Did your ppc that had the "bitmap error" have hotplug cpu enabled? It might be an unrelated bug^Wphenomenon.

Signature · 1 line
-ck
#5 lore raw
Quoted 5 lines · On Thu, 8 Mar 2007 16:25:05 +1100 Con Kolivas <[email protected]> wrote:
Quoted 3 lines

It also boots OK on a very similar but somewhat older Nocona machine. Perhaps due to config changes:
http://userweb.kernel.org/~akpm/ck/config-ok.txt

Quoted 8 lines

Ok I just remembered that not only did I expect the cpu task to never be scheduled and it _might_ be scheduled on sched_init, it is actually _consciously_ scheduled on hotplug cpu which I have no way of handling at the moment. On both your configs I noticed you had hotplug cpu enabled, but perhaps it isn't really being used on the more conservative config. So this is something I already know I need to handle. Did your ppc that had the "bitmap error" have hotplug cpu enabled? It might be an unrelated bug^Wphenomenon.

The powerpc config has CONFIG_HOTPLUG_CPU=n

#7 lore raw
In reply to Andrew Morton
Quoted 1 line · Andrew Morton

On Wed, 7 Mar 2007 17:43:45 -0800 Andrew Morton <[email protected]>

Quoted 20 lines · wrote:
Quoted 13 lines

On Wed, 7 Mar 2007 12:26:42 +1100

Quoted 3 lines · Con Kolivas

What follows is the same patch series that constitutes the RDSL "Rotating Staircase DeadLine" cpu scheduler resynced for 2.6.21-rc2-mm2.

Big oops early in boot on x86_64 SMP, in rq_bitmap_error+0x97/0x9f.

I stubbed it out with a `return MAX_RT_PRIO;' (I think) but it then oopsed differently. Before netconsole had come up, no serial console, no digital camera.

Quoted 6 lines

There's stuff in http://userweb.kernel.org/~akpm/ck/ - you can probably boot that kernel on your own machine.

I need to do rc3-mm1 now. I might find some time to poke at this further after that, but I have to leave for a week in .jp and it'll be squeezy, sorry.

Quoted 7 lines

well it boots os dual pIII and quad powerpc.

The powerpc says

Scheduler bitmap error - bitmap being reconstructed..

during bootup. But it didn't crash like the Nocona machine.

Any chance I could get the config of this powerpc so I can try building and running one on qemu? I can't seem to get this bitmap error on x86*.

Thanks!

Signature · 1 line
-ck