Re: [Qemu-devel] [PATCH] Improve accuracy of block migration bandwidth calculation

2011-03-31 Thread Michael Roth
On 03/31/2011 09:13 AM, Avishay Traeger wrote: The current bandwidth calculation looks like this: (block_mig_state.reads * BLOCK_SIZE)/ block_mig_state.total_time "total_time" is currently the sum of the read request latencies. This is not very accurate because block migration uses aio and so

[Qemu-devel] [PATCH] Improve accuracy of block migration bandwidth calculation

2011-03-31 Thread Avishay Traeger
The current bandwidth calculation looks like this: (block_mig_state.reads * BLOCK_SIZE)/ block_mig_state.total_time "total_time" is currently the sum of the read request latencies. This is not very accurate because block migration uses aio and so several requests can be submitted at once. Bandw