[Qemu-devel] [PATCH 1/1] migration: calculate expected_downtime considering redirtied ram

2019-01-22 Thread bala24
From: Balamuruhan S currently we calculate expected_downtime by time taken to transfer remaining ram, but during the time we had transferred remaining ram few pages of ram might be redirtied and we need to retransfer it, so it is better to consider them for calculating expected_downtime for getti

[Qemu-devel] [PATCH 0/1] migration: calculate expected_downtime considering redirtied ram

2019-01-22 Thread bala24
From: Balamuruhan S Based on the discussion with Dave and David Gibson earlier with respect to expected_downtime calculation, https://lists.gnu.org/archive/html/qemu-devel/2018-04/msg02418.html got suggestions that the calculation is of not accurate and we need to consider the ram that gets re

Re: [Qemu-devel] [PATCH] migration: calculate expected_downtime with ram_bytes_remaining()

2018-04-03 Thread bala24
On 2018-04-03 11:40, Peter Xu wrote: On Sun, Apr 01, 2018 at 12:25:36AM +0530, Balamuruhan S wrote: expected_downtime value is not accurate with dirty_pages_rate * page_size, using ram_bytes_remaining would yeild it correct. Signed-off-by: Balamuruhan S --- migration/migration.c | 3 +-- 1 f