linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	eneal@businessgrade.com
Subject: Re: [linux-lvm] Why is my LVM Mirror performance so bad?
Date: Mon, 29 Sep 2014 10:59:11 +0200	[thread overview]
Message-ID: <54291F5F.8040806@redhat.com> (raw)
In-Reply-To: <CAKAA-nmnZHXQBMcfh-tzs8qO5rf6tfrM3wTf8qg3R_11MGkupw@mail.gmail.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 <eneal@businessgrade.com
> <mailto:eneal@businessgrade.com>> 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

  reply	other threads:[~2014-09-29  8:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-27 17:42 [linux-lvm] Why is my LVM Mirror performance so bad? Errol Neal
2014-09-27 20:35 ` Micky
2014-09-29  8:59   ` Zdenek Kabelac [this message]
2014-09-29 18:15 ` Linda A. Walsh
2014-09-30  3:27 ` Brassow Jonathan

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=54291F5F.8040806@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=eneal@businessgrade.com \
    --cc=linux-lvm@redhat.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 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).