* [linux-lvm] cLVM commands often taking a long time to execute
@ 2011-11-09 0:06 Riches Jr, Robert M
2011-11-10 9:05 ` Vladislav Bogdanov
0 siblings, 1 reply; 4+ messages in thread
From: Riches Jr, Robert M @ 2011-11-09 0:06 UTC (permalink / raw)
To: linux-lvm@redhat.com
[-- Attachment #1: Type: text/plain, Size: 844 bytes --]
I'm running into some odd behavior from clustered LVM commands on a 3-node pacemaker-based cluster. When other processes on the nodes are doing somewhat heavy sequential I/O traffic, LVM commands such as lvs, pvs, vgs, lvdisplay, pvdisplay, and vgdisplay have widely variable, often very long execution times. The same LVM command done repetitively will have execution times varying from less than a second to 10-15 seconds, more rarely up to around 60 seconds. Other read-heavy commands such as find, wc, and sum have much less variability and much shorter tails in the distribution of their execution times.
Is it known what causes the cLVM commands to be so slow at times?
Perchance, are there known ways to get cLVM commands to be less slow?
Or, is this just par for the course for clustered LVM?
Thanks,
Robert Riches
[-- Attachment #2: Type: text/html, Size: 2873 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] cLVM commands often taking a long time to execute
2011-11-09 0:06 [linux-lvm] cLVM commands often taking a long time to execute Riches Jr, Robert M
@ 2011-11-10 9:05 ` Vladislav Bogdanov
2011-11-10 16:16 ` Riches Jr, Robert M
0 siblings, 1 reply; 4+ messages in thread
From: Vladislav Bogdanov @ 2011-11-10 9:05 UTC (permalink / raw)
To: linux-lvm
09.11.2011 03:06, Riches Jr, Robert M wrote:
> I�m running into some odd behavior from clustered LVM commands on a
> 3-node pacemaker-based cluster. When other processes on the nodes are
> doing somewhat heavy sequential I/O traffic, LVM commands such as lvs,
> pvs, vgs, lvdisplay, pvdisplay, and vgdisplay have widely variable,
> often very long execution times. The same LVM command done repetitively
> will have execution times varying from less than a second to 10-15
> seconds, more rarely up to around 60 seconds. Other read-heavy commands
> such as find, wc, and sum have much less variability and much shorter
> tails in the distribution of their execution times.
>
> Is it known what causes the cLVM commands to be so slow at times?
>
> Perchance, are there known ways to get cLVM commands to be less slow?
I use chrt -r 99 for them. And I also run clvmd the same way. But this
is much more about CPU load then IO load.
Also, please make sure that you correctly filter unneeded block devices
from being PV-suspects (filter clause in lvm.conf).
Best,
Vladislav
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] cLVM commands often taking a long time to execute
2011-11-10 9:05 ` Vladislav Bogdanov
@ 2011-11-10 16:16 ` Riches Jr, Robert M
2011-11-15 7:58 ` Vladislav Bogdanov
0 siblings, 1 reply; 4+ messages in thread
From: Riches Jr, Robert M @ 2011-11-10 16:16 UTC (permalink / raw)
To: LVM general discussion and development
Thank you, Vladislav, for the suggestion. That could potentially help in cases where the nodes are CPU-bound, likely independent of whether they are I/O-bound.
Thanks,
Robert Riches
-----Original Message-----
From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Vladislav Bogdanov
Sent: Thursday, November 10, 2011 1:06 AM
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] cLVM commands often taking a long time to execute
09.11.2011 03:06, Riches Jr, Robert M wrote:
> I'm running into some odd behavior from clustered LVM commands on a
> 3-node pacemaker-based cluster. When other processes on the nodes are
> doing somewhat heavy sequential I/O traffic, LVM commands such as lvs,
> pvs, vgs, lvdisplay, pvdisplay, and vgdisplay have widely variable,
> often very long execution times. The same LVM command done
> repetitively will have execution times varying from less than a second
> to 10-15 seconds, more rarely up to around 60 seconds. Other
> read-heavy commands such as find, wc, and sum have much less
> variability and much shorter tails in the distribution of their execution times.
>
> Is it known what causes the cLVM commands to be so slow at times?
>
> Perchance, are there known ways to get cLVM commands to be less slow?
I use chrt -r 99 for them. And I also run clvmd the same way. But this is much more about CPU load then IO load.
Also, please make sure that you correctly filter unneeded block devices from being PV-suspects (filter clause in lvm.conf).
Best,
Vladislav
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] cLVM commands often taking a long time to execute
2011-11-10 16:16 ` Riches Jr, Robert M
@ 2011-11-15 7:58 ` Vladislav Bogdanov
0 siblings, 0 replies; 4+ messages in thread
From: Vladislav Bogdanov @ 2011-11-15 7:58 UTC (permalink / raw)
To: linux-lvm
10.11.2011 19:16, Riches Jr, Robert M wrote:
> Thank you, Vladislav, for the suggestion. That could potentially
> help in cases where the nodes are CPU-bound, likely independent of
> whether they are I/O-bound.
Except filtering unneeded block devices. This greatly helps in IO-bound
setups.
>
> Thanks,
>
> Robert Riches
>
> -----Original Message----- From: linux-lvm-bounces@redhat.com
> [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Vladislav
> Bogdanov Sent: Thursday, November 10, 2011 1:06 AM To:
> linux-lvm@redhat.com Subject: Re: [linux-lvm] cLVM commands often
> taking a long time to execute
>
> 09.11.2011 03:06, Riches Jr, Robert M wrote:
>> I'm running into some odd behavior from clustered LVM commands on a
>> 3-node pacemaker-based cluster. When other processes on the nodes
>> are doing somewhat heavy sequential I/O traffic, LVM commands such
>> as lvs, pvs, vgs, lvdisplay, pvdisplay, and vgdisplay have widely
>> variable, often very long execution times. The same LVM command
>> done repetitively will have execution times varying from less than
>> a second to 10-15 seconds, more rarely up to around 60 seconds.
>> Other read-heavy commands such as find, wc, and sum have much less
>> variability and much shorter tails in the distribution of their
>> execution times.
>>
>> Is it known what causes the cLVM commands to be so slow at times?
>>
>> Perchance, are there known ways to get cLVM commands to be less
>> slow?
>
> I use chrt -r 99 for them. And I also run clvmd the same way. But
> this is much more about CPU load then IO load. Also, please make sure
> that you correctly filter unneeded block devices from being
> PV-suspects (filter clause in lvm.conf).
>
> Best, Vladislav
>
> _______________________________________________ linux-lvm mailing
> list linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO
> at http://tldp.org/HOWTO/LVM-HOWTO/
>
> _______________________________________________ linux-lvm mailing
> list linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO
> at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-15 7:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 0:06 [linux-lvm] cLVM commands often taking a long time to execute Riches Jr, Robert M
2011-11-10 9:05 ` Vladislav Bogdanov
2011-11-10 16:16 ` Riches Jr, Robert M
2011-11-15 7:58 ` Vladislav Bogdanov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).