Re: [Qemu-block] [PATCH v2] migration/block: Avoid invoking blk_drain too frequently

2017-03-16 Thread Juan Quintela
Fam Zheng wrote: > On Wed, 03/15 17:31, Dr. David Alan Gilbert wrote: >> * Fam Zheng (f...@redhat.com) wrote: >> > On Wed, 03/15 11:37, Lidong Chen wrote: >> > > Increase bmds->cur_dirty after submit io, so reduce the frequency >> > > involve into blk_drain, and improve the

Re: [Qemu-block] [PATCH v2] migration/block: Avoid invoking blk_drain too frequently

2017-03-15 Thread Fam Zheng
On Wed, 03/15 17:31, Dr. David Alan Gilbert wrote: > * Fam Zheng (f...@redhat.com) wrote: > > On Wed, 03/15 11:37, Lidong Chen wrote: > > > Increase bmds->cur_dirty after submit io, so reduce the frequency > > > involve into blk_drain, and improve the performance obviously > > > when block

Re: [Qemu-block] [PATCH v2] migration/block: Avoid invoking blk_drain too frequently

2017-03-15 Thread Dr. David Alan Gilbert
* Fam Zheng (f...@redhat.com) wrote: > On Wed, 03/15 11:37, Lidong Chen wrote: > > Increase bmds->cur_dirty after submit io, so reduce the frequency > > involve into blk_drain, and improve the performance obviously > > when block migration. > > > > The performance test result of this patch: > >

Re: [Qemu-block] [PATCH v2] migration/block: Avoid invoking blk_drain too frequently

2017-03-15 Thread Fam Zheng
On Wed, 03/15 11:37, Lidong Chen wrote: > Increase bmds->cur_dirty after submit io, so reduce the frequency > involve into blk_drain, and improve the performance obviously > when block migration. > > The performance test result of this patch: > > During the block dirty save phase, this patch

Re: [Qemu-block] [PATCH v2] migration/block: Avoid invoking blk_drain too frequently

2017-03-15 Thread Kevin Wolf
Am 15.03.2017 um 04:37 hat Lidong Chen geschrieben: > Increase bmds->cur_dirty after submit io, so reduce the frequency > involve into blk_drain, and improve the performance obviously > when block migration. > > The performance test result of this patch: > > During the block dirty save phase,

[Qemu-block] [PATCH v2] migration/block: Avoid invoking blk_drain too frequently

2017-03-14 Thread Lidong Chen
Increase bmds->cur_dirty after submit io, so reduce the frequency involve into blk_drain, and improve the performance obviously when block migration. The performance test result of this patch: During the block dirty save phase, this patch improve guest os IOPS from 4.0K to 9.5K. and improve the