mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Al Boldi <a1426z@gawab.com>
To: linux-kernel@vger.kernel.org
Subject: IOsched: AS improvements (was: [Announce] [patch] Modular Scheduler Core and Completely Fair)
Date: Mon, 16 Apr 2007 10:29:17 +0300	[thread overview]
Message-ID: <200704161029.18023.a1426z@gawab.com> (raw)

Nick Piggin wrote:
> Actually, I would still like to be able to deprecate deadline for
> AS, because AS has a tunable that you can switch to turn off read
> anticipation and revert to deadline behaviour (or very close to).

You mean antic_expire?  I tried it, and it does have an enormous effect on 
performance.  Smaller values do mimic deadline behavior in a way, as 
deadline has some strange behaviour on sync, so it's closer to noop, which 
is good for single user/proc access, while larger values are good for multi 
user/proc access.  But I always have to set it to 0, or else it starves sync 
with others reading.

I wonder if these tunables couldn't be autotuned by some form of 
history-based access pattern detection?

> It would have been nice if CFQ were then a layer on top of AS that
> implemented priorities (or vice versa). And then AS could be
> deprecated and we'd be back to 1 primary scheduler.
>
> Well CFQ seems to be going in the right direction with that, however
> some large users still find AS faster for some reason...

AS is faster no-contest.  CFQ has some deep block-io/queue problem that slows 
it down up to 25%.  It's related to max_sectors_kb and read_ahead_kb , and I 
mentioned this to Jens before, and AS show this problem sometimes too, but 
with CFQ it's much more prevalent.


Thanks!

--
Al


                 reply	other threads:[~2007-04-16  7:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200704161029.18023.a1426z@gawab.com \
    --to=a1426z@gawab.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®