Linux LVM users
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: "Allen, Jack" <Jack.Allen@mckesson.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM with large arrays, one large or mutiple smallPV's?
Date: Wed, 13 Aug 2008 19:01:23 +0100	[thread overview]
Message-ID: <48A32173.1020605@redhat.com> (raw)
In-Reply-To: <4905EFD192EEDF4A9A19EEE98C32B7F70B8FCB6A@DBQV3005.na.corp.mckesson.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Allen, Jack wrote:
>> On Behalf Of Bryn M. Reeves
>> Recent releases of LVM2 improve performance for large VGs as they
>> perform caching of metadata read from disk under some circumstances.
>> There were also a series of fixes to ensure that the tools behave
>> correctly when they find PVs with no metadata.
>> 
>> See earlier threads in the archives on this subject for more information
>> & examples of creating VGs with reduced numbers of metadata areas.
>> 
>> Regards,
>> Bryn.
> ============================================================
> You are saying it affects the performance of some of the LVM tools, but
> what about File Systems or databases that use the Logical Volume
> directly?

Correct. It has no effect on I/O performance - at least not in typical
real-world cases; you could probably construct a worst case scenario
where the VG is severely fragmented across 100s and 100s of PVs so tthat
I/O performance suffers but I have never in practice encountered this
situation (and it could just as easily occur in a VG containing a
smaller number of PVs with the right sequence of LV manipulations and
allocation policy).

On the other hand, poor tool performance with VGs containing 10s or 100s
of PVs has been reported in real world situations on numerous occasions
(particularly on s390/zVM systems using IBM DASD storage since these are
limited to 2GiB per volume so tend to be used in large numbers).

These problems tend not to be noticeable with modest numbers of PVs (~10
or so) although the impact can be measured. With hundreds of metadata
containing PVs the problem can be very noticeable - especially with LVM2
versions that do not include Milan's metadata caching enhancements.

Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIoyFz6YSQoMYUY94RAu6DAJ0WvnIlFjAizDj2Zzyx0bqX1TNRSACbBZU5
778C4VXaUo2xHe3Wmr7ODFM=
=K0Su
-----END PGP SIGNATURE-----

  reply	other threads:[~2008-08-13 18:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12  3:53 [linux-lvm] LVM with large arrays, one large or mutiple small PV's? David S. Broome
2008-08-13  9:43 ` Marek Podmaka
2008-08-13 10:09   ` Bryn M. Reeves
2008-08-13 17:38     ` [linux-lvm] LVM with large arrays, one large or mutiple smallPV's? Allen, Jack
2008-08-13 18:01       ` Bryn M. Reeves [this message]
2008-08-13 16:05 ` [linux-lvm] LVM with large arrays, one large or mutiple small PV's? Andrea Ghelardi

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=48A32173.1020605@redhat.com \
    --to=bmr@redhat.com \
    --cc=Jack.Allen@mckesson.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