mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Phillips <phillips@bonn-fries.net>
To: Jens Axboe <axboe@suse.de>, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][RFT] simple deadline I/O scheduler
Date: Wed, 13 Mar 2002 14:33:10 +0100	[thread overview]
Message-ID: <E16l8sQ-0000EX-00@starship> (raw)
In-Reply-To: <20020104094334.N8673@suse.de>
In-Reply-To: <20020104094334.N8673@suse.de>

On January 4, 2002 09:43 am, Jens Axboe wrote:
> I've played around with implementing an I/O scheduler that _tries_ to
> start request within a given time limit. Note that it makes no
> guarentees of any sort, it's simply a "how does this work in real life"
> sort of thing. It's main use is actually to properly extend the i/o
> scheduler / elevator api to be able to implement more advanced
> schedulers (eg cello).
> 
> The construction of this new i/o scheduler is similar to how cello is
> build -- you have several "low level" schedulers and a class independent
> one on top of those that decides which one to start processing.
> 
> Each request is sorted into two lists -- one is purely sector sorted,
> the other is sorted [1] by expire time. We always serve request from the
> sector sorted list, until one of the front requests on the expire list
> has its deadline violated. Then we start following the sorted list from
> the point of the deadline violated request. This is always done in
> batches of eg 8 or 16 requests, to avoid seeking like mad if we can't
> keep up with the deadlines.

This post never seemed to get the attention it deserves.  Do you have 
performance measurements now?

As part of my experimental hack to get rid of buffer_heads I was casting 
around for a structure to replace the dirty buffer list.  I find myself 
heading towards the conclusion I want a structure that's remarkably similar 
to what you've cooked up here, but that lives at a higher level in the 
system.  The idea is that a page goes into the queue as soon as it's dirtied 
and the elevator takes care of scheduling and merging from there.  Admittedly 
these ideas are half-formed at the moment, but what I see developing is a 
situation where we have attempts at IO scheduling going on at two levels in 
the system, the VM and bio, and the more I think about it the less sense it 
makes.  It's trying to be one subsystem.

Andrew Morton is also working in here, with a collection of ideas that I hope 
are complementary if looked at the right way.  See his '[patch] delayed disk 
block allocation' post.

-- 
Daniel

  parent reply	other threads:[~2002-03-13 13:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-04  8:43 Jens Axboe
2002-01-04  9:21 ` Jens Axboe
2002-01-04 10:51   ` Jens Axboe
2002-01-05 13:38 ` Pavel Machek
2002-01-07 19:31   ` Mark Hahn
2002-01-07 19:57     ` Rik van Riel
2002-01-08  6:43   ` Jens Axboe
2002-03-13 13:33 ` Daniel Phillips [this message]
2002-03-14  7:32   ` Jens Axboe
2002-03-14 15:51     ` Daniel Phillips
2002-03-15 10:57       ` Jens Axboe

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=E16l8sQ-0000EX-00@starship \
    --to=phillips@bonn-fries.net \
    --cc=axboe@suse.de \
    --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®