From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <54291F5F.8040806@redhat.com> Date: Mon, 29 Sep 2014 10:59:11 +0200 From: Zdenek Kabelac MIME-Version: 1.0 References: <1411839754687039500@businessgrade.com> In-Reply-To: Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] Why is my LVM Mirror performance so bad? 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="us-ascii"; format="flowed" To: LVM general discussion and development , eneal@businessgrade.com Dne 27.9.2014 v 22:35 Micky napsal(a): > Because it is LVM! :) > And that's what I call 'Very helpful answer' > On Sat, Sep 27, 2014 at 10:42 PM, Errol Neal > wrote: > > Hi There. Hoping to get some clarity on some performance woes in a little > testing environment that I've setup. > > I am experimenting with LVM mirrors on a CentOS 6.5 cluster. > Are you using 'exclusive' single node activation - or is your mirror active on multiple nodes with cmirrord ? > I have two VMs running on ESX5.5 that are sharing two RDM luns from an SRP > target server running SCST. > > Performance however seems to take a huge hit compared to a vanilla volume > > > [root@scst1 ~]# vgs > VG #PV #LV #SN Attr VSize VFree > hadata 2 5 0 wz--nc 999.99g 149.99g > vg_scst1 1 2 0 wz--n- 39.51g 0 > > [root@scst1 ~]# lvs -a -o +devices lvs -a -o+lv_active If you don't need cluster-wide mirror activation - use the local version: lvchange -aey vg/mirror Note - new mdraid is supported only in 'exlusive' mode. Zdenek