All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: Laurence Oberman <loberman@redhat.com>
Cc: Tao Ma <boyu.mt@taobao.com>, Robin Dong <sanbai@alibaba-inc.com>,
	device-mapper development <dm-devel@redhat.com>,
	Mikulas Patocka <mpatocka@redhat.com>, Coly Li <colyli@gmail.com>,
	Alasdair Kergon <agk@redhat.com>
Subject: Re: [PATCH 0/4] dm-latency: Introduction
Date: Fri, 27 Feb 2015 10:23:52 +0000	[thread overview]
Message-ID: <20150227102352.GA27817@localhost.localdomain> (raw)
In-Reply-To: <1647891142.9505344.1424979943736.JavaMail.zimbra@redhat.com>

On Thu, Feb 26, 2015 at 02:45:43PM -0500, Laurence Oberman wrote:
> For my particular use case its about providing the ability to warn on latencies being seen for multipath devices based on a given threshold.
> Of course this can simply be a userspace tool using what we already expose and do the calculations to make it work.
> When we have these latencies we then focus on which SAN path may or may not be contributing.
> Within multipathd we can already configure service time as a load balancer, perhaps we can do the monitoring in the same place.
> i.e. warn on service time above a threshold.

One limitation here is that the dm-mpath target is request-based.
Currently dm-statistics are only available for bio-based targets. This
means that to obtain fine-grained stats for multipath devices we need to
insert a linear layer on top of the dm-mpath device.

If we wanted to take this further and apply counters to each underlying
path then that would require a similar layer to be added between the sd
devices and the dm-mpath map.

> When a customer says "I currently use the following xxxx for multipath
> on RHEL however I want to go to native multipathing, but you don't
> provide the monitoring I need" I want to work to an enhancement.

Average wait times are easily obtained from the current kernel counter
set but (aside from the ability to hone in on subsections of the device)
this doesn't buy you that much beyond vanilla iostat.

Regards,
Bryn.

  reply	other threads:[~2015-02-27 10:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26  6:39 [PATCH 0/4] dm-latency: Introduction Coly Li
2015-02-26 16:49 ` Mikulas Patocka
2015-02-26 17:00   ` Laurence Oberman
2015-02-26 17:39     ` Bryn M. Reeves
2015-02-26 17:25   ` Bryn M. Reeves
2015-02-26 19:34     ` Mikulas Patocka
2015-02-26 19:45       ` Laurence Oberman
2015-02-27 10:23         ` Bryn M. Reeves [this message]
2015-02-27 19:13           ` Mikulas Patocka
  -- strict thread matches above, loose matches on Subject: below --
2015-02-23 17:27 Coly Li

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=20150227102352.GA27817@localhost.localdomain \
    --to=bmr@redhat.com \
    --cc=agk@redhat.com \
    --cc=boyu.mt@taobao.com \
    --cc=colyli@gmail.com \
    --cc=dm-devel@redhat.com \
    --cc=loberman@redhat.com \
    --cc=mpatocka@redhat.com \
    --cc=sanbai@alibaba-inc.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.