From: "Naveen Gupta" <ngupta@google.com>
To: "Aaron Carroll" <aaronc@gelato.unsw.edu.au>
Cc: linux-kernel@vger.kernel.org, jens.axboe@oracle.com,
akpm@linux-foundation.org, s-uchida@ap.jp.nec.com,
david@fromorbit.com
Subject: Re: [PATCH] Priorities in Anticipatory I/O scheduler
Date: Wed, 29 Oct 2008 01:53:20 -0700 [thread overview]
Message-ID: <2846be6b0810290153rf4bf181ta07df64940f7aaca@mail.gmail.com> (raw)
In-Reply-To: <4907C4D8.2090307@gelato.unsw.edu.au>
2008/10/28 Aaron Carroll <aaronc@gelato.unsw.edu.au>:
> Naveen Gupta wrote:
>> 2008/10/28 Aaron Carroll <aaronc@gelato.unsw.edu.au>:
>>> Naveen Gupta wrote:
>>>> As I said earlier the organization of the AS levels is flat, so we
>>>> could use any class (RT, BE, LATENCY) and fold the remaining ones. The
>>>> other way which you would probably like is to increase number of
>>>> levels and map different classes so that they are not folded.
>>> As I said in my reply to the initial posting of this, I think there are
>>> only two sensible ways of handling this:
>>>
>>> 1) Maintain the full number of I/O priorities (1 IDLE, 8 BE, 8 RT);
>>
>> But then we are assuming that we are providing different quality of
>> service according to classes.
>
> Right. The ideal solution is a scheduler-independent definition of
> RT (Jens?) which you can apply here. However, it seems to me that you
> want to basically ignore RT and IDLE. If you're going to do that, at
> least implement sane alternate behaviour.
>
> This solution applies the the principle of least surprise; RT requests
> always have higher priority than BE requests, and within the class,
> higher level means higher priority. In your implementation, BE 0 == RT x
> and IDLE == BE 7. This is surprising behaviour.
Aaron, I took care of these in reply to Dave's email.
>
>>> 2) Collapse the levels and only deal with the classes;
>>
>> I am not sure if this is meaningful. When all we have is different
>> levels of BE, it wouldn't make sense to call them different classes.
>
> It's not meaningful as it stands. This difference here is that you
> at least maintain the ordering of the classes with respect to priority.
I am not sure that giving one level to each class would be an
acceptable solution.
>
>
> -- Aaron
>
>
>
next prev parent reply other threads:[~2008-10-29 8:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20081027190131.070061000@elf.corp.google.com>
2008-10-27 19:01 ` ngupta
2008-10-28 0:20 ` Dave Chinner
2008-10-28 17:14 ` Naveen Gupta
2008-10-28 21:44 ` Dave Chinner
2008-10-28 22:48 ` Naveen Gupta
2008-10-28 23:31 ` Dave Chinner
2008-10-29 0:04 ` Naveen Gupta
2008-10-29 0:31 ` Aaron Carroll
2008-10-29 1:17 ` Naveen Gupta
2008-10-29 2:05 ` Aaron Carroll
2008-10-29 8:53 ` Naveen Gupta [this message]
2008-10-29 4:05 ` Dave Chinner
2008-10-29 8:49 ` Naveen Gupta
2008-10-29 21:33 ` Dave Chinner
[not found] <20080706220551.136430000@elf.corp.google.com>
2008-07-06 22:05 ` ngupta
2008-07-07 3:51 ` Aaron Carroll
2008-07-10 18:52 ` Naveen Gupta
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=2846be6b0810290153rf4bf181ta07df64940f7aaca@mail.gmail.com \
--to=ngupta@google.com \
--cc=aaronc@gelato.unsw.edu.au \
--cc=akpm@linux-foundation.org \
--cc=david@fromorbit.com \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=s-uchida@ap.jp.nec.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
Powered by JetHome