Re:ZFS, BTRFS, XFS, EXT4 and LVM with KVM – A Storage Perfor...
by ryao on Sunday May 22, 2016 @05:18PM
(#11750326)
ZFS also does better when the guests are stored on zvols. If volblocksize=4K is set on creation, it can avoid read-modify-write overhead. Regular files can be used too, but those are somewhat higher overhead. In that case, recordsize=4K can be used.
That said, I do not think the tests involved nesting CoW file systems.
I think Btrfs for a guest F's is best pointed to an LV, rather than qcow2. It's been awhile since I benchmarked that compared to 'qemu-img create -f qcow2 -o nocow=on' which will set xattr +C on the file making it nocow. The nocow xattr helps a lot with this problem.