mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Al Boldi <a1426z@gawab.com>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: Re: CFQ will be the new default IO scheduler - why?
Date: Mon, 24 Jul 2006 18:33:26 +0200	[thread overview]
Message-ID: <1153758806.3043.55.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <200607241857.43399.a1426z@gawab.com>


> > Should there be a default scheduler per filesystem?  As some filesystems
> > may perform better/worse with one over another?
> 
> It's currently perDevice, and should probably be extended to perMount.

Hi,

per mount is going to be "not funny". I assume the situation you are
aiming for is the "3 partitions on a disk, each wants its own elevator".
The way the kernel currently works is that IO requests the filesystem
does are first flattened into an IO for the entire device (eg the
partition mapping is done) and THEN the IO scheduler gets involved to
schedule the IO on a per disk basis.
The 2.4 kernel did this the other way around, and it was really a bad
idea (no fairness, less optimal scheduling all around due to less
visibility into what the disk is really doing, several hardware
properties such as TCQ depth that affect scheduling IOs are truely per
disk not per partition etc etc)

So I don't think it's likely that per mount is really an option right
now..

Greetings,
   Arjan van de Ven

--
if you want to mail me at work, send mail to arjan (at) linux.intel.com


  reply	other threads:[~2006-07-24 16:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 15:57 Al Boldi
2006-07-24 16:33 ` Arjan van de Ven [this message]
2006-07-25  4:56   ` Al Boldi
2006-07-25  4:59     ` Arjan van de Ven
2006-07-25 18:27       ` Al Boldi
  -- strict thread matches above, loose matches on Subject: below --
2006-07-23 19:08 Paa Paa
2006-07-24  8:29 ` Matthias Andree
2006-07-24 12:41   ` Justin Piszcz

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=1153758806.3043.55.camel@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=a1426z@gawab.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --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®