Re: [PATCH] migration: Do not perform RAMBlock dirty sync during the first iteration

2024-11-08 Thread Yong Huang
On Fri, Nov 8, 2024 at 9:50 PM Peter Xu wrote: > On Fri, Nov 08, 2024 at 02:03:47PM +0800, Yong Huang wrote: > > On Fri, Nov 8, 2024 at 12:28 AM Peter Xu wrote: > > > > > On Thu, Nov 07, 2024 at 05:56:50PM +0800, yong.hu...@smartx.com wrote: > > > > From: Hyman Huang > > > > > > > > The first i

Re: [PATCH] migration: Do not perform RAMBlock dirty sync during the first iteration

2024-11-08 Thread Peter Xu
On Fri, Nov 08, 2024 at 02:03:47PM +0800, Yong Huang wrote: > On Fri, Nov 8, 2024 at 12:28 AM Peter Xu wrote: > > > On Thu, Nov 07, 2024 at 05:56:50PM +0800, yong.hu...@smartx.com wrote: > > > From: Hyman Huang > > > > > > The first iteration's RAMBlock dirty sync can be omitted because QEMU > >

Re: [PATCH] migration: Do not perform RAMBlock dirty sync during the first iteration

2024-11-07 Thread Yong Huang
On Fri, Nov 8, 2024 at 12:28 AM Peter Xu wrote: > On Thu, Nov 07, 2024 at 05:56:50PM +0800, yong.hu...@smartx.com wrote: > > From: Hyman Huang > > > > The first iteration's RAMBlock dirty sync can be omitted because QEMU > > always initializes the RAMBlock's bmap to all 1s by default. > > > > Si

Re: [PATCH] migration: Do not perform RAMBlock dirty sync during the first iteration

2024-11-07 Thread Peter Xu
On Thu, Nov 07, 2024 at 05:56:50PM +0800, yong.hu...@smartx.com wrote: > From: Hyman Huang > > The first iteration's RAMBlock dirty sync can be omitted because QEMU > always initializes the RAMBlock's bmap to all 1s by default. > > Signed-off-by: Hyman Huang > --- > migration/cpu-throttle.c |

[PATCH] migration: Do not perform RAMBlock dirty sync during the first iteration

2024-11-07 Thread yong . huang
From: Hyman Huang The first iteration's RAMBlock dirty sync can be omitted because QEMU always initializes the RAMBlock's bmap to all 1s by default. Signed-off-by: Hyman Huang --- migration/cpu-throttle.c | 2 +- migration/ram.c | 19 --- 2 files changed, 17 insertion