On Sat, Jul 17, 2021 at 10:57:50AM +0800, Hyman wrote:
>
>
> 在 2021/7/17 3:36, Peter Xu 写道:
> > On Fri, Jul 16, 2021 at 07:13:47PM +0800, huang...@chinatelecom.cn wrote:
> > > +static void calculate_dirtyrate_dirty_bitmap(struct DirtyRateConfig
> > > config)
> > > +{
> > > +int64_t msec = 0;
在 2021/7/17 3:36, Peter Xu 写道:
On Fri, Jul 16, 2021 at 07:13:47PM +0800, huang...@chinatelecom.cn wrote:
+static void calculate_dirtyrate_dirty_bitmap(struct DirtyRateConfig config)
+{
+int64_t msec = 0;
+int64_t start_time;
+DirtyPageRecord dirty_pages;
[1]
+
+dirtyrate_g
On Fri, Jul 16, 2021 at 07:13:47PM +0800, huang...@chinatelecom.cn wrote:
> +static void calculate_dirtyrate_dirty_bitmap(struct DirtyRateConfig config)
> +{
> +int64_t msec = 0;
> +int64_t start_time;
> +DirtyPageRecord dirty_pages;
[1]
> +
> +dirtyrate_global_dirty_log_start();
From: Hyman Huang(黄勇)
introduce dirty-bitmap mode as the third method of calc-dirty-rate.
implement dirty-bitmap dirtyrate calculation, which can be used
to measuring dirtyrate in the absence of dirty-ring.
introduce "dirty_bitmap:-b" option in hmp calc_dirty_rate to
indicate dirty bitmap method