[linux-lvm] Thin pool performance when allocating lots of blocks
Demi Marie Obenour
demi at invisiblethingslab.com
Tue Feb 8 19:00:43 UTC 2022
Are thin volumes (which start as snapshots of a blank volume) efficient
for building virtual machine images? Given the nature of this workload
(writing to lots of new, possibly-small files, then copying data from
them to a huge disk image), I expect that this will cause sharing to be
broken many, many times, and the kernel code that breaks sharing appears
to be rather heavyweight. Furthermore, since zeroing is enabled, this
might cause substantial write amplification. Turning zeroing off is not
an option for security reasons.
Is there a way to determine if breaking sharing is the cause of
performance problems? If it is, are there any better solutions?
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the linux-lvm