Lines Matching +refs:region +refs:id +refs:attrs
232 can be covered. However, users could want to set the initial monitoring region
246 to ``N-1``. Each directory represents each initial monitoring target region.
251 In each region directory, you will find two files (``start`` and ``end``). You
253 region by writing to and reading from the files, respectively.
255 Each region should not overlap with others. ``end`` of directory ``N`` should
283 - ``willneed``: Call ``madvise()`` for the region with ``MADV_WILLNEED``.
285 - ``cold``: Call ``madvise()`` for the region with ``MADV_COLD``.
287 - ``pageout``: Call ``madvise()`` for the region with ``MADV_PAGEOUT``.
289 - ``hugepage``: Call ``madvise()`` for the region with ``MADV_HUGEPAGE``.
291 - ``nohugepage``: Call ``madvise()`` for the region with ``MADV_NOHUGEPAGE``.
293 - ``lru_prio``: Prioritize the region on its LRU lists.
295 - ``lru_deprio``: Deprioritize the region on its LRU lists.
432 region that the corresponding scheme's ``action`` has tried to be applied under
435 ``nr_accesses``, and ``age`` of the region.
453 In each region directory, you will find four files (``start``, ``end``,
455 addresses, ``nr_accesses``, and ``age`` of the region that corresponding
461 Below commands applies a scheme saying "If a memory region of size in [4KiB,
463 interval in [10, 20], page out the region. For the paging out, use only up to
512 DAMON exports eight files, ``attrs``, ``target_ids``, ``init_regions``,
522 reading from and writing to the ``attrs`` file. To know about the monitoring
528 # echo 5000 100000 1000000 10 1000 > attrs
529 # cat attrs
538 monitoring targets. Users can set the targets by writing relevant id values of
569 region to specific address ranges, such as the heap, the stack, or specific
581 one region in below form.::
588 ``100-200`` as the initial monitoring target region of pid 42, which is the
642 - 0: Call ``madvise()`` for the region with ``MADV_WILLNEED``. Ignored if
644 - 1: Call ``madvise()`` for the region with ``MADV_COLD``. Ignored if
646 - 2: Call ``madvise()`` for the region with ``MADV_PAGEOUT``.
647 - 3: Call ``madvise()`` for the region with ``MADV_HUGEPAGE``. Ignored if
649 - 4: Call ``madvise()`` for the region with ``MADV_NOHUGEPAGE``. Ignored if
710 Below commands applies a scheme saying "If a memory region of size in [4KiB,
712 interval in [10, 20], page out the region. For the paging out, use only up to
782 # attrs init_regions kdamond_pid schemes target_ids