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

Re: [linux-lvm] Snapshot question... [scaling problem]

On Wed, Apr 23, 2008 at 8:57 PM, Ross Boylan <ross biostat ucsf edu> wrote:
>  > > but
>  > > when you write to it, the system makes sure that unless it has
>  > > been done already, the block you're modifying are being copied
>  > > first from the "real" volume to COW volume before being modified
>  > > in the "real" volume.
>  >
>  > And to be clear, the COW volumes of _all_ snapshots[1].  This is where
>  > the snapshot scaling problem arises.
>  Could someone say a bit more, because I definitely don't follow this.

If you have a single original volume, and you keep ten snapshots
of it, and then you write a block to the original volume, you
may end up needing to write eleven blocks.  Ouch!

Thus the write overhead of LVM snapshots scales poorly with the
number of snapshots per volume.

Note that LVM snapshots scale well with the number of volumes,
but that's not interesting or surprising, as each volume is independent.
- Dan

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