Re: [ceph-users] rbd snapshot slow restore

2015-01-05 Thread Gregory Farnum
On Mon, Jan 5, 2015 at 12:11 PM, Robert LeBlanc wrote: > If Ceph snapshots work like VM snapshots (and I don't have any reason to > believe otherwise), the snapshot will never grow larger than the size of the > base image. If the same blocks are rewritten, then they are just rewritten > in the sna

Re: [ceph-users] rbd snapshot slow restore

2015-01-05 Thread Robert LeBlanc
If Ceph snapshots work like VM snapshots (and I don't have any reason to believe otherwise), the snapshot will never grow larger than the size of the base image. If the same blocks are rewritten, then they are just rewritten in the snapshot and don't take any extra space. The snapshot functions dif

Re: [ceph-users] rbd snapshot slow restore

2014-12-26 Thread Lindsay Mathieson
On Tue, 16 Dec 2014 11:50:37 AM Robert LeBlanc wrote: > COW into the snapshot (like VMware, Ceph, etc): > When a write is committed, the changes are committed to a diff file and the > base file is left untouched. This only has a single write penalty, if you > want to discard the child, it is fast a

Re: [ceph-users] rbd snapshot slow restore

2014-12-16 Thread Lindsay Mathieson
On 17 December 2014 at 11:50, Robert LeBlanc wrote: > > > On Tue, Dec 16, 2014 at 5:37 PM, Lindsay Mathieson > wrote: >> >> On 17 December 2014 at 04:50, Robert LeBlanc wrote: >> > There are really only two ways to do snapshots that I know of and they >> > have >> > trade-offs: >> > >> > COW int

Re: [ceph-users] rbd snapshot slow restore

2014-12-16 Thread Robert LeBlanc
On Tue, Dec 16, 2014 at 5:37 PM, Lindsay Mathieson < lindsay.mathie...@gmail.com> wrote: > > On 17 December 2014 at 04:50, Robert LeBlanc wrote: > > There are really only two ways to do snapshots that I know of and they > have > > trade-offs: > > > > COW into the snapshot (like VMware, Ceph, etc):

Re: [ceph-users] rbd snapshot slow restore

2014-12-16 Thread Lindsay Mathieson
On 17 December 2014 at 04:50, Robert LeBlanc wrote: > There are really only two ways to do snapshots that I know of and they have > trade-offs: > > COW into the snapshot (like VMware, Ceph, etc): > > When a write is committed, the changes are committed to a diff file and the > base file is left un

Re: [ceph-users] rbd snapshot slow restore

2014-12-16 Thread Robert LeBlanc
t; > À: "Wido den Hollander" > Cc: "ceph-users" > Envoyé: Mardi 16 Décembre 2014 17:02:12 > Objet: Re: [ceph-users] rbd snapshot slow restore > > > > > > > > Alexandre Derumier > Ingénieur système et stockage > > > Fixe : 03 20 68

Re: [ceph-users] rbd snapshot slow restore

2014-12-16 Thread Alexandre DERUMIER
uch snapshot with distributed storage) - Mail original - De: "aderumier" À: "Wido den Hollander" Cc: "ceph-users" Envoyé: Mardi 16 Décembre 2014 17:02:12 Objet: Re: [ceph-users] rbd snapshot slow restore Alexandre Derumier Ingénieur système et

Re: [ceph-users] rbd snapshot slow restore

2014-12-16 Thread Alexandre DERUMIER
ander" À: "ceph-users" Envoyé: Mardi 16 Décembre 2014 16:18:09 Objet: Re: [ceph-users] rbd snapshot slow restore On 12/16/2014 04:14 PM, Carl-Johan Schenström wrote: > On 2014-12-16 14:53, Lindsay Mathieson wrote: > >>> Is this normal? is ceph just really slow

Re: [ceph-users] rbd snapshot slow restore

2014-12-16 Thread Wido den Hollander
On 12/16/2014 04:14 PM, Carl-Johan Schenström wrote: > On 2014-12-16 14:53, Lindsay Mathieson wrote: > >>> Is this normal? is ceph just really slow at restoring rbd snapshots, >>> or have I really borked my setup? >> >> I'm not looking for a fix or a tuning suggestions, just feedback on >> whether

Re: [ceph-users] rbd snapshot slow restore

2014-12-16 Thread Carl-Johan Schenström
On 2014-12-16 14:53, Lindsay Mathieson wrote: Is this normal? is ceph just really slow at restoring rbd snapshots, or have I really borked my setup? I'm not looking for a fix or a tuning suggestions, just feedback on whether this is normal That is my experience as well. I rolled back a 1,5 T

Re: [ceph-users] rbd snapshot slow restore

2014-12-16 Thread Lindsay Mathieson
On Tue, 16 Dec 2014 11:26:35 AM you wrote: > Is this normal? is ceph just really slow at restoring rbd snapshots, > or have I really borked my setup? I'm not looking for a fix or a tuning suggestions, just feedback on whether this is normal -- Lindsay signature.asc Description: This is a digit

[ceph-users] rbd snapshot slow restore

2014-12-15 Thread Lindsay Mathieson
I'm finding snapshot restores to be very slow. With a small vm, I can take a snapshot withing seconds, but restores can take over 15 minutes, sometimes nearly an hou, depending on how I have tweaked ceph. The same vm as a QCOW2 image on NFS or native disk can be restored in under 30 seconds. Is t