lkml.org 
[lkml]   [2020]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v14 04/15] mm/damon: Adaptively adjust regions
    Date
    On 2020-06-02T15:01:14+02:00 SeongJae Park <sjpark@amazon.com> wrote:

    > From: SeongJae Park <sjpark@amazon.de>
    >
    > At the beginning of the monitoring, DAMON constructs the initial regions
    > by evenly splitting the memory mapped address space of the process into
    > the user-specified minimal number of regions. In this initial state,
    > the assumption of the regions (pages in same region have similar access
    > frequencies) is normally not kept and thus the monitoring quality could
    > be low. To keep the assumption as much as possible, DAMON adaptively
    > merges and splits each region.
    >
    > For each ``aggregation interval``, it compares the access frequencies of
    > adjacent regions and merges those if the frequency difference is small.
    > Then, after it reports and clears the aggregated access frequency of
    > each region, it splits each region into two regions if the total number
    > of regions is smaller than the half of the user-specified maximum number
    > of regions.
    >
    > In this way, DAMON provides its best-effort quality and minimal overhead
    > while keeping the bounds users set for their trade-off.
    >
    > Signed-off-by: SeongJae Park <sjpark@amazon.de>

    Reviewed-by: Leonard Foerster <foersleo@amazon.de>

    \
     
     \ /
      Last update: 2020-06-03 10:23    [W:4.098 / U:0.252 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site