[dm-devel] [PATCH 0/4] dm-latency: Introduction

Bryn M. Reeves bmr at redhat.com
Fri Feb 27 10:23:52 UTC 2015


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.




More information about the dm-devel mailing list