Re: [libvirt] [PATCH v6 0/2] Add support for qcow2 cache

2017-10-04 Thread John Ferlan
On 09/27/2017 11:23 PM, Liu Qing wrote: > On Wed, Sep 27, 2017 at 02:07:02PM -0400, John Ferlan wrote: >> >> >> On 09/27/2017 08:42 AM, Pavel Hrdina wrote: >>> On Wed, Sep 27, 2017 at 02:24:12PM +0200, Pavel Hrdina wrote: On Tue, Sep 26, 2017 at 05:06:37PM -0400, John Ferlan wrote: > >>>

Re: [libvirt] [PATCH v6 0/2] Add support for qcow2 cache

2017-09-27 Thread Liu Qing
On Wed, Sep 27, 2017 at 02:07:02PM -0400, John Ferlan wrote: > > > On 09/27/2017 08:42 AM, Pavel Hrdina wrote: > > On Wed, Sep 27, 2017 at 02:24:12PM +0200, Pavel Hrdina wrote: > >> On Tue, Sep 26, 2017 at 05:06:37PM -0400, John Ferlan wrote: > >>> > >>> > >>> On 09/18/2017 11:45 PM, Liu Qing wro

Re: [libvirt] [PATCH v6 0/2] Add support for qcow2 cache

2017-09-27 Thread John Ferlan
On 09/27/2017 08:42 AM, Pavel Hrdina wrote: > On Wed, Sep 27, 2017 at 02:24:12PM +0200, Pavel Hrdina wrote: >> On Tue, Sep 26, 2017 at 05:06:37PM -0400, John Ferlan wrote: >>> >>> >>> On 09/18/2017 11:45 PM, Liu Qing wrote: Qcow2 small IO random write performance will drop dramatically if th

Re: [libvirt] [PATCH v6 0/2] Add support for qcow2 cache

2017-09-27 Thread Pavel Hrdina
On Wed, Sep 27, 2017 at 02:24:12PM +0200, Pavel Hrdina wrote: > On Tue, Sep 26, 2017 at 05:06:37PM -0400, John Ferlan wrote: > > > > > > On 09/18/2017 11:45 PM, Liu Qing wrote: > > > Qcow2 small IO random write performance will drop dramatically if the l2 > > > cache table could not cover the who

Re: [libvirt] [PATCH v6 0/2] Add support for qcow2 cache

2017-09-27 Thread Pavel Hrdina
On Tue, Sep 26, 2017 at 05:06:37PM -0400, John Ferlan wrote: > > > On 09/18/2017 11:45 PM, Liu Qing wrote: > > Qcow2 small IO random write performance will drop dramatically if the l2 > > cache table could not cover the whole disk. This will be a lot of l2 > > cache table RW operations if cache m

Re: [libvirt] [PATCH v6 0/2] Add support for qcow2 cache

2017-09-26 Thread Liu Qing
On Tue, Sep 26, 2017 at 05:06:37PM -0400, John Ferlan wrote: > > > On 09/18/2017 11:45 PM, Liu Qing wrote: > > Qcow2 small IO random write performance will drop dramatically if the l2 > > cache table could not cover the whole disk. This will be a lot of l2 > > cache table RW operations if cache m

Re: [libvirt] [PATCH v6 0/2] Add support for qcow2 cache

2017-09-26 Thread John Ferlan
On 09/18/2017 11:45 PM, Liu Qing wrote: > Qcow2 small IO random write performance will drop dramatically if the l2 > cache table could not cover the whole disk. This will be a lot of l2 > cache table RW operations if cache miss happens frequently. > > This patch exports the qcow2 driver paramet

[libvirt] [PATCH v6 0/2] Add support for qcow2 cache

2017-09-18 Thread Liu Qing
Qcow2 small IO random write performance will drop dramatically if the l2 cache table could not cover the whole disk. This will be a lot of l2 cache table RW operations if cache miss happens frequently. This patch exports the qcow2 driver parameter l2-cache-size/refcount-cache-size, first added in