walltime of pvs vs pvdisplay with 256 PVs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a testbed with 256 PVs.  Running 'pvdisplay -c' takes .672 sec.
Running 'pvs' takes 43sec!  I've tried this on RHEL4U3
(lvm2-2.02.01-1.3.RHEL4) and RHEL4U4 (lvm2-2.02.06-6.0.RHEL4).  lvm2
from U4 is actually slower than U3 on this issue (1m vs 43s).

With RHEL4U3, pvs -vvvvv shows that a single device gets opened 264
times yet pvdisplay -c -vvvvv only opens a single device 8 times.
With RHEL4U4, there are 261 opens for pvs and 5 opens for pvdisplay
-c.  Clearly there is something flawed in the pvs algorithm.  I can
dig deeper but I wanted to put this info out there in case others
might have some insight.

please advise, thanks.
Mike

_______________________________________________
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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux