qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backup_calculate_cluster_size does not consider source


From: Stefan Hajnoczi
Subject: Re: backup_calculate_cluster_size does not consider source
Date: Wed, 6 Nov 2019 09:32:22 +0100
User-agent: Mutt/1.12.1 (2019-06-15)

On Tue, Nov 05, 2019 at 11:02:44AM +0100, Dietmar Maurer wrote:
> Example: Backup from ceph disk (rbd_cache=false) to local disk:
> 
> backup_calculate_cluster_size returns 64K (correct for my local .raw image)
> 
> Then the backup job starts to read 64K blocks from ceph.
> 
> But ceph always reads 4M block, so this is incredibly slow and produces
> way too much network traffic.
> 
> Why does backup_calculate_cluster_size does not consider the block size from
> the source disk? 
> 
> cluster_size = MAX(block_size_source, block_size_target)

CCing block maintainers so they see your email and you get a response
more quickly.

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]