faq.rst 1.1 KB

123456789101112131415161718192021222324252627
  1. .. SPDX-License-Identifier: GPL-2.0
  2. ==========================
  3. Frequently Asked Questions
  4. ==========================
  5. Does DAMON support virtual memory only?
  6. =======================================
  7. No. The core of the DAMON is address space independent. The address space
  8. specific monitoring operations including monitoring target regions
  9. constructions and actual access checks can be implemented and configured on the
  10. DAMON core by the users. In this way, DAMON users can monitor any address
  11. space with any access check technique.
  12. Nonetheless, DAMON provides vma/rmap tracking and PTE Accessed bit check based
  13. implementations of the address space dependent functions for the virtual memory
  14. and the physical memory by default, for a reference and convenient use.
  15. Can I simply monitor page granularity?
  16. ======================================
  17. Yes. You can do so by setting the ``min_nr_regions`` attribute higher than the
  18. working set size divided by the page size. Because the monitoring target
  19. regions size is forced to be ``>=page size``, the region split will make no
  20. effect.