Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-27 Thread Yong Huang
On Fri, Sep 27, 2024 at 11:35 PM Peter Xu wrote: > On Fri, Sep 27, 2024 at 10:50:01AM +0800, Yong Huang wrote: > > On Fri, Sep 27, 2024 at 3:55 AM Peter Xu wrote: > > > > > On Fri, Sep 27, 2024 at 02:13:47AM +0800, Yong Huang wrote: > > > > On Thu, Sep 26, 2024 at 3:17 AM Peter Xu wrote: > > >

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-27 Thread Peter Xu
On Fri, Sep 27, 2024 at 10:50:01AM +0800, Yong Huang wrote: > On Fri, Sep 27, 2024 at 3:55 AM Peter Xu wrote: > > > On Fri, Sep 27, 2024 at 02:13:47AM +0800, Yong Huang wrote: > > > On Thu, Sep 26, 2024 at 3:17 AM Peter Xu wrote: > > > > > > > On Fri, Sep 20, 2024 at 10:43:31AM +0800, Yong Huang

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-27 Thread Hyman Huang
在 2024/9/27 23:35, Peter Xu 写道: On Fri, Sep 27, 2024 at 10:50:01AM +0800, Yong Huang wrote: On Fri, Sep 27, 2024 at 3:55 AM Peter Xu wrote: On Fri, Sep 27, 2024 at 02:13:47AM +0800, Yong Huang wrote: On Thu, Sep 26, 2024 at 3:17 AM Peter Xu wrote: On Fri, Sep 20, 2024 at 10:43:31AM +080

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-26 Thread Yong Huang
On Fri, Sep 27, 2024 at 3:55 AM Peter Xu wrote: > On Fri, Sep 27, 2024 at 02:13:47AM +0800, Yong Huang wrote: > > On Thu, Sep 26, 2024 at 3:17 AM Peter Xu wrote: > > > > > On Fri, Sep 20, 2024 at 10:43:31AM +0800, Yong Huang wrote: > > > > Yes, invoke migration_bitmap_sync_precopy more frequentl

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-26 Thread Peter Xu
On Fri, Sep 27, 2024 at 02:13:47AM +0800, Yong Huang wrote: > On Thu, Sep 26, 2024 at 3:17 AM Peter Xu wrote: > > > 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 updati

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-26 Thread Yong Huang
On Thu, Sep 26, 2024 at 3:17 AM Peter Xu wrote: > 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 affe

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-25 Thread Peter Xu
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 mi

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-19 Thread Yong Huang
On Fri, Sep 20, 2024 at 2:45 AM Peter Xu wrote: > On Tue, Sep 17, 2024 at 02:48:03PM +0800, Yong Huang wrote: > > On Tue, Sep 17, 2024 at 5:11 AM Fabiano Rosas wrote: > > > > > Hyman Huang writes: > > > > > > > shadow_bmap, iter_bmap and iter_dirty_pages are introduced > > > > to satisfy the ne

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-19 Thread Yong Huang
On Fri, Sep 20, 2024 at 2:45 AM Peter Xu wrote: > On Tue, Sep 17, 2024 at 02:48:03PM +0800, Yong Huang wrote: > > On Tue, Sep 17, 2024 at 5:11 AM Fabiano Rosas wrote: > > > > > Hyman Huang writes: > > > > > > > shadow_bmap, iter_bmap and iter_dirty_pages are introduced > > > > to satisfy the ne

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-19 Thread Yong Huang
On Fri, Sep 20, 2024 at 2:45 AM Peter Xu wrote: > On Tue, Sep 17, 2024 at 02:48:03PM +0800, Yong Huang wrote: > > On Tue, Sep 17, 2024 at 5:11 AM Fabiano Rosas wrote: > > > > > Hyman Huang writes: > > > > > > > shadow_bmap, iter_bmap and iter_dirty_pages are introduced > > > > to satisfy the ne

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-19 Thread Peter Xu
On Tue, Sep 17, 2024 at 02:48:03PM +0800, Yong Huang wrote: > On Tue, Sep 17, 2024 at 5:11 AM Fabiano Rosas wrote: > > > Hyman Huang writes: > > > > > shadow_bmap, iter_bmap and iter_dirty_pages are introduced > > > to satisfy the need for background sync. > > > > > > Meanwhile, introduce enumer

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-16 Thread Yong Huang
On Tue, Sep 17, 2024 at 5:11 AM Fabiano Rosas wrote: > Hyman Huang writes: > > > shadow_bmap, iter_bmap and iter_dirty_pages are introduced > > to satisfy the need for background sync. > > > > Meanwhile, introduce enumeration of sync method. > > > > Signed-off-by: Hyman Huang > > --- > > inclu

Re: [PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-16 Thread Fabiano Rosas
Hyman Huang writes: > shadow_bmap, iter_bmap and iter_dirty_pages are introduced > to satisfy the need for background sync. > > Meanwhile, introduce enumeration of sync method. > > Signed-off-by: Hyman Huang > --- > include/exec/ramblock.h | 45 + > migra

[PATCH v1 1/7] migration: Introduce structs for background sync

2024-09-15 Thread Hyman Huang
shadow_bmap, iter_bmap and iter_dirty_pages are introduced to satisfy the need for background sync. Meanwhile, introduce enumeration of sync method. Signed-off-by: Hyman Huang --- include/exec/ramblock.h | 45 + migration/ram.c | 6 ++ 2 file