119d7c3adSSeongJae Park# SPDX-License-Identifier: GPL-2.0 219d7c3adSSeongJae Park 319d7c3adSSeongJae Parkmenu "DAMON Samples" 419d7c3adSSeongJae Park 519d7c3adSSeongJae Parkconfig SAMPLE_DAMON_WSSE 6a58f3dcfSSeongjun Kim bool "DAMON sample module for working set size estimation" 719d7c3adSSeongJae Park depends on DAMON && DAMON_VADDR 819d7c3adSSeongJae Park help 919d7c3adSSeongJae Park This builds DAMON sample module for working set size estimation. 1019d7c3adSSeongJae Park 1119d7c3adSSeongJae Park The module receives a pid, monitor access to the virtual address 1219d7c3adSSeongJae Park space of the process, estimate working set size of the process, and 1319d7c3adSSeongJae Park repeatedly prints the size on the kernel log. 1419d7c3adSSeongJae Park 1519d7c3adSSeongJae Park If unsure, say N. 1619d7c3adSSeongJae Park 172aca2546SSeongJae Parkconfig SAMPLE_DAMON_PRCL 18a58f3dcfSSeongjun Kim bool "DAMON sample module for access-aware proactive reclamation" 192aca2546SSeongJae Park depends on DAMON && DAMON_VADDR 202aca2546SSeongJae Park help 212aca2546SSeongJae Park This builds DAMON sample module for access-aware proactive 222aca2546SSeongJae Park reclamation. 232aca2546SSeongJae Park 242aca2546SSeongJae Park The module receives a pid, monitor access to the virtual address 252aca2546SSeongJae Park space of the process, find memory regions that not accessed, and 262aca2546SSeongJae Park proactively reclaim the regions. 272aca2546SSeongJae Park 282aca2546SSeongJae Park If unsure, say N. 292aca2546SSeongJae Park 30*82a08bdeSSeongJae Parkconfig SAMPLE_DAMON_MTIER 31*82a08bdeSSeongJae Park bool "DAMON sample module for memory tiering" 32*82a08bdeSSeongJae Park depends on DAMON && DAMON_PADDR 33*82a08bdeSSeongJae Park help 34*82a08bdeSSeongJae Park Thps builds DAMON sample module for memory tierign. 35*82a08bdeSSeongJae Park 36*82a08bdeSSeongJae Park The module assumes the system is constructed with two NUMA nodes, 37*82a08bdeSSeongJae Park which seems as local and remote nodes to all CPUs. For example, 38*82a08bdeSSeongJae Park node0 is for DDR5 DRAMs connected via DIMM, while node1 is for DDR4 39*82a08bdeSSeongJae Park DRAMs connected via CXL. 40*82a08bdeSSeongJae Park 41*82a08bdeSSeongJae Park If unsure, say N. 42*82a08bdeSSeongJae Park 4319d7c3adSSeongJae Parkendmenu 44