Re: [libvirt PATCH 1/2] storage: add support for QCOW2 cluster_size option

2021-05-19 Thread Pavel Hrdina
On Wed, May 19, 2021 at 02:49:14PM +0200, Peter Krempa wrote: > On Thu, May 13, 2021 at 13:23:04 +0200, Pavel Hrdina wrote: > > The default value hard-coded in QEMU (64KiB) is not always the ideal. > > Having a possibility to set the cluster_size by user may in specific > > use-cases improve perfor

Re: [libvirt PATCH 1/2] storage: add support for QCOW2 cluster_size option

2021-05-19 Thread Peter Krempa
On Thu, May 13, 2021 at 13:23:04 +0200, Pavel Hrdina wrote: > The default value hard-coded in QEMU (64KiB) is not always the ideal. > Having a possibility to set the cluster_size by user may in specific > use-cases improve performance for QCOW2 images. > > QEMU internally has some limits, the valu

[libvirt PATCH 1/2] storage: add support for QCOW2 cluster_size option

2021-05-13 Thread Pavel Hrdina
The default value hard-coded in QEMU (64KiB) is not always the ideal. Having a possibility to set the cluster_size by user may in specific use-cases improve performance for QCOW2 images. QEMU internally has some limits, the value has to be between 512B and 2048KiB and must by power of two, except