All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM Performance issues when creating many Volume groups
@ 2016-04-01 17:30 Syed Mushtaq
  2016-04-04  8:10 ` Zdenek Kabelac
  0 siblings, 1 reply; 2+ messages in thread
From: Syed Mushtaq @ 2016-04-01 17:30 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

Hi linux-lvm,

In my setup I am trying to map a backend ISCSI storage volume to a volume
group. I am using that volume group as a Disk for VMs in Xen. However, If I
create many volume groups, future volume group creates are slowing down. In
my test I have about 600 VGs. Each VG has a single LV. Here are the
commands that are taking a lot of time

create volume group ( 4.8s ): /usr/sbin/vgcreate
VG_XenStorage-1fe15110-61f6-
856f-8ae2-8e42e45a4316 /dev/disk/by-id/scsi-36f47acc1000000007931637600000
523

list lvs inside volume group ( 2.4s ): /usr/sbin/lvs --noheadings --units b
-o +lv_tags /dev/VG_XenStorage-1fe15110-61f6-856f-8ae2-8e42e45a4316

check if LVM volume group exisits (2.5s) : /usr/sbin/vgs
VG_XenStorage-1fe15110-61f6-856f-8ae2-8e42e45a4316

I am using LVM 2.0.88. Is this a known issue? Any workarounds?

Thanks for you help.
-Syed

[-- Attachment #2: Type: text/html, Size: 1384 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-04  8:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01 17:30 [linux-lvm] LVM Performance issues when creating many Volume groups Syed Mushtaq
2016-04-04  8:10 ` Zdenek Kabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.