Re: Time needed for take a snapshot

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

 



Dne 19. 01. 20 v 13:59 Gionatan Danti napsal(a):
Hi list,
just for confirmation: is the time needed to take a snapshot constant, or does it depend on how many chunks are mapped in/by the specific thin pool and volume? In other workds, is snapshot create time O(1) or O(n)?

Hi

Depends on what you are asking - in lvm2 - unfortunately some parts of the code are sometimes even O(n^2) - so the more LVs are in VG - the 'heavier' the operation gets.

So having  thousands of LVs in a single VG will become probably your bottleneck.

The bTree mapping in kernel will probably be less problematic here.

Regards

Zdenek

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
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