Re: [PATCH] migration: Refine the convergence detection

2024-08-07 Thread Yong Huang
On Wed, Aug 7, 2024 at 8:59 PM Peter Xu wrote: > On Wed, Aug 07, 2024 at 02:46:29PM +0800, Yong Huang wrote: > > I still think dropping the dirty_rate_high_cnt is a refinement. If > migration > > has a precise detection of convergence, what do you think of it? > > Maybe; I don't think I thought t

Re: [PATCH] migration: Refine the convergence detection

2024-08-07 Thread Peter Xu
On Wed, Aug 07, 2024 at 02:46:29PM +0800, Yong Huang wrote: > I still think dropping the dirty_rate_high_cnt is a refinement. If migration > has a precise detection of convergence, what do you think of it? Maybe; I don't think I thought through those yet.. If so that'll make sense to be based on

Re: [PATCH] migration: Refine the convergence detection

2024-08-06 Thread Yong Huang
On Wed, Aug 7, 2024 at 12:45 AM Peter Xu wrote: > On Mon, Aug 05, 2024 at 03:03:27PM +0800, Yong Huang wrote: > > Sorry for the late reply. > > > > On Wed, Jul 31, 2024 at 4:01 AM Peter Xu wrote: > > > > > On Wed, Jul 24, 2024 at 07:39:29PM +0800, Hyman Huang wrote: > > > > Currently, the conver

Re: [PATCH] migration: Refine the convergence detection

2024-08-06 Thread Peter Xu
On Mon, Aug 05, 2024 at 03:03:27PM +0800, Yong Huang wrote: > Sorry for the late reply. > > On Wed, Jul 31, 2024 at 4:01 AM Peter Xu wrote: > > > On Wed, Jul 24, 2024 at 07:39:29PM +0800, Hyman Huang wrote: > > > Currently, the convergence algorithm determines that the migration > > > cannot con

Re: [PATCH] migration: Refine the convergence detection

2024-08-05 Thread Yong Huang
Sorry for the late reply. On Wed, Jul 31, 2024 at 4:01 AM Peter Xu wrote: > On Wed, Jul 24, 2024 at 07:39:29PM +0800, Hyman Huang wrote: > > Currently, the convergence algorithm determines that the migration > > cannot converge according to the following principle: > > The dirty pages generated

Re: [PATCH] migration: Refine the convergence detection

2024-07-30 Thread Peter Xu
On Wed, Jul 24, 2024 at 07:39:29PM +0800, Hyman Huang wrote: > Currently, the convergence algorithm determines that the migration > cannot converge according to the following principle: > The dirty pages generated in current iteration exceed a specific > percentage (throttle-trigger-threshold, 50 b

[PATCH] migration: Refine the convergence detection

2024-07-24 Thread Hyman Huang
Currently, the convergence algorithm determines that the migration cannot converge according to the following principle: The dirty pages generated in current iteration exceed a specific percentage (throttle-trigger-threshold, 50 by default) of the number of transmissions. Let's refer to this criter