From: Chris Snook <csnook@redhat.com>
To: Andrea Arcangeli <andrea@suse.de>
Cc: tim.c.chen@linux.intel.com, mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: pluggable scheduler flamewar thread (was Re: Volanomark slows by 80% under CFS)
Date: Fri, 27 Jul 2007 23:43:23 -0400 [thread overview]
Message-ID: <46AABB5B.3030702@redhat.com> (raw)
In-Reply-To: <20070728005920.GA31622@v2.random>
Andrea Arcangeli wrote:
> On Fri, Jul 27, 2007 at 08:31:19PM -0400, Chris Snook wrote:
>> I think Volanomark is being pretty stupid, and deserves to run slowly, but
>
> Indeed, any app doing what volanomark does is pretty inefficient.
>
> But this is not the point. I/O schedulers are pluggable to help for
> inefficient apps too. If apps would be extremely smart they would all
> use async-io for their reads, and there wouldn't be the need of
> anticipatory scheduler just for an example.
I'm pretty sure the point of posting a patch that triples CFS performance on a
certain benchmark and arguably improves the semantics of sched_yield was to
improve CFS. You have a point, but it is a point for a different thread. I
have taken the liberty of starting this thread for you.
> The fact is there's no technical explanation for which we're forbidden
> to be able to choose between CFS and O(1) at least at boot time.
Sure there is. We can run a fully-functional POSIX OS without using any block
devices at all. We cannot run a fully-functional POSIX OS without a scheduler.
Any feature without which the OS cannot execute userspace code is sufficiently
primitive that somewhere there is a device on which it will be impossible to
debug if that feature fails to initialize. It is quite reasonable to insist on
only having one implementation of such features in any given kernel build.
Whether or not these alternatives belong in the source tree as config-time
options is a political question, but preserving boot-time debugging capability
is a perfectly reasonable technical motivation.
-- Chris
next prev parent reply other threads:[~2007-07-28 3:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 22:01 Volanomark slows by 80% under CFS Tim Chen
2007-07-28 0:31 ` Chris Snook
2007-07-28 0:59 ` Andrea Arcangeli
2007-07-28 3:43 ` Chris Snook [this message]
2007-07-28 5:01 ` pluggable scheduler thread (was Re: Volanomark slows by 80% under CFS) Andrea Arcangeli
2007-07-28 6:51 ` Chris Snook
2007-07-30 18:49 ` Tim Chen
2007-07-30 21:07 ` Chris Snook
2007-07-30 21:24 ` Andrea Arcangeli
2007-07-28 13:28 ` Volanomark slows by 80% under CFS Dmitry Adamushko
2007-07-28 2:47 ` Rik van Riel
2007-07-28 20:26 ` Dave Jones
2007-07-28 12:36 ` Dmitry Adamushko
2007-07-28 18:55 ` David Schwartz
2007-07-29 17:37 ` [patch] sched: yield debugging Ingo Molnar
2007-07-30 18:10 ` Tim Chen
2007-07-31 20:33 ` Ingo Molnar
2007-08-01 20:53 ` Tim Chen
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=46AABB5B.3030702@redhat.com \
--to=csnook@redhat.com \
--cc=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tim.c.chen@linux.intel.com \
/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