Re: [PATCH 0/4] support dirtyrate measurement with dirty bitmap

2021-07-14 Thread Hyman
在 2021/7/14 1:45, Peter Xu 写道: On Sun, Jul 11, 2021 at 11:27:13PM +0800, Hyman Huang wrote: IMHO we can directly do the calculation when synchronizing the dirty bits in below functions: cpu_physical_memory_set_dirty_range cpu_physical_memory_set_dirty_lebitmap c

Re: [PATCH 0/4] support dirtyrate measurement with dirty bitmap

2021-07-13 Thread Peter Xu
On Sun, Jul 11, 2021 at 11:27:13PM +0800, Hyman Huang wrote: > > IMHO we can directly do the calculation when synchronizing the dirty bits in > > below functions: > > > > cpu_physical_memory_set_dirty_range > > cpu_physical_memory_set_dirty_lebitmap > > cpu_physical_memo

Re: [PATCH 0/4] support dirtyrate measurement with dirty bitmap

2021-07-11 Thread Hyman Huang
在 2021/7/10 2:20, Peter Xu 写道: Yong, On Sun, Jun 27, 2021 at 01:38:13PM +0800, huang...@chinatelecom.cn wrote: From: Hyman Huang(黄勇) the dirtyrate measurement implemented by page-sampling originally, it is not accurate in some scenarios, so we have introduced dirty-ring based dirtyrate mea

Re: [PATCH 0/4] support dirtyrate measurement with dirty bitmap

2021-07-09 Thread Peter Xu
Yong, On Sun, Jun 27, 2021 at 01:38:13PM +0800, huang...@chinatelecom.cn wrote: > From: Hyman Huang(黄勇) > > the dirtyrate measurement implemented by page-sampling originally, it > is not accurate in some scenarios, so we have introduced dirty-ring > based dirtyrate measurement(maybe it will be m

[PATCH 0/4] support dirtyrate measurement with dirty bitmap

2021-06-26 Thread huangy81
From: Hyman Huang(黄勇) the dirtyrate measurement implemented by page-sampling originally, it is not accurate in some scenarios, so we have introduced dirty-ring based dirtyrate measurement(maybe it will be merged soon), it fix the accuracy of page-sampling, and more importantly, it is at the granu