From: "Philip R. Auld" <pauld@egenera.com>
To: Mike Christie <mikenc@us.ibm.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>,
Simon Kelley <simon@thekelleys.org.uk>,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: Is there a grand plan for FC failover?
Date: Thu, 29 Jan 2004 10:24:30 -0500 [thread overview]
Message-ID: <20040129102430.G11527@vienna.EGENERA.COM> (raw)
In-Reply-To: <401839A8.307@us.ibm.com>; from mikenc@us.ibm.com on Wed, Jan 28, 2004 at 02:37:28PM -0800
Rumor has it that on Wed, Jan 28, 2004 at 02:37:28PM -0800 Mike Christie said:
> Philip R. Auld wrote:
> > Hi James,
> > Thanks for the reply.
> >
> > Rumor has it that on Wed, Jan 28, 2004 at 10:57:29AM -0600 James Bottomley said:
> >
> >>On Wed, 2004-01-28 at 09:02, Philip R. Auld wrote:
> >>
> >>> 1) load balancing when possible: it's not enough to be just a
> >>> failover mechanism.
> >>
> >>For first out, a failover target supplies most of the needs. Nothing
> >>prevents an aggregation target being added later, but failover is
> >>essential.
> >
> >
> > Yes, failover is necessary, but not sufficient to make a decent multipath driver.
> > I'm a little concerned by the "added later" part. Shouldn't it be designed in?
>
> The DM multipath can do both. Unfortunately, some work still needs to be
> done. For example, when doing load balancing how much IO to send down
> each path is an issue that the DM maintainer had asked for feedback on.
> Suggestions?
>
That leads back to where to put the request merging and elevator code...
The way I currently do load-balancing is on a scsi_cmnd basis. At that point
the IO is coalesced already. A shortest queue_depth falling back to
round-robin algorithm balances really well on individual commands. From a
logical block level, I'm not sure how. I'm a little unfamiliar (as my posts
have shown) with how/where the DM code fits in. (I've also not gotten a good
look into 2.6 BIO... busy on 2.4 still.)
I think the place to do load balancing would be below the block queue so that
the IOs are coalesced. IMO, until you've merged the individual block requests
you can't make a good decision about how to balance the load.
--
Philip R. Auld, Ph.D. Egenera, Inc.
Principal Software Engineer 165 Forest St.
(508) 858-2628 Marlboro, MA 01752
next prev parent reply other threads:[~2004-01-29 15:26 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-26 14:18 Is there a grand plan for FC failover? Simon Kelley
2004-01-26 15:37 ` James Bottomley
2004-01-28 15:02 ` Philip R. Auld
2004-01-28 16:57 ` James Bottomley
2004-01-28 18:00 ` Philip R. Auld
2004-01-28 20:47 ` Patrick Mansfield
2004-01-28 22:14 ` James Bottomley
2004-01-29 0:55 ` Patrick Mansfield
2004-01-30 19:48 ` [dm-devel] " Joe Thornber
2004-01-31 9:30 ` Jens Axboe
2004-01-31 16:59 ` Philip R. Auld
2004-01-31 17:42 ` Jens Axboe
2004-02-12 15:17 ` Philip R. Auld
2004-02-12 15:28 ` Arjan van de Ven
2004-02-12 16:03 ` Philip R. Auld
2004-01-28 22:37 ` Mike Christie
2004-01-29 15:24 ` Philip R. Auld [this message]
2004-01-29 16:00 ` James Bottomley
2004-01-29 23:25 ` Mike Christie
-- strict thread matches above, loose matches on Subject: below --
2004-01-28 21:02 Smart, James
2004-01-28 22:16 ` James Bottomley
2004-01-29 14:49 ` Philip R. Auld
2004-01-29 15:05 ` James Bottomley
2004-01-29 17:35 Smart, James
2004-01-29 18:31 ` Mike Anderson
2004-01-29 18:31 ` James Bottomley
2004-01-29 18:41 Smart, James
2004-01-29 19:37 Smart, James
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=20040129102430.G11527@vienna.EGENERA.COM \
--to=pauld@egenera.com \
--cc=James.Bottomley@steeleye.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mikenc@us.ibm.com \
--cc=simon@thekelleys.org.uk \
/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