From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx14.extmail.prod.ext.phx2.redhat.com [10.5.110.19]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id pAA963Ep020465 for ; Thu, 10 Nov 2011 04:06:03 -0500 Received: from h01.hoster-ok.com (h01.hoster-ok.com [88.86.111.110]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pAA961uc026693 for ; Thu, 10 Nov 2011 04:06:02 -0500 Received: from bubble-sam.sam-solutions.net (r01-ge0-SH.prague.vds-ok.com [88.86.98.3] (may be forged)) (authenticated as ) by h01.hoster-ok.com (8.14.3/8.14.3/HOSTER-OK) with ESMTP id pAA95qfr009135 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256 bits) verified NO) for ; Thu, 10 Nov 2011 10:05:54 +0100 Message-ID: <4EBB93F0.8070901@hoster-ok.com> Date: Thu, 10 Nov 2011 12:05:52 +0300 From: Vladislav Bogdanov MIME-Version: 1.0 References: <3D44B3DCE57399449CC1391C2AD6EC4C16EA8D76@ORSMSX101.amr.corp.intel.com> In-Reply-To: <3D44B3DCE57399449CC1391C2AD6EC4C16EA8D76@ORSMSX101.amr.corp.intel.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [linux-lvm] cLVM commands often taking a long time to execute Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="iso-8859-1" To: linux-lvm@redhat.com 09.11.2011 03:06, Riches Jr, Robert M wrote: > I=EF=BF=BDm 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. >=20 > Is it known what causes the cLVM commands to be so slow at times? >=20 > 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