* [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22
@ 2007-07-11 5:44 Peter Williams
2007-07-16 8:20 ` Ingo Molnar
0 siblings, 1 reply; 7+ messages in thread
From: Peter Williams @ 2007-07-11 5:44 UTC (permalink / raw)
To: Linux Kernel Mailing List, William Lee Irwin III
Cc: Chris Han, Con Kolivas, Jake Moilanen, Paolo Ornati, Ingo Molnar
Probably the last one now that CFS is in the main line :-(.
A patch for 2.6.22 is available at:
<http://downloads.sourceforge.net/cpuse/plugsched-6.5.1-for-2.6.22.patch>
Very Brief Documentation:
You can select a default scheduler at kernel build time. If you wish to
boot with a scheduler other than the default it can be selected at boot
time by adding:
cpusched=<scheduler>
to the boot command line where <scheduler> is one of: ingosched,
ingo_ll, nicksched, staircase, spa_no_frills, spa_ws, spa_svr, spa_ebs
or zaphod. If you don't change the default when you build the kernel
the default scheduler will be ingosched (which is the normal scheduler).
The scheduler in force on a running system can be determined by the
contents of:
/proc/scheduler
Control parameters for the scheduler can be read/set via files in:
/sys/cpusched/<scheduler>/
Peter
--
Peter Williams pwil3058@bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22
@ 2007-07-11 22:17 Al Boldi
2007-07-15 4:19 ` Giuseppe Bilotta
0 siblings, 1 reply; 7+ messages in thread
From: Al Boldi @ 2007-07-11 22:17 UTC (permalink / raw)
To: linux-kernel
Peter Williams wrote:
>
> Probably the last one now that CFS is in the main line :-(.
What do you mean? A pluggable scheduler framework is indispensible even in
the presence of CFS or SD.
> A patch for 2.6.22 is available at:
>
> <http://downloads.sourceforge.net/cpuse/plugsched-6.5.1-for-2.6.22.patch>
>
> Very Brief Documentation:
>
> You can select a default scheduler at kernel build time. If you wish to
> boot with a scheduler other than the default it can be selected at boot
> time by adding:
>
> cpusched=<scheduler>
>
> to the boot command line where <scheduler> is one of: ingosched,
> ingo_ll, nicksched, staircase, spa_no_frills, spa_ws, spa_svr, spa_ebs
> or zaphod. If you don't change the default when you build the kernel
> the default scheduler will be ingosched (which is the normal scheduler).
Can't PlugSched include CFS and SD?
Thanks!
--
Al
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22
2007-07-11 22:17 Al Boldi
@ 2007-07-15 4:19 ` Giuseppe Bilotta
0 siblings, 0 replies; 7+ messages in thread
From: Giuseppe Bilotta @ 2007-07-15 4:19 UTC (permalink / raw)
To: linux-kernel
On Thursday 12 July 2007 00:17, Al Boldi wrote:
> Peter Williams wrote:
>>
>> Probably the last one now that CFS is in the main line :-(.
>
> What do you mean? A pluggable scheduler framework is indispensible even in
> the presence of CFS or SD.
Indeed, and I hope it gets merged, giving people the chance to test out
different schedulers easily, without having to do patching, de-patching,
re-patching and blah blah blah.
But somehow I doubt it'll get merged now. My bet is that it won't even be
taken into consideration, for the same reasons that ultimately drove Con
Kolivas to giving up on development of SD. And if it's so, chances are
people will get tired of trying to get it merged. :/
>> A patch for 2.6.22 is available at:
>>
>> <http://downloads.sourceforge.net/cpuse/plugsched-6.5.1-for-2.6.22.patch>
>>
>> Very Brief Documentation:
>>
>> You can select a default scheduler at kernel build time. If you wish to
>> boot with a scheduler other than the default it can be selected at boot
>> time by adding:
>>
>> cpusched=<scheduler>
>>
>> to the boot command line where <scheduler> is one of: ingosched,
>> ingo_ll, nicksched, staircase, spa_no_frills, spa_ws, spa_svr, spa_ebs
>> or zaphod. If you don't change the default when you build the kernel
>> the default scheduler will be ingosched (which is the normal scheduler).
>
> Can't PlugSched include CFS and SD?
If I read the announcement correctly, those are the ones referred to as
'ingosched' and 'staircase' :)
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22
2007-07-11 5:44 [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22 Peter Williams
@ 2007-07-16 8:20 ` Ingo Molnar
2007-07-17 0:09 ` Peter Williams
0 siblings, 1 reply; 7+ messages in thread
From: Ingo Molnar @ 2007-07-16 8:20 UTC (permalink / raw)
To: Peter Williams; +Cc: Linux Kernel Mailing List
* Peter Williams <pwil3058@bigpond.net.au> wrote:
> Probably the last one now that CFS is in the main line :-(.
hm, why is CFS in mainline a problem? The CFS merge should make the life
of development/test patches like plugsched conceptually easier. (it will
certainly cause a lot of churn, but that's for the better i think.)
Most of the schedulers in plugsched should be readily adaptable to the
modular scheduling-policy scheme of the upstream scheduler. I'm sure
there will be some minor issues as isolation of the modules is not
enforced right now - and i'd be happy to review (and potentially apply)
common-sense patches that improve the framework.
Ingo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22
2007-07-16 8:20 ` Ingo Molnar
@ 2007-07-17 0:09 ` Peter Williams
2007-07-18 9:46 ` Ingo Molnar
0 siblings, 1 reply; 7+ messages in thread
From: Peter Williams @ 2007-07-17 0:09 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Linux Kernel Mailing List
Ingo Molnar wrote:
> * Peter Williams <pwil3058@bigpond.net.au> wrote:
>
>> Probably the last one now that CFS is in the main line :-(.
>
> hm, why is CFS in mainline a problem?
It means a major rewrite of the plugsched interface and I'm not sure
that it's worth it (if CFS works well). However, note that I did say
probably not definitely :-). I'll play with it and see what happens.
> The CFS merge should make the life
> of development/test patches like plugsched conceptually easier. (it will
> certainly cause a lot of churn, but that's for the better i think.)
I don't think that is necessarily the case.
>
> Most of the schedulers in plugsched should be readily adaptable to the
> modular scheduling-policy scheme of the upstream scheduler.
I don't think that this necessarily true. Ingosched and ingo_ll are
definitely out and I don't feel like converting staircase and nicksched
as I have no real interest in them. Perhaps I'll just create the
interface and some schedulers based on my own ideas and let others such
as Con and Nick add schedulers if they're still that way inclined.
> I'm sure
> there will be some minor issues as isolation of the modules is not
> enforced right now - and i'd be happy to review (and potentially apply)
> common-sense patches that improve the framework.
Thanks for the offer of support (it may sway my decision),
Peter
--
Peter Williams pwil3058@bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22
2007-07-17 0:09 ` Peter Williams
@ 2007-07-18 9:46 ` Ingo Molnar
0 siblings, 0 replies; 7+ messages in thread
From: Ingo Molnar @ 2007-07-18 9:46 UTC (permalink / raw)
To: Peter Williams; +Cc: Linux Kernel Mailing List
* Peter Williams <pwil3058@bigpond.net.au> wrote:
> Ingo Molnar wrote:
> > * Peter Williams <pwil3058@bigpond.net.au> wrote:
> >
> >> Probably the last one now that CFS is in the main line :-(.
> >
> > hm, why is CFS in mainline a problem?
>
> It means a major rewrite of the plugsched interface and I'm not sure
> that it's worth it (if CFS works well). However, note that I did say
> probably not definitely :-). I'll play with it and see what happens.
i think it's very useful as a constant reality check. Yes, i did
periodically boot your Zaphod scheduler too on a testbox ;-)
"CFS works well" cannot be determined reliably if there's nothing to
compare it against. One goal behind the CFS changes was to remove the
need for massive scheduler rewrites and to ease prototyping. Somehow
there are lots of people who really love to hack the scheduler,
those weirdos ;-)
> > The CFS merge should make the life of development/test patches like
> > plugsched conceptually easier. (it will certainly cause a lot of
> > churn, but that's for the better i think.)
>
> I don't think that is necessarily the case.
well, kernel/sched_rt.c and kernel/sched_fair.c are already more
different on a conceptual angle than any of the two schedulers in
PlugSched i think. But ... i dont expect the initial port of PlugSched
to be easy at all.
> > Most of the schedulers in plugsched should be readily adaptable to
> > the modular scheduling-policy scheme of the upstream scheduler.
>
> I don't think that this necessarily true. Ingosched and ingo_ll are
> definitely out and I don't feel like converting staircase and
> nicksched as I have no real interest in them. Perhaps I'll just
> create the interface and some schedulers based on my own ideas and let
> others such as Con and Nick add schedulers if they're still that way
> inclined.
Yeah, i think starting with a smaller subset is the right approach - i
think people _will_ fill the gaps ;-) I agree that preserving
"Ingosched" would not make much sense. (Although it could still be
useful to someone who finds some regression and suspects CFS, and wants
to try with the old scheduler. Or just to test/prove that the
modularization is strong enough to even include those scheduler
heuristics the old scheduler did. Or out of historic interest.)
> > I'm sure there will be some minor issues as isolation of the modules
> > is not enforced right now - and i'd be happy to review (and
> > potentially apply) common-sense patches that improve the framework.
>
> Thanks for the offer of support (it may sway my decision),
you are welcome :) Dmitry Adamushko and Srivatsa Vaddagiri already did
lots of nice "policy module isolation" work in CFS (since the first
crude cut i did in CFS v1), both for the cleanup factor and to enable
features like group-scheduling.
Ingo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22
2007-08-16 20:42 devzero
@ 2007-08-16 21:14 ` Valdis.Kletnieks
0 siblings, 0 replies; 7+ messages in thread
From: Valdis.Kletnieks @ 2007-08-16 21:14 UTC (permalink / raw)
To: devzero; +Cc: linux-kernel, bunk, pwil3058
[-- Attachment #1: Type: text/plain, Size: 791 bytes --]
On Thu, 16 Aug 2007 22:42:42 +0200, devzero@web.de said:
> i trust you kernel developers know what you are doing, but if scares me
> a little bit, that some integral and living part like O(1) being ripped off
> and being replaced by something new.
There's something even scarier - O(1) being taken out and replaced by multiple
new things, none of which ever gets fully tested because if one misbehaves,
the user says "so what" and tries another one without bothering to file a bug
report...
Been there, done that - I found a timing hole in the pluggable I/O schedulers
that probably nobody had managed to hit because there were 3 or 4 choices
available, and they just set a default they liked. Turned out there was a
race condition if I/O happened while schedulers were being swapped.
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-08-16 21:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-11 5:44 [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22 Peter Williams
2007-07-16 8:20 ` Ingo Molnar
2007-07-17 0:09 ` Peter Williams
2007-07-18 9:46 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2007-07-11 22:17 Al Boldi
2007-07-15 4:19 ` Giuseppe Bilotta
2007-08-16 20:42 devzero
2007-08-16 21:14 ` Valdis.Kletnieks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox