[Devel] [PATCH vz10 v2 1/2] ms/selftests/damon/damon_nr_regions: set ops update for merge results check to 100ms
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Sep 2 20:56:42 MSK 2026
On Tue, 01 Sep 2026 02:13:25 +0300, Eva Kurchatova <eva.kurchatova at virtuozzo.com> wrote:
> damon_nr_regions.py updates max_nr_regions to a number smaller than
> expected number of real regions and confirms DAMON respect the harsh
> limit. To give time for DAMON to make changes for the regions, 3
> aggregation intervals (300 milliseconds) are given.
>
> The internal mechanism works with not only the max_nr_regions, but also
> sz_limit, though. It avoids merging region if that casn make region of
> size larger than sz_limit. In the test, sz_limit is set too small to
> achive the new max_nr_regions, unless it is updated for the new
> min_nr_regions. But the update is done only once per operations set
> update interval, which is one second by default.
>
> [...]
Reviewed-by: Konstantin Khorenko <khorenko at virtuozzo.com>
--
Konstantin Khorenko <khorenko at virtuozzo.com>
More information about the Devel
mailing list