Re: [PATCH v2 1/3] migration: Support background ramblock dirty sync

2024-10-01 Thread Peter Xu
On Tue, Oct 01, 2024 at 10:02:53AM +0800, Yong Huang wrote: > On Tue, Oct 1, 2024 at 4:41 AM Peter Xu wrote: > > > On Mon, Sep 30, 2024 at 01:14:26AM +0800, yong.hu...@smartx.com wrote: > > > From: Hyman Huang > > > > > > When VM is configured with huge memory, the current throttle logic > > > d

Re: [PATCH v2 1/3] migration: Support background ramblock dirty sync

2024-09-30 Thread Yong Huang
On Tue, Oct 1, 2024 at 4:41 AM Peter Xu wrote: > On Mon, Sep 30, 2024 at 01:14:26AM +0800, yong.hu...@smartx.com wrote: > > From: Hyman Huang > > > > When VM is configured with huge memory, the current throttle logic > > doesn't look like to scale, because migration_trigger_throttle() > > is onl

Re: [PATCH v2 1/3] migration: Support background ramblock dirty sync

2024-09-30 Thread Peter Xu
On Mon, Sep 30, 2024 at 01:14:26AM +0800, yong.hu...@smartx.com wrote: > From: Hyman Huang > > 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 lo

[PATCH v2 1/3] migration: Support background ramblock dirty sync

2024-09-29 Thread yong . huang
From: Hyman Huang 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 background dirty sync aim to