All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Tejun Heo <htejun@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] as-iosched: update alias handling
Date: Fri, 11 Nov 2005 14:21:34 +0100	[thread overview]
Message-ID: <20051111132134.GU3699@suse.de> (raw)
In-Reply-To: <4373CB4C.6070602@yahoo.com.au>

On Fri, Nov 11 2005, Nick Piggin wrote:
> Jens Axboe wrote:
> >On Thu, Nov 10 2005, Tejun Heo wrote:
> >
> >>Unlike other ioscheds, as-iosched handles alias by chaing them using
> >>rq->queuelist.  As aliased requests are very rare in the first place,
> >>this complicates merge/dispatch handling without meaningful
> >>performance improvement.  This patch updates as-iosched to dump
> >>aliased requests into dispatch queue as other ioscheds do.
> >>
> >>Signed-off-by: Tejun Heo <htejun@gmail.com>
> >
> >
> >In theory the way 'as' handles the aliases is faster since we postpone
> >pushing them to the dispatch list at the same point (and they have
> >strong (if not identical) locality). But it is much simpler to just
> >shove the offending requests onto the dispatch list.
> >
> >It's really up to Nick - what do you think? Leaving patch below.
> >
> 
> I thought this was pretty cool, but in reality it could be that the
> cost / benefit actually goes the wrong way due to added complexity
> and rarity of alised requests.
> 
> Hmm... I can't bear to ack it ;) I'll close my eyes and let Jens
> make the call!

Heh well, I am a sucker for simplicity especially when it's for corner
cases where the more advanced solution will at most save you a full
seek.

> >>Jens, I've tested this change for several hours, but it might be
> >>better to postpone this change to next release.  It's your call.
> >>
> 
> It could go into mm now, but probably leave it for 2.6.16 unless
> you have some other reason to really need it.

Agree, I've shoved it into the 'post-2.6.15' branch.

-- 
Jens Axboe


      reply	other threads:[~2005-11-11 13:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-10 14:08 [PATCH] as-iosched: update alias handling Tejun Heo
2005-11-10 17:17 ` Jens Axboe
2005-11-10 22:35   ` Nick Piggin
2005-11-11 13:21     ` Jens Axboe [this message]

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=20051111132134.GU3699@suse.de \
    --to=axboe@suse.de \
    --cc=htejun@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.