2004-06-27 16:15:45

by Con Kolivas

[permalink] [raw]
Subject: [PATCH] Staircase scheduler v7.7

This is a scheduler policy rewrite designed to be interactive by design
without tweaks or tuning and be lean and extensible for all sorts of
settings. (see previous announcements for more detail).

Patches (including incrementals from previous versions) against 2.6.7
and 2.6.7-ck2 can be downloaded from:
http://ck.kolivas.org/patches/2.6/


Changes since v7.4:

Two major bugs:
- Nanosecond to jiffy conversion meant it was possible to queue a task
with no timeslice. Fixed.
- The preempt logic I added to 7.4 to allow preempted tasks to continue
where they left off turned out to be a DoS recipe. Fixed.

Cleanup:
- Cleaned up comments.

Additions:
- None! Aiming for stability in this release.


Thanks to all those giving feedback I've been able to track down quite
subtle bugs.

Please test, comment
Con

Full patch against 2.6.7 attached.
7 files changed, 267 insertions(+), 609 deletions(-)
Signed-off-by: Con Kolivas <[email protected]>


Attachments:
from_2.6.7_to_staircase7.7 (40.17 kB)

2004-06-27 19:24:09

by Martin Schlemmer

[permalink] [raw]
Subject: Re: [PATCH] Staircase scheduler v7.7

On Sun, 2004-06-27 at 18:12, Con Kolivas wrote:

> Changes since v7.4:
>
> Two major bugs:
> - Nanosecond to jiffy conversion meant it was possible to queue a task
> with no timeslice. Fixed.
> - The preempt logic I added to 7.4 to allow preempted tasks to continue
> where they left off turned out to be a DoS recipe. Fixed.
>

Seems all right in regards to the issues with 7.4.

I do though get that xmms sort of 'hangs'. Its not hard, it just say in
the 'play' state, but the graph do not move, and no sound. This is
fairly intermittently. Not sure though if it is scheduler only,
something recent in -bk, or the recent alsa patch Takashi Iwai
posted (using dmix btw). I will have a look and let you know.


Cheers,

--
Martin Schlemmer


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part