public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Peter Williams <pwil3058@bigpond.net.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE][RFC] PlugSched-6.5.1 for  2.6.22
Date: Wed, 18 Jul 2007 11:46:41 +0200	[thread overview]
Message-ID: <20070718094641.GA22651@elte.hu> (raw)
In-Reply-To: <469C08BF.5010406@bigpond.net.au>


* 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

  reply	other threads:[~2007-07-18  9:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
  -- 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070718094641.GA22651@elte.hu \
    --to=mingo@elte.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pwil3058@bigpond.net.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox