All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Marowsky-Bree <lmb@suse.de>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: what is the current utility in testing active paths from multipat hd?
Date: Wed, 27 Apr 2005 22:10:24 +0200	[thread overview]
Message-ID: <20050427201024.GD4431@marowsky-bree.de> (raw)
In-Reply-To: <20050427181701.GB9368@us.ibm.com>

On 2005-04-27T11:17:02, Mike Anderson <andmike@us.ibm.com> wrote:

> Once support gets completed / utilized the fc_transport class should
> provide data on the link state and the port state which could be provide
> indication of path health for deciding if to send a patch check cmd. This
> would add complication to the tester as each new transport would need some
> type of handler.

ACK. Yes, this is part of the additional information to use I was
referring to. As long as the port is down, why bother...

> > Another option would be to not mechanically test every N seconds, but to
> > retest a failed path after 1s - 2s - 4s - ... 32s max as a cascading
> > back-off, and maybe start at 2 - 64s for paths in inactive PGs.
> > 
> A cascading backoff / staggered  timer would require less topology
> knowledge than the above path health testing method and would provide the
> reduce IO loading desired (depending on how high a user was willing to go
> on setting the delta between path tests).

Yes, it's easier, but it also slows down responsiveness and path
reactivation of course. One can argue that the combination of the two
works; we only retest every path every N seconds, but we interleave
them, so that essentially we test a path every N/M seconds; and as soon
as one path finds a state change, we shorten the timers for all paths so
they get all tested faster.

That's probably a pretty sophisticated heuristic which would work
reasonably well w/o any additional configuration.


Sincerely,
    Lars Marowsky-Brée <lmb@suse.de>

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business

  reply	other threads:[~2005-04-27 20:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27 16:27 what is the current utility in testing active paths from multipat hd? goggin, edward
2005-04-27 17:02 ` Alasdair G Kergon
2005-04-27 17:07 ` Lars Marowsky-Bree
2005-04-27 18:17   ` Mike Anderson
2005-04-27 20:10     ` Lars Marowsky-Bree [this message]
2005-04-27 20:23       ` christophe varoqui
2005-04-27 18:36   ` Lan
2005-04-28 16:37 ` Lars Marowsky-Bree

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=20050427201024.GD4431@marowsky-bree.de \
    --to=lmb@suse.de \
    --cc=dm-devel@redhat.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 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.