From: SoulBlazer <soul@lamp-post.net>
To: bluca@comedia.it, linux-raid@vger.kernel.org
Subject: Re: 2 HBA's and Multipath.
Date: Mon, 8 Apr 2002 15:03:00 -0500 [thread overview]
Message-ID: <20020408200445Z313701-22651+2147@vger.kernel.org> (raw)
In-Reply-To: <20020408191622.GB21055@colombina.comedia.it>
What about write balancing ?
I would also be interested in discussing a possible patch to the raid code to
do write/read balancing over N hba's if it is that trivial.
On April 8, 2002 03:16 pm, Luca Berra wrote:
> On Mon, Apr 08, 2002 at 02:02:56PM -0500, SoulBlazer wrote:
> > Question,
> >
> > I have 2 Qlogic Fiberchannel HBA's (2100F's) connected directly to both
> > FCAL ports on my Sun A5200 22 Disk disk array. If I enable multipath, do
> > I get twice the throughput between my linux box and the array ? Or is
> > multipath purely for failover.
> >
> > Additionally do I get twice the bandwidth anyhow since both HBA's see the
> > same disk ? How can I tell if either one or the other or both hba's are
> > being utilized...
>
> multipath does not do any read-balancing (see code below),
> while i don't think it would be difficult to implement (cut&paste from
> raid1.c) i did not have any time to try
>
> only way i found to do read-balancing at the moment is if you have multiple
> luns on your array you can create md configs with alternating channel
> order.
>
> regards,
> Luca
>
> ------- from 2.4.18-rc1/drivers/md/multipath.c
> static int multipath_read_balance (multipath_conf_t *conf)
> {
> int disk;
>
> for (disk = 0; disk < conf->raid_disks; disk++)
> if (conf->multipaths[disk].operational)
> return disk;
> BUG();
> return 0;
> }
next prev parent reply other threads:[~2002-04-08 20:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-08 19:02 2 HBA's and Multipath SoulBlazer
2002-04-08 19:16 ` Luca Berra
2002-04-08 20:03 ` SoulBlazer [this message]
2002-04-11 9:49 ` Luca Berra
2002-04-19 16:18 ` SoulBlazer
2002-04-19 18:28 ` SoulBlazer
2002-04-19 21:58 ` Luca Berra
2002-04-23 21:45 ` SoulBlazer
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=20020408200445Z313701-22651+2147@vger.kernel.org \
--to=soul@lamp-post.net \
--cc=bluca@comedia.it \
--cc=linux-raid@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