mbox series

[v2,0/6] block-copy: use aio-task-pool

Message ID 20200325134639.16337-1-vsementsov@virtuozzo.com
Headers show
Series block-copy: use aio-task-pool | expand

Message

Vladimir Sementsov-Ogievskiy March 25, 2020, 1:46 p.m. UTC
Hi all!

This is the next step of improving block-copy: use aio task pool.

Async copying loop has better performance than linear, which is shown
in original series (was
"[RFC 00/24] backup performance: block_status + async", so this is
called v2)

Vladimir Sementsov-Ogievskiy (6):
  block/block-copy: rename in-flight requests to tasks
  block/block-copy: alloc task on each iteration
  block/block-copy: add state pointer to BlockCopyTask
  block/block-copy: move task size initial calculation to _task_create
  block/block-copy: move block_copy_task_create down
  block/block-copy: use aio-task-pool API

 block/block-copy.c | 250 ++++++++++++++++++++++++++++++---------------
 1 file changed, 168 insertions(+), 82 deletions(-)

Comments

Vladimir Sementsov-Ogievskiy April 22, 2020, 2:30 p.m. UTC | #1
ping :)

25.03.2020 16:46, Vladimir Sementsov-Ogievskiy wrote:
> Hi all!
> 
> This is the next step of improving block-copy: use aio task pool.
> 
> Async copying loop has better performance than linear, which is shown
> in original series (was
> "[RFC 00/24] backup performance: block_status + async", so this is
> called v2)
> 
> Vladimir Sementsov-Ogievskiy (6):
>    block/block-copy: rename in-flight requests to tasks
>    block/block-copy: alloc task on each iteration
>    block/block-copy: add state pointer to BlockCopyTask
>    block/block-copy: move task size initial calculation to _task_create
>    block/block-copy: move block_copy_task_create down
>    block/block-copy: use aio-task-pool API
> 
>   block/block-copy.c | 250 ++++++++++++++++++++++++++++++---------------
>   1 file changed, 168 insertions(+), 82 deletions(-)
>