On Fri, Sep 20, 2024 at 10:43:31AM +0800, Yong Huang wrote: > Yes, invoke migration_bitmap_sync_precopy more frequently is also my > first idea but it involves bitmap updating and interfere with the behavior > of page sending, it also affects the migration information stats and > interfere other migration logic such as migration_update_rates().
Could you elaborate? For example, what happens if we start to sync in ram_save_iterate() for some time intervals (e.g. 5 seconds)? Btw, we shouldn't have this extra sync exist if auto converge is disabled no matter which way we use, because it's pure overhead when auto converge is not in use. Thanks, -- Peter Xu