Re: [Qemu-devel] reduce write bandwidth of qcow2 driver while allocating new cluster

2017-09-04 Thread Liu Qing
On Mon, Sep 04, 2017 at 04:17:42PM +0300, Anton Nefedov wrote: > > > On 31/8/2017 9:55 AM, Liu Qing wrote: > >On Wed, Aug 30, 2017 at 01:15:33PM +0300, Anton Nefedov wrote: > >> > >>On 29/08/2017 05:56, Liu Qing wrote: > >>>On Mon, Aug 2

Re: [Qemu-devel] reduce write bandwidth of qcow2 driver while allocating new cluster

2017-08-30 Thread Liu Qing
On Wed, Aug 30, 2017 at 01:15:33PM +0300, Anton Nefedov wrote: > > On 29/08/2017 05:56, Liu Qing wrote: > >On Mon, Aug 28, 2017 at 10:46:34AM -0500, Eric Blake wrote: > >>[adding qemu-block] > >> > >>On 08/28/2017 12:56 AM, Liu Qing wrote: > >>

Re: [Qemu-devel] reduce write bandwidth of qcow2 driver while allocating new cluster

2017-08-28 Thread Liu Qing
On Mon, Aug 28, 2017 at 05:40:48PM -0400, John Snow wrote: > > > On 08/28/2017 01:56 AM, Liu Qing wrote: > > Dear list, > > Recently I used fio to test qcow2 driver in the guest os, and found out > > that when a new cluster is allocated the 4K IO will occupy 64K(de

Re: [Qemu-devel] reduce write bandwidth of qcow2 driver while allocating new cluster

2017-08-28 Thread Liu Qing
On Mon, Aug 28, 2017 at 10:46:34AM -0500, Eric Blake wrote: > [adding qemu-block] > > On 08/28/2017 12:56 AM, Liu Qing wrote: > > Dear list, > > Recently I used fio to test qcow2 driver in the guest os, and found out > > that when a new cluster is allocated the 4K

[Qemu-devel] reduce write bandwidth of qcow2 driver while allocating new cluster

2017-08-27 Thread Liu Qing
Dear list, Recently I used fio to test qcow2 driver in the guest os, and found out that when a new cluster is allocated the 4K IO will occupy 64K(default cluster size) bandwith. From the code qcow2 driver will fill the unused part of new allocated cluster with 0 in perform_cow. These 0s are