1f968c6a4SSeongJae Parkwhat: /sys/kernel/mm/damon/ 2f968c6a4SSeongJae ParkDate: Mar 2022 3f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 4f968c6a4SSeongJae ParkDescription: Interface for Data Access MONitoring (DAMON). Contains files 5f968c6a4SSeongJae Park for controlling DAMON. For more details on DAMON itself, 6f968c6a4SSeongJae Park please refer to Documentation/admin-guide/mm/damon/index.rst. 7f968c6a4SSeongJae Park 8f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/ 9f968c6a4SSeongJae ParkDate: Mar 2022 10f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 11f968c6a4SSeongJae ParkDescription: Interface for privileged users of DAMON. Contains files for 12f968c6a4SSeongJae Park controlling DAMON that aimed to be used by privileged users. 13f968c6a4SSeongJae Park 14f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds 15f968c6a4SSeongJae ParkDate: Mar 2022 16f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 17f968c6a4SSeongJae ParkDescription: Writing a number 'N' to this file creates the number of 18f968c6a4SSeongJae Park directories for controlling each DAMON worker thread (kdamond) 19f968c6a4SSeongJae Park named '0' to 'N-1' under the kdamonds/ directory. 20f968c6a4SSeongJae Park 21f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/state 22f968c6a4SSeongJae ParkDate: Mar 2022 23f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 24f968c6a4SSeongJae ParkDescription: Writing 'on' or 'off' to this file makes the kdamond starts or 25f968c6a4SSeongJae Park stops, respectively. Reading the file returns the keywords 26adc286e6SSeongJae Park based on the current status. Writing 'commit' to this file 27adc286e6SSeongJae Park makes the kdamond reads the user inputs in the sysfs files 28adc286e6SSeongJae Park except 'state' again. Writing 'update_schemes_stats' to the 29adc286e6SSeongJae Park file updates contents of schemes stats files of the kdamond. 301b0006daSSeongJae Park Writing 'update_schemes_tried_regions' to the file updates 311b0006daSSeongJae Park contents of 'tried_regions' directory of every scheme directory 321b0006daSSeongJae Park of this kdamond. Writing 'clear_schemes_tried_regions' to the 331b0006daSSeongJae Park file removes contents of the 'tried_regions' directory. 34f968c6a4SSeongJae Park 35f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/pid 36f968c6a4SSeongJae ParkDate: Mar 2022 37f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 38f968c6a4SSeongJae ParkDescription: Reading this file returns the pid of the kdamond if it is 39f968c6a4SSeongJae Park running. 40f968c6a4SSeongJae Park 41f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts 42f968c6a4SSeongJae ParkDate: Mar 2022 43f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 44f968c6a4SSeongJae ParkDescription: Writing a number 'N' to this file creates the number of 45f968c6a4SSeongJae Park directories for controlling each DAMON context named '0' to 46f968c6a4SSeongJae Park 'N-1' under the contexts/ directory. 47f968c6a4SSeongJae Park 482fe60ec9SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations 492fe60ec9SSeongJae ParkDate: Apr 2022 502fe60ec9SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 512fe60ec9SSeongJae ParkDescription: Reading this file returns the available monitoring operations 522fe60ec9SSeongJae Park sets on the currently running kernel. 532fe60ec9SSeongJae Park 54f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations 55f968c6a4SSeongJae ParkDate: Mar 2022 56f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 57f968c6a4SSeongJae ParkDescription: Writing a keyword for a monitoring operations set ('vaddr' for 5891541808SSeongJae Park virtual address spaces monitoring, 'fvaddr' for fixed virtual 5991541808SSeongJae Park address ranges monitoring, and 'paddr' for the physical address 6091541808SSeongJae Park space monitoring) to this file makes the context to use the 6191541808SSeongJae Park operations set. Reading the file returns the keyword for the 6291541808SSeongJae Park operations set the context is set to use. 6391541808SSeongJae Park 6491541808SSeongJae Park Note that only the operations sets that listed in 6591541808SSeongJae Park 'avail_operations' file are valid inputs. 66f968c6a4SSeongJae Park 67f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us 68f968c6a4SSeongJae ParkDate: Mar 2022 69f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 70f968c6a4SSeongJae ParkDescription: Writing a value to this file sets the sampling interval of the 71f968c6a4SSeongJae Park DAMON context in microseconds as the value. Reading this file 72f968c6a4SSeongJae Park returns the value. 73f968c6a4SSeongJae Park 74f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us 75f968c6a4SSeongJae ParkDate: Mar 2022 76f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 77f968c6a4SSeongJae ParkDescription: Writing a value to this file sets the aggregation interval of 78f968c6a4SSeongJae Park the DAMON context in microseconds as the value. Reading this 79f968c6a4SSeongJae Park file returns the value. 80f968c6a4SSeongJae Park 81f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us 82f968c6a4SSeongJae ParkDate: Mar 2022 83f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 84f968c6a4SSeongJae ParkDescription: Writing a value to this file sets the update interval of the 85f968c6a4SSeongJae Park DAMON context in microseconds as the value. Reading this file 86f968c6a4SSeongJae Park returns the value. 87f968c6a4SSeongJae Park 88f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/min 89f968c6a4SSeongJae Park 90f968c6a4SSeongJae ParkWDate: Mar 2022 91f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 92f968c6a4SSeongJae ParkDescription: Writing a value to this file sets the minimum number of 93f968c6a4SSeongJae Park monitoring regions of the DAMON context as the value. Reading 94f968c6a4SSeongJae Park this file returns the value. 95f968c6a4SSeongJae Park 96f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/max 97f968c6a4SSeongJae ParkDate: Mar 2022 98f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 99f968c6a4SSeongJae ParkDescription: Writing a value to this file sets the maximum number of 100f968c6a4SSeongJae Park monitoring regions of the DAMON context as the value. Reading 101f968c6a4SSeongJae Park this file returns the value. 102f968c6a4SSeongJae Park 103f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets 104f968c6a4SSeongJae ParkDate: Mar 2022 105f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 106f968c6a4SSeongJae ParkDescription: Writing a number 'N' to this file creates the number of 107f968c6a4SSeongJae Park directories for controlling each DAMON target of the context 108f968c6a4SSeongJae Park named '0' to 'N-1' under the contexts/ directory. 109f968c6a4SSeongJae Park 110f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/pid_target 111f968c6a4SSeongJae ParkDate: Mar 2022 112f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 113f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the pid of 114f968c6a4SSeongJae Park the target process if the context is for virtual address spaces 115f968c6a4SSeongJae Park monitoring, respectively. 116f968c6a4SSeongJae Park 117f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/nr_regions 118f968c6a4SSeongJae ParkDate: Mar 2022 119f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 120f968c6a4SSeongJae ParkDescription: Writing a number 'N' to this file creates the number of 121f968c6a4SSeongJae Park directories for setting each DAMON target memory region of the 122f968c6a4SSeongJae Park context named '0' to 'N-1' under the regions/ directory. In 123f968c6a4SSeongJae Park case of the virtual address space monitoring, DAMON 124f968c6a4SSeongJae Park automatically sets the target memory region based on the target 125f968c6a4SSeongJae Park processes' mappings. 126f968c6a4SSeongJae Park 127f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/start 128f968c6a4SSeongJae ParkDate: Mar 2022 129f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 130f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the start 131f968c6a4SSeongJae Park address of the monitoring region. 132f968c6a4SSeongJae Park 133f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/end 134f968c6a4SSeongJae ParkDate: Mar 2022 135f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 136f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the end 137f968c6a4SSeongJae Park address of the monitoring region. 138f968c6a4SSeongJae Park 139f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes 140f968c6a4SSeongJae ParkDate: Mar 2022 141f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 142f968c6a4SSeongJae ParkDescription: Writing a number 'N' to this file creates the number of 143f968c6a4SSeongJae Park directories for controlling each DAMON-based operation scheme 144f968c6a4SSeongJae Park of the context named '0' to 'N-1' under the schemes/ directory. 145f968c6a4SSeongJae Park 146f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action 147f968c6a4SSeongJae ParkDate: Mar 2022 148f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 149f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the action 150f968c6a4SSeongJae Park of the scheme. 151f968c6a4SSeongJae Park 152f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/min 153f968c6a4SSeongJae ParkDate: Mar 2022 154f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 155f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the mimimum 156f968c6a4SSeongJae Park size of the scheme's target regions in bytes. 157f968c6a4SSeongJae Park 158f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/max 159f968c6a4SSeongJae ParkDate: Mar 2022 160f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 161f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the maximum 162f968c6a4SSeongJae Park size of the scheme's target regions in bytes. 163f968c6a4SSeongJae Park 164f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/min 165f968c6a4SSeongJae ParkDate: Mar 2022 166f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 167f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the manimum 168f968c6a4SSeongJae Park 'nr_accesses' of the scheme's target regions. 169f968c6a4SSeongJae Park 170f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/max 171f968c6a4SSeongJae ParkDate: Mar 2022 172f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 173f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the maximum 174f968c6a4SSeongJae Park 'nr_accesses' of the scheme's target regions. 175f968c6a4SSeongJae Park 176f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min 177f968c6a4SSeongJae ParkDate: Mar 2022 178f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 179f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the minimum 180f968c6a4SSeongJae Park 'age' of the scheme's target regions. 181f968c6a4SSeongJae Park 182f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/max 183f968c6a4SSeongJae ParkDate: Mar 2022 184f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 185f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the maximum 186f968c6a4SSeongJae Park 'age' of the scheme's target regions. 187f968c6a4SSeongJae Park 188f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/ms 189f968c6a4SSeongJae ParkDate: Mar 2022 190f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 191f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the time 192f968c6a4SSeongJae Park quota of the scheme in milliseconds. 193f968c6a4SSeongJae Park 194f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/bytes 195f968c6a4SSeongJae ParkDate: Mar 2022 196f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 197f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the size 198f968c6a4SSeongJae Park quota of the scheme in bytes. 199f968c6a4SSeongJae Park 200f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms 201f968c6a4SSeongJae ParkDate: Mar 2022 202f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 203f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the quotas 204f968c6a4SSeongJae Park charge reset interval of the scheme in milliseconds. 205f968c6a4SSeongJae Park 206f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil 207f968c6a4SSeongJae ParkDate: Mar 2022 208f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 209f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the 210f968c6a4SSeongJae Park under-quota limit regions prioritization weight for 'size' in 211f968c6a4SSeongJae Park permil. 212f968c6a4SSeongJae Park 213f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/nr_accesses_permil 214f968c6a4SSeongJae ParkDate: Mar 2022 215f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 216f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the 217f968c6a4SSeongJae Park under-quota limit regions prioritization weight for 218f968c6a4SSeongJae Park 'nr_accesses' in permil. 219f968c6a4SSeongJae Park 220f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/age_permil 221f968c6a4SSeongJae ParkDate: Mar 2022 222f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 223f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the 224f968c6a4SSeongJae Park under-quota limit regions prioritization weight for 'age' in 225f968c6a4SSeongJae Park permil. 226f968c6a4SSeongJae Park 227f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/metric 228f968c6a4SSeongJae ParkDate: Mar 2022 229f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 230f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the metric 231f968c6a4SSeongJae Park of the watermarks for the scheme. The writable/readable 232f968c6a4SSeongJae Park keywords for this file are 'none' for disabling the watermarks 233f968c6a4SSeongJae Park feature, or 'free_mem_rate' for the system's global free memory 234f968c6a4SSeongJae Park rate in permil. 235f968c6a4SSeongJae Park 236f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/interval_us 237f968c6a4SSeongJae ParkDate: Mar 2022 238f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 239f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the metric 240f968c6a4SSeongJae Park check interval of the watermarks for the scheme in 241f968c6a4SSeongJae Park microseconds. 242f968c6a4SSeongJae Park 243f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/high 244f968c6a4SSeongJae ParkDate: Mar 2022 245f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 246f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the high 247f968c6a4SSeongJae Park watermark of the scheme in permil. 248f968c6a4SSeongJae Park 249f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/mid 250f968c6a4SSeongJae ParkDate: Mar 2022 251f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 252f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the mid 253f968c6a4SSeongJae Park watermark of the scheme in permil. 254f968c6a4SSeongJae Park 255f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/low 256f968c6a4SSeongJae ParkDate: Mar 2022 257f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 258f968c6a4SSeongJae ParkDescription: Writing to and reading from this file sets and gets the low 259f968c6a4SSeongJae Park watermark of the scheme in permil. 260f968c6a4SSeongJae Park 261*497b099dSSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/nr_filters 262*497b099dSSeongJae ParkDate: Dec 2022 263*497b099dSSeongJae ParkContact: SeongJae Park <sj@kernel.org> 264*497b099dSSeongJae ParkDescription: Writing a number 'N' to this file creates the number of 265*497b099dSSeongJae Park directories for setting filters of the scheme named '0' to 266*497b099dSSeongJae Park 'N-1' under the filters/ directory. 267*497b099dSSeongJae Park 268*497b099dSSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/type 269*497b099dSSeongJae ParkDate: Dec 2022 270*497b099dSSeongJae ParkContact: SeongJae Park <sj@kernel.org> 271*497b099dSSeongJae ParkDescription: Writing to and reading from this file sets and gets the type of 272*497b099dSSeongJae Park the memory of the interest. 'anon' for anonymous pages, or 273*497b099dSSeongJae Park 'memcg' for specific memory cgroup can be written and read. 274*497b099dSSeongJae Park 275*497b099dSSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/memcg_path 276*497b099dSSeongJae ParkDate: Dec 2022 277*497b099dSSeongJae ParkContact: SeongJae Park <sj@kernel.org> 278*497b099dSSeongJae ParkDescription: If 'memcg' is written to the 'type' file, writing to and 279*497b099dSSeongJae Park reading from this file sets and gets the path to the memory 280*497b099dSSeongJae Park cgroup of the interest. 281*497b099dSSeongJae Park 282*497b099dSSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/matching 283*497b099dSSeongJae ParkDate: Dec 2022 284*497b099dSSeongJae ParkContact: SeongJae Park <sj@kernel.org> 285*497b099dSSeongJae ParkDescription: Writing 'Y' or 'N' to this file sets whether to filter out 286*497b099dSSeongJae Park pages that do or do not match to the 'type' and 'memcg_path', 287*497b099dSSeongJae Park respectively. Filter out means the action of the scheme will 288*497b099dSSeongJae Park not be applied to. 289*497b099dSSeongJae Park 290f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_tried 291f968c6a4SSeongJae ParkDate: Mar 2022 292f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 293f968c6a4SSeongJae ParkDescription: Reading this file returns the number of regions that the action 294f968c6a4SSeongJae Park of the scheme has tried to be applied. 295f968c6a4SSeongJae Park 296f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_tried 297f968c6a4SSeongJae ParkDate: Mar 2022 298f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 299f968c6a4SSeongJae ParkDescription: Reading this file returns the total size of regions that the 300f968c6a4SSeongJae Park action of the scheme has tried to be applied in bytes. 301f968c6a4SSeongJae Park 302f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_applied 303f968c6a4SSeongJae ParkDate: Mar 2022 304f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 305f968c6a4SSeongJae ParkDescription: Reading this file returns the number of regions that the action 306f968c6a4SSeongJae Park of the scheme has successfully applied. 307f968c6a4SSeongJae Park 308f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_applied 309f968c6a4SSeongJae ParkDate: Mar 2022 310f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 311f968c6a4SSeongJae ParkDescription: Reading this file returns the total size of regions that the 312f968c6a4SSeongJae Park action of the scheme has successfully applied in bytes. 313f968c6a4SSeongJae Park 314f968c6a4SSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/qt_exceeds 315f968c6a4SSeongJae ParkDate: Mar 2022 316f968c6a4SSeongJae ParkContact: SeongJae Park <sj@kernel.org> 317f968c6a4SSeongJae ParkDescription: Reading this file returns the number of the exceed events of 318f968c6a4SSeongJae Park the scheme's quotas. 3191b0006daSSeongJae Park 3201b0006daSSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/start 3211b0006daSSeongJae ParkDate: Oct 2022 3221b0006daSSeongJae ParkContact: SeongJae Park <sj@kernel.org> 3231b0006daSSeongJae ParkDescription: Reading this file returns the start address of a memory region 3241b0006daSSeongJae Park that corresponding DAMON-based Operation Scheme's action has 3251b0006daSSeongJae Park tried to be applied. 3261b0006daSSeongJae Park 3271b0006daSSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/end 3281b0006daSSeongJae ParkDate: Oct 2022 3291b0006daSSeongJae ParkContact: SeongJae Park <sj@kernel.org> 3301b0006daSSeongJae ParkDescription: Reading this file returns the end address of a memory region 3311b0006daSSeongJae Park that corresponding DAMON-based Operation Scheme's action has 3321b0006daSSeongJae Park tried to be applied. 3331b0006daSSeongJae Park 3341b0006daSSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/nr_accesses 3351b0006daSSeongJae ParkDate: Oct 2022 3361b0006daSSeongJae ParkContact: SeongJae Park <sj@kernel.org> 3371b0006daSSeongJae ParkDescription: Reading this file returns the 'nr_accesses' of a memory region 3381b0006daSSeongJae Park that corresponding DAMON-based Operation Scheme's action has 3391b0006daSSeongJae Park tried to be applied. 3401b0006daSSeongJae Park 3411b0006daSSeongJae ParkWhat: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/age 3421b0006daSSeongJae ParkDate: Oct 2022 3431b0006daSSeongJae ParkContact: SeongJae Park <sj@kernel.org> 3441b0006daSSeongJae ParkDescription: Reading this file returns the 'age' of a memory region that 3451b0006daSSeongJae Park corresponding DAMON-based Operation Scheme's action has tried 3461b0006daSSeongJae Park to be applied. 347