All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Multiple Snapshots - Manageability problem
@ 2007-01-11 18:18 ` Vijai Babu Madhavan
  0 siblings, 0 replies; 10+ messages in thread
From: Vijai Babu Madhavan @ 2007-01-11 18:18 UTC (permalink / raw)
  To: evms-devel, dm-devel, linux-lvm

Hi,

The problem of DM snapshots with multiple snapshots have been discussed 
in the lists quiet a bit (Most recently @ 
https://www.redhat.com/archives/dm-devel/2006-October/msg00034.html).

We are currently in the process of building a DM snapshot target that scales 
well with many snapshots (so that the changed blocks don't get copied to each 
snapshot). In this process, I would also like to validate an assumption.

Today, when a single snapshot gets created, a new cow device of a given size 
is also created. IMO, there are two problems with this approach:

a) It is difficult to predict the size of the cow device, which requires a prediction 
of the number of writes would go into the origin volume during the snapshot 
life cycle. It is difficult to get this prediction right, as very high value reduces 
utilization and low value increases the chances of snapshot becoming full.

b) A new cow device needs to be created every time.

This really gets messy and creates a management problem once many 
snapshots of a given origin are created, and gets worse with multiple origins.

I am thinking, having a single device that would hold the cow blocks of any 
number of snapshots of a given origin (or more) would help solve this issue 
(Apart from this, having a single device helps share the cow blocks among 
snapshots very effectively in a variety of scenarios).

But, it does require that LVM and EVMS be changed to suit this model and 
also makes the snapshot target quiet complex.

I would like to receive some comments about what users, developers 
and others think about this.

Thanks,
Vijai
P.S:- BTW, apologizes for cross posting.



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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [RFC] Multiple Snapshots - Manageability problem
@ 2008-01-23 16:16 Tomasz Chmielewski
  0 siblings, 0 replies; 10+ messages in thread
From: Tomasz Chmielewski @ 2008-01-23 16:16 UTC (permalink / raw)
  To: linux-lvm, mvijai, dm-devel

Vijai Babu Madhavan, Thu, 11 Jan 2007 11:18:13 -0700, wrote:

> The problem of DM snapshots with multiple snapshots have been discussed 
> in the lists quiet a bit (Most recently @ 
> https://www.redhat.com/archives/dm-devel/2006-October/msg00034.html).
> 
> We are currently in the process of building a DM snapshot target that scales 
> well with many snapshots (so that the changed blocks don't get copied to each 
> snapshot). In this process, I would also like to validate an assumption.
> 
> Today, when a single snapshot gets created, a new cow device of a given size 
> is also created. IMO, there are two problems with this approach:
> 
> a) It is difficult to predict the size of the cow device, which requires a prediction 
> of the number of writes would go into the origin volume during the snapshot 
> life cycle. It is difficult to get this prediction right, as very high value reduces 
> utilization and low value increases the chances of snapshot becoming full.
> 
> b) A new cow device needs to be created every time.

Hi,

Any news on that?

Still, with multiple snapshots write performance degrades linearly - is 
any work done to change that anytime soon?



-- 
Tomasz Chmielewski
http://wpkg.org

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

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

end of thread, other threads:[~2008-01-23 16:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-11 18:18 [RFC] Multiple Snapshots - Manageability problem Vijai Babu Madhavan
2007-01-11 18:18 ` [linux-lvm] " Vijai Babu Madhavan
2007-01-11 21:34 ` Wilson, Christopher J
2007-01-11 21:34   ` [linux-lvm] RE: [dm-devel] " Wilson, Christopher J
2007-01-12  4:46   ` Vijai Babu Madhavan
2007-01-12  4:46     ` [linux-lvm] RE: [dm-devel] " Vijai Babu Madhavan
2007-01-12 21:59 ` Benjamin Marzinski
2007-01-30  4:39   ` Mike Snitzer
2007-03-04 15:55     ` Dan Kegel
  -- strict thread matches above, loose matches on Subject: below --
2008-01-23 16:16 Tomasz Chmielewski

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.