[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703082226530.10832@woody.linux-foundation.org>
Date: Thu, 8 Mar 2007 22:31:48 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Bill Davidsen <davidsen@....com>
cc: Ed Tomlinson <edt@....ca>, Gene Heskett <gene.heskett@...il.com>,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Lee Revell <rlrevell@...-job.com>,
Nicolas Mailhot <nicolas.mailhot@...oste.net>
Subject: Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu
scheduler
On Thu, 8 Mar 2007, Bill Davidsen wrote:
>
> Please, could you now rethink plugable scheduler as well? Even if one had to
> be chosen at boot time and couldn't be change thereafter, it would still allow
> a few new thoughts to be included.
No. Really.
I absolutely *detest* pluggable schedulers. They have a huge downside:
they allow people to think that it's ok to make special-case schedulers.
And I simply very fundamentally disagree.
If you want to play with a scheduler of your own, go wild. It's easy
(well, you'll find out that getting good results isn't, but that's a
different thing). But actual pluggable schedulers just cause people to
think that "oh, the scheduler performs badly under circumstance X, so
let's tell people to use special scheduler Y for that case".
And CPU scheduling really isn't that complicated. It's *way* simpler than
IO scheduling. There simply is *no*excuse* for not trying to do it well
enough for all cases, or for having special-case stuff.
But even IO scheduling actually ends up being largely the same. Yes, we
have pluggable schedulers, and we even allow switching them, but in the
end, we don't want people to actually do it. It's much better to have a
scheduler that is "good enough" than it is to have five that are "perfect"
for five particular cases.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists