Files
qemu-xteink/include/sysemu
Hyman Huang 52ac968ab2 migration: Support periodic RAMBlock dirty bitmap sync
When VM is configured with huge memory, the current throttle logic
doesn't look like to scale, because migration_trigger_throttle()
is only called for each iteration, so it won't be invoked for a long
time if one iteration can take a long time.

The periodic dirty sync aims to fix the above issue by synchronizing
the ramblock from remote dirty bitmap and, when necessary, triggering
the CPU throttle multiple times during a long iteration.

This is a trade-off between synchronization overhead and CPU throttle
impact.

Signed-off-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/f61f1b3653f2acf026901103e1c73d157d38b08f.1729146786.git.yong.huang@smartx.com
[peterx: make prev_cnt global, and reset for each migration]
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-10-31 15:48:18 -04:00
..
2023-09-08 13:08:52 +03:00
2024-10-15 15:16:17 +01:00
2023-11-14 10:42:32 +01:00
2023-08-31 19:46:43 +02:00
2023-09-08 13:08:52 +03:00
2024-05-03 15:47:48 +02:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2022-09-29 11:40:28 +02:00