← Documents Documentation/ABI/testing/sysfs-kernel-mm-damon GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

DAMON administration sysfs ABI

DAMON worker와 context·target·region·scheme 계층, monitoring intervals, DAMOS access patterns·quotas·watermarks·filters·destinations·statistics를 제어하는 78개 sysfs ABI를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-kernel-mm-damon
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Administration, workers and contexts

sysfs-kernel-mm-damon:1-86

Privileged DAMON root에서 kdamond workers와 contexts를 만들고 lifecycle commands, status refresh, operations set과 address unit을 제어합니다.

Monitoring intervals and region bounds

sysfs-kernel-mm-damon:87-152

Sampling·aggregation·update intervals, access-ratio auto-tuning goal과 sampling·monitoring-region bounds를 설정합니다.

Targets, regions and schemes

sysfs-kernel-mm-damon:153-214

Monitoring targets와 address regions를 구성하고 DAMOS schemes, action, target NUMA node와 apply interval을 설정합니다.

Access patterns, quotas and goals

sysfs-kernel-mm-damon:215-326

Region size·access frequency·age pattern과 time/size quota, effective quota, auto-tuning goals와 prioritization weights를 구성합니다.

Watermarks and filters

sysfs-kernel-mm-damon:327-447

Free-memory watermarks와 anon·memcg·young·address·hugepage·target filters, matching/allow policy 및 core/operations-layer filters를 설정합니다.

Destinations and scheme statistics

sysfs-kernel-mm-damon:448-505

Migration action destinations와 weights를 구성하고 attempts, applied regions·bytes, operations-filter 통과량과 quota exceed events를 읽습니다.

Tried-region details

sysfs-kernel-mm-damon:506-546

Scheme action이 시도된 total bytes와 각 region의 start·end, accesses, age, operations-filter 통과 size를 제공합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 what: /sys/kernel/mm/damon/
2 Date: Mar 2022
3 Contact: SeongJae Park <[email protected]>
4 Description: Interface for Data Access MONitoring (DAMON). Contains files
5 for controlling DAMON. For more details on DAMON itself,
6 please refer to Documentation/admin-guide/mm/damon/index.rst.
7
8 What: /sys/kernel/mm/damon/admin/
9 Date: Mar 2022
10 Contact: SeongJae Park <[email protected]>
11 Description: Interface for privileged users of DAMON. Contains files for
12 controlling DAMON that aimed to be used by privileged users.
13
14 What: /sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds
15 Date: Mar 2022
16 Contact: SeongJae Park <[email protected]>
17 Description: Writing a number 'N' to this file creates the number of
18 directories for controlling each DAMON worker thread (kdamond)
19 named '0' to 'N-1' under the kdamonds/ directory.
20
21 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/state
22 Date: Mar 2022
23 Contact: SeongJae Park <[email protected]>
24 Description: Writing 'on' or 'off' to this file makes the kdamond starts or
25 stops, respectively. Reading the file returns the keywords
26 based on the current status. Writing 'commit' to this file
27 makes the kdamond reads the user inputs in the sysfs files
28 except 'state' again. Writing 'commit_schemes_quota_goals' to
29 this file makes the kdamond reads the quota goal files again.
30 Writing 'update_schemes_stats' to the file updates contents of
31 schemes stats files of the kdamond. Writing
32 'update_schemes_tried_regions' to the file updates contents of
33 'tried_regions' directory of every scheme directory of this
34 kdamond. Writing 'update_schemes_tried_bytes' to the file
35 updates only '.../tried_regions/total_bytes' files of this
36 kdamond. Writing 'clear_schemes_tried_regions' to the file
37 removes contents of the 'tried_regions' directory. Writing
38 'update_schemes_effective_quotas' to the file updates
39 '.../quotas/effective_bytes' files of this kdamond.
40
41 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/pid
42 Date: Mar 2022
43 Contact: SeongJae Park <[email protected]>
44 Description: Reading this file returns the pid of the kdamond if it is
45 running.
46
47 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/refresh_ms
48 Date: Jul 2025
49 Contact: SeongJae Park <[email protected]>
50 Description: Writing a value to this file sets the time interval for
51 automatic DAMON status file contents update. Writing '0'
52 disables the update. Reading this file returns the value.
53
54 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts
55 Date: Mar 2022
56 Contact: SeongJae Park <[email protected]>
57 Description: Writing a number 'N' to this file creates the number of
58 directories for controlling each DAMON context named '0' to
59 'N-1' under the contexts/ directory.
60
61 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations
62 Date: Apr 2022
63 Contact: SeongJae Park <[email protected]>
64 Description: Reading this file returns the available monitoring operations
65 sets on the currently running kernel.
66
67 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations
68 Date: Mar 2022
69 Contact: SeongJae Park <[email protected]>
70 Description: Writing a keyword for a monitoring operations set ('vaddr' for
71 virtual address spaces monitoring, 'fvaddr' for fixed virtual
72 address ranges monitoring, and 'paddr' for the physical address
73 space monitoring) to this file makes the context to use the
74 operations set. Reading the file returns the keyword for the
75 operations set the context is set to use.
76
77 Note that only the operations sets that listed in
78 'avail_operations' file are valid inputs.
79
80 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/addr_unit
81 Date: Aug 2025
82 Contact: SeongJae Park <[email protected]>
83 Description: Writing an integer to this file sets the 'address unit'
84 parameter of the given operations set of the context. Reading
85 the file returns the last-written 'address unit' value.
86
87 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us
88 Date: Mar 2022
89 Contact: SeongJae Park <[email protected]>
90 Description: Writing a value to this file sets the sampling interval of the
91 DAMON context in microseconds as the value. Reading this file
92 returns the value.
93
94 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us
95 Date: Mar 2022
96 Contact: SeongJae Park <[email protected]>
97 Description: Writing a value to this file sets the aggregation interval of
98 the DAMON context in microseconds as the value. Reading this
99 file returns the value.
100
101 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us
102 Date: Mar 2022
103 Contact: SeongJae Park <[email protected]>
104 Description: Writing a value to this file sets the update interval of the
105 DAMON context in microseconds as the value. Reading this file
106 returns the value.
107
108 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/access_bp
109 Date: Feb 2025
110 Contact: SeongJae Park <[email protected]>
111 Description: Writing a value to this file sets the monitoring intervals
112 auto-tuning target DAMON-observed access events ratio within
113 the given time interval (aggrs in same directory), in bp
114 (1/10,000). Reading this file returns the value.
115
116 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/aggrs
117 Date: Feb 2025
118 Contact: SeongJae Park <[email protected]>
119 Description: Writing a value to this file sets the time interval to achieve
120 the monitoring intervals auto-tuning target DAMON-observed
121 access events ratio (access_bp in same directory) within.
122 Reading this file returns the value.
123
124 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/min_sample_us
125 Date: Feb 2025
126 Contact: SeongJae Park <[email protected]>
127 Description: Writing a value to this file sets the minimum value of
128 auto-tuned sampling interval in microseconds. Reading this
129 file returns the value.
130
131 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/max_sample_us
132 Date: Feb 2025
133 Contact: SeongJae Park <[email protected]>
134 Description: Writing a value to this file sets the maximum value of
135 auto-tuned sampling interval in microseconds. Reading this
136 file returns the value.
137
138 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/min
139
140 WDate: Mar 2022
141 Contact: SeongJae Park <[email protected]>
142 Description: Writing a value to this file sets the minimum number of
143 monitoring regions of the DAMON context as the value. Reading
144 this file returns the value.
145
146 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/max
147 Date: Mar 2022
148 Contact: SeongJae Park <[email protected]>
149 Description: Writing a value to this file sets the maximum number of
150 monitoring regions of the DAMON context as the value. Reading
151 this file returns the value.
152
153 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets
154 Date: Mar 2022
155 Contact: SeongJae Park <[email protected]>
156 Description: Writing a number 'N' to this file creates the number of
157 directories for controlling each DAMON target of the context
158 named '0' to 'N-1' under the contexts/ directory.
159
160 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/pid_target
161 Date: Mar 2022
162 Contact: SeongJae Park <[email protected]>
163 Description: Writing to and reading from this file sets and gets the pid of
164 the target process if the context is for virtual address spaces
165 monitoring, respectively.
166
167 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/nr_regions
168 Date: Mar 2022
169 Contact: SeongJae Park <[email protected]>
170 Description: Writing a number 'N' to this file creates the number of
171 directories for setting each DAMON target memory region of the
172 context named '0' to 'N-1' under the regions/ directory. In
173 case of the virtual address space monitoring, DAMON
174 automatically sets the target memory region based on the target
175 processes' mappings.
176
177 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/start
178 Date: Mar 2022
179 Contact: SeongJae Park <[email protected]>
180 Description: Writing to and reading from this file sets and gets the start
181 address of the monitoring region.
182
183 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/end
184 Date: Mar 2022
185 Contact: SeongJae Park <[email protected]>
186 Description: Writing to and reading from this file sets and gets the end
187 address of the monitoring region.
188
189 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
190 Date: Mar 2022
191 Contact: SeongJae Park <[email protected]>
192 Description: Writing a number 'N' to this file creates the number of
193 directories for controlling each DAMON-based operation scheme
194 of the context named '0' to 'N-1' under the schemes/ directory.
195
196 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action
197 Date: Mar 2022
198 Contact: SeongJae Park <[email protected]>
199 Description: Writing to and reading from this file sets and gets the action
200 of the scheme.
201
202 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/target_nid
203 Date: Jun 2024
204 Contact: SeongJae Park <[email protected]>
205 Description: Action's target NUMA node id. Supported by only relevant
206 actions.
207
208 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/apply_interval_us
209 Date: Sep 2023
210 Contact: SeongJae Park <[email protected]>
211 Description: Writing a value to this file sets the action apply interval of
212 the scheme in microseconds. Reading this file returns the
213 value.
214
215 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/min
216 Date: Mar 2022
217 Contact: SeongJae Park <[email protected]>
218 Description: Writing to and reading from this file sets and gets the minimum
219 size of the scheme's target regions in bytes.
220
221 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/max
222 Date: Mar 2022
223 Contact: SeongJae Park <[email protected]>
224 Description: Writing to and reading from this file sets and gets the maximum
225 size of the scheme's target regions in bytes.
226
227 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/min
228 Date: Mar 2022
229 Contact: SeongJae Park <[email protected]>
230 Description: Writing to and reading from this file sets and gets the manimum
231 'nr_accesses' of the scheme's target regions.
232
233 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/max
234 Date: Mar 2022
235 Contact: SeongJae Park <[email protected]>
236 Description: Writing to and reading from this file sets and gets the maximum
237 'nr_accesses' of the scheme's target regions.
238
239 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min
240 Date: Mar 2022
241 Contact: SeongJae Park <[email protected]>
242 Description: Writing to and reading from this file sets and gets the minimum
243 'age' of the scheme's target regions.
244
245 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/max
246 Date: Mar 2022
247 Contact: SeongJae Park <[email protected]>
248 Description: Writing to and reading from this file sets and gets the maximum
249 'age' of the scheme's target regions.
250
251 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/ms
252 Date: Mar 2022
253 Contact: SeongJae Park <[email protected]>
254 Description: Writing to and reading from this file sets and gets the time
255 quota of the scheme in milliseconds.
256
257 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/bytes
258 Date: Mar 2022
259 Contact: SeongJae Park <[email protected]>
260 Description: Writing to and reading from this file sets and gets the size
261 quota of the scheme in bytes.
262
263 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/effective_bytes
264 Date: Feb 2024
265 Contact: SeongJae Park <[email protected]>
266 Description: Reading from this file gets the effective size quota of the
267 scheme in bytes, which adjusted for the time quota and goals.
268
269 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms
270 Date: Mar 2022
271 Contact: SeongJae Park <[email protected]>
272 Description: Writing to and reading from this file sets and gets the quotas
273 charge reset interval of the scheme in milliseconds.
274
275 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/nr_goals
276 Date: Nov 2023
277 Contact: SeongJae Park <[email protected]>
278 Description: Writing a number 'N' to this file creates the number of
279 directories for setting automatic tuning of the scheme's
280 aggressiveness named '0' to 'N-1' under the goals/ directory.
281
282 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_metric
283 Date: Feb 2024
284 Contact: SeongJae Park <[email protected]>
285 Description: Writing to and reading from this file sets and gets the quota
286 auto-tuning goal metric.
287
288 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_value
289 Date: Nov 2023
290 Contact: SeongJae Park <[email protected]>
291 Description: Writing to and reading from this file sets and gets the target
292 value of the goal metric.
293
294 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/current_value
295 Date: Nov 2023
296 Contact: SeongJae Park <[email protected]>
297 Description: Writing to and reading from this file sets and gets the current
298 value of the goal metric.
299
300 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/nid
301 Date: Apr 2025
302 Contact: SeongJae Park <[email protected]>
303 Description: Writing to and reading from this file sets and gets the nid
304 parameter of the goal.
305
306 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil
307 Date: Mar 2022
308 Contact: SeongJae Park <[email protected]>
309 Description: Writing to and reading from this file sets and gets the
310 under-quota limit regions prioritization weight for 'size' in
311 permil.
312
313 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/nr_accesses_permil
314 Date: Mar 2022
315 Contact: SeongJae Park <[email protected]>
316 Description: Writing to and reading from this file sets and gets the
317 under-quota limit regions prioritization weight for
318 'nr_accesses' in permil.
319
320 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/age_permil
321 Date: Mar 2022
322 Contact: SeongJae Park <[email protected]>
323 Description: Writing to and reading from this file sets and gets the
324 under-quota limit regions prioritization weight for 'age' in
325 permil.
326
327 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/metric
328 Date: Mar 2022
329 Contact: SeongJae Park <[email protected]>
330 Description: Writing to and reading from this file sets and gets the metric
331 of the watermarks for the scheme. The writable/readable
332 keywords for this file are 'none' for disabling the watermarks
333 feature, or 'free_mem_rate' for the system's global free memory
334 rate in permil.
335
336 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/interval_us
337 Date: Mar 2022
338 Contact: SeongJae Park <[email protected]>
339 Description: Writing to and reading from this file sets and gets the metric
340 check interval of the watermarks for the scheme in
341 microseconds.
342
343 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/high
344 Date: Mar 2022
345 Contact: SeongJae Park <[email protected]>
346 Description: Writing to and reading from this file sets and gets the high
347 watermark of the scheme in permil.
348
349 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/mid
350 Date: Mar 2022
351 Contact: SeongJae Park <[email protected]>
352 Description: Writing to and reading from this file sets and gets the mid
353 watermark of the scheme in permil.
354
355 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/low
356 Date: Mar 2022
357 Contact: SeongJae Park <[email protected]>
358 Description: Writing to and reading from this file sets and gets the low
359 watermark of the scheme in permil.
360
361 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/nr_filters
362 Date: Dec 2022
363 Contact: SeongJae Park <[email protected]>
364 Description: Writing a number 'N' to this file creates the number of
365 directories for setting filters of the scheme named '0' to
366 'N-1' under the filters/ directory.
367
368 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/type
369 Date: Dec 2022
370 Contact: SeongJae Park <[email protected]>
371 Description: Writing to and reading from this file sets and gets the type of
372 the memory of the interest. 'anon' for anonymous pages,
373 'memcg' for specific memory cgroup, 'young' for young pages,
374 'addr' for address range (an open-ended interval), or 'target'
375 for DAMON monitoring target can be written and read.
376
377 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/memcg_path
378 Date: Dec 2022
379 Contact: SeongJae Park <[email protected]>
380 Description: If 'memcg' is written to the 'type' file, writing to and
381 reading from this file sets and gets the path to the memory
382 cgroup of the interest.
383
384 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_start
385 Date: Jul 2023
386 Contact: SeongJae Park <[email protected]>
387 Description: If 'addr' is written to the 'type' file, writing to or reading
388 from this file sets or gets the start address of the address
389 range for the filter.
390
391 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_end
392 Date: Jul 2023
393 Contact: SeongJae Park <[email protected]>
394 Description: If 'addr' is written to the 'type' file, writing to or reading
395 from this file sets or gets the end address of the address
396 range for the filter.
397
398 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/min
399 Date: Feb 2025
400 Contact: SeongJae Park <[email protected]>
401 Description: If 'hugepage_size' is written to the 'type' file, writing to
402 or reading from this file sets or gets the minimum size of the
403 hugepage for the filter.
404
405 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/max
406 Date: Feb 2025
407 Contact: SeongJae Park <[email protected]>
408 Description: If 'hugepage_size' is written to the 'type' file, writing to
409 or reading from this file sets or gets the maximum size of the
410 hugepage for the filter.
411
412 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/target_idx
413 Date: Dec 2022
414 Contact: SeongJae Park <[email protected]>
415 Description: If 'target' is written to the 'type' file, writing to or
416 reading from this file sets or gets the index of the DAMON
417 monitoring target of the interest.
418
419 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/matching
420 Date: Dec 2022
421 Contact: SeongJae Park <[email protected]>
422 Description: Writing 'Y' or 'N' to this file sets whether the filter is for
423 the memory of the 'type', or all except the 'type'.
424
425 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/allow
426 Date: Jan 2025
427 Contact: SeongJae Park <[email protected]>
428 Description: Writing 'Y' or 'N' to this file sets whether to allow or reject
429 applying the scheme's action to the memory that satisfies the
430 'type' and the 'matching' of the directory.
431
432 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/core_filters
433 Date: Feb 2025
434 Contact: SeongJae Park <[email protected]>
435 Description: Directory for DAMON core layer-handled DAMOS filters. Files
436 under this directory works same to those of
437 /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters
438 directory.
439
440 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/ops_filters
441 Date: Feb 2025
442 Contact: SeongJae Park <[email protected]>
443 Description: Directory for DAMON operations set layer-handled DAMOS filters.
444 Files under this directory works same to those of
445 /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters
446 directory.
447
448 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/dests/nr_dests
449 Date: Jul 2025
450 Contact: SeongJae Park <[email protected]>
451 Description: Writing a number 'N' to this file creates the number of
452 directories for setting action destinations of the scheme named
453 '0' to 'N-1' under the dests/ directory.
454
455 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/dests/<D>/id
456 Date: Jul 2025
457 Contact: SeongJae Park <[email protected]>
458 Description: Writing to and reading from this file sets and gets the id of
459 the DAMOS action destination. For DAMOS_MIGRATE_{HOT,COLD}
460 actions, the destination node's node id can be written and
461 read.
462
463 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/dests/<D>/weight
464 Date: Jul 2025
465 Contact: SeongJae Park <[email protected]>
466 Description: Writing to and reading from this file sets and gets the weight
467 of the DAMOS action destination to select as the destination of
468 each action among the destinations.
469
470 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_tried
471 Date: Mar 2022
472 Contact: SeongJae Park <[email protected]>
473 Description: Reading this file returns the number of regions that the action
474 of the scheme has tried to be applied.
475
476 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_tried
477 Date: Mar 2022
478 Contact: SeongJae Park <[email protected]>
479 Description: Reading this file returns the total size of regions that the
480 action of the scheme has tried to be applied in bytes.
481
482 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_applied
483 Date: Mar 2022
484 Contact: SeongJae Park <[email protected]>
485 Description: Reading this file returns the number of regions that the action
486 of the scheme has successfully applied.
487
488 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_applied
489 Date: Mar 2022
490 Contact: SeongJae Park <[email protected]>
491 Description: Reading this file returns the total size of regions that the
492 action of the scheme has successfully applied in bytes.
493
494 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_ops_filter_passed
495 Date: Dec 2024
496 Contact: SeongJae Park <[email protected]>
497 Description: Reading this file returns the total size of memory that passed
498 DAMON operations layer-handled filters of the scheme in bytes.
499
500 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/qt_exceeds
501 Date: Mar 2022
502 Contact: SeongJae Park <[email protected]>
503 Description: Reading this file returns the number of the exceed events of
504 the scheme's quotas.
505
506 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/total_bytes
507 Date: Jul 2023
508 Contact: SeongJae Park <[email protected]>
509 Description: Reading this file returns the total amount of memory that
510 corresponding DAMON-based Operation Scheme's action has tried
511 to be applied.
512
513 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/start
514 Date: Oct 2022
515 Contact: SeongJae Park <[email protected]>
516 Description: Reading this file returns the start address of a memory region
517 that corresponding DAMON-based Operation Scheme's action has
518 tried to be applied.
519
520 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/end
521 Date: Oct 2022
522 Contact: SeongJae Park <[email protected]>
523 Description: Reading this file returns the end address of a memory region
524 that corresponding DAMON-based Operation Scheme's action has
525 tried to be applied.
526
527 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/nr_accesses
528 Date: Oct 2022
529 Contact: SeongJae Park <[email protected]>
530 Description: Reading this file returns the 'nr_accesses' of a memory region
531 that corresponding DAMON-based Operation Scheme's action has
532 tried to be applied.
533
534 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/age
535 Date: Oct 2022
536 Contact: SeongJae Park <[email protected]>
537 Description: Reading this file returns the 'age' of a memory region that
538 corresponding DAMON-based Operation Scheme's action has tried
539 to be applied.
540
541 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/sz_filter_passed
542 Date: Dec 2024
543 Contact: SeongJae Park <[email protected]>
544 Description: Reading this file returns the size of the memory in the region
545 that passed DAMON operations layer-handled filters of the
546 scheme in bytes.
547

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

DAMON damon

1-7
항목한국어 전문 번역
What/sys/kernel/mm/damon/
Date2022년 3월
ContactSeongJae Park <[email protected]>
DescriptionData Access MONitoring(DAMON) interface입니다. DAMON을 제어하는 files를 포함하며 자세한 내용은 `Documentation/admin-guide/mm/damon/index.rst`를 참조합니다.

DAMON admin

8-13
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/
Date2022년 3월
ContactSeongJae Park <[email protected]>
DescriptionPrivileged DAMON users를 위한 interface이며 privileged users가 DAMON을 제어하도록 설계된 files를 포함합니다.

DAMON nr kdamonds

14-20
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description숫자 `N`을 쓰면 `kdamonds/` directory 아래에 각 DAMON worker thread(`kdamond`)를 제어하는 `0`부터 `N-1` 이름의 directories를 만듭니다.
DAMON administration hierarchy
LevelIndexCount control
kdamond workerKnr_kdamonds
Monitoring contextCnr_contexts
Monitoring targetTnr_targets
Target regionRnr_regions
Operation schemeSnr_schemes
Quota goalGnr_goals
FilterFnr_filters
DestinationDnr_dests

Privileged admin interface가 workers, contexts, targets와 schemes를 계층적으로 만듭니다.

DAMON state

21-40
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/state
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description`on` 또는 `off`를 쓰면 kdamond를 각각 start 또는 stop하며 읽으면 현재 status keyword를 반환합니다. `commit`은 `state`를 제외한 sysfs user inputs를 다시 읽고, `commit_schemes_quota_goals`는 quota goal files를 다시 읽습니다. `update_schemes_stats`는 scheme stats files를, `update_schemes_tried_regions`는 모든 scheme의 `tried_regions` 내용을, `update_schemes_tried_bytes`는 `.../tried_regions/total_bytes`만 update합니다. `clear_schemes_tried_regions`는 `tried_regions` 내용을 제거하고, `update_schemes_effective_quotas`는 `.../quotas/effective_bytes`를 update합니다.
kdamond state commands
CommandEffect
on | offStart or stop kdamond
commitReload sysfs inputs except state
commit_schemes_quota_goalsReload quota goal files
update_schemes_statsRefresh scheme statistics
update_schemes_tried_regionsRefresh all tried_regions contents
update_schemes_tried_bytesRefresh only total_bytes
clear_schemes_tried_regionsRemove tried_regions contents
update_schemes_effective_quotasRefresh effective_bytes

Worker lifecycle, configuration commit과 runtime statistics refresh를 한 file에서 제어합니다.

DAMON pid

41-46
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/pid
Date2022년 3월
ContactSeongJae Park <[email protected]>
DescriptionKdamond가 running 중이면 이 file을 읽어 해당 pid를 반환합니다.

DAMON refresh ms

47-53
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/refresh_ms
Date2025년 7월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 DAMON status file contents의 automatic update interval을 설정합니다. `0`은 update를 disable하며 읽으면 설정값을 반환합니다.

DAMON nr contexts

54-60
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description숫자 `N`을 쓰면 `contexts/` 아래에 각 DAMON context를 제어하는 `0`부터 `N-1` 이름의 directories를 만듭니다.

DAMON avail operations

61-66
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations
Date2022년 4월
ContactSeongJae Park <[email protected]>
Description현재 실행 중인 kernel에서 사용할 수 있는 monitoring operations sets를 읽어 반환합니다.

DAMON operations

67-79
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations
Date2022년 3월
ContactSeongJae Park <[email protected]>
DescriptionMonitoring operations set keyword를 쓰면 context가 해당 set을 사용합니다. `vaddr`는 virtual address spaces, `fvaddr`는 fixed virtual address ranges, `paddr`는 physical address space monitoring입니다. 읽으면 현재 set keyword를 반환하며 `avail_operations`에 나열된 sets만 유효한 input입니다.

DAMON addr unit

80-86
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/addr_unit
Date2025년 8월
ContactSeongJae Park <[email protected]>
DescriptionInteger를 쓰면 context의 operations set에 주어진 `address unit` parameter를 설정합니다. 읽으면 마지막으로 쓴 `address unit` 값을 반환합니다.

DAMON sample us

87-93
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 DAMON context의 sampling interval을 microseconds 단위로 설정하며 읽으면 값을 반환합니다.

DAMON aggr us

94-100
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 DAMON context의 aggregation interval을 microseconds 단위로 설정하며 읽으면 값을 반환합니다.

DAMON update us

101-107
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 DAMON context의 update interval을 microseconds 단위로 설정하며 읽으면 값을 반환합니다.

DAMON access bp

108-115
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/access_bp
Date2025년 2월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 같은 directory의 `aggrs` time interval 안에서 달성할 monitoring-interval auto-tuning target DAMON-observed access events ratio를 bp(1/10,000) 단위로 설정합니다. 읽으면 값을 반환합니다.

DAMON aggrs

116-123
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/aggrs
Date2025년 2월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 같은 directory의 `access_bp`에 지정한 target DAMON-observed access events ratio를 달성할 time interval을 설정합니다. 읽으면 값을 반환합니다.

DAMON min sample us

124-130
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/min_sample_us
Date2025년 2월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 auto-tuned sampling interval의 minimum을 microseconds 단위로 설정하며 읽으면 값을 반환합니다.

DAMON max sample us

131-137
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/max_sample_us
Date2025년 2월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 auto-tuned sampling interval의 maximum을 microseconds 단위로 설정하며 읽으면 값을 반환합니다.

DAMON min

138-145
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/min
Date
WDate2022년 3월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 DAMON context의 minimum monitoring regions 수를 설정하며 읽으면 값을 반환합니다.

DAMON max

146-152
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/max
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 DAMON context의 maximum monitoring regions 수를 설정하며 읽으면 값을 반환합니다.
DAMON monitoring configuration
GroupAttributesUnit or values
Operationsoperations, avail_operations, addr_unitvaddr | fvaddr | paddr
Intervalssample_us, aggr_us, update_usMicroseconds
Interval goalaccess_bp, aggrsbp (1/10,000), aggregations
Sampling boundsmin_sample_us, max_sample_usMicroseconds
Region boundsnr_regions/min, nr_regions/maxRegion count

Operations set, timing auto-tuning과 region-count bounds를 구성합니다.

DAMON nr targets

153-159
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description숫자 `N`을 쓰면 context의 각 DAMON target을 제어하는 `0`부터 `N-1` 이름의 directories를 만듭니다.

DAMON pid target

160-166
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/pid_target
Date2022년 3월
ContactSeongJae Park <[email protected]>
DescriptionContext가 virtual address spaces monitoring용이면 이 file을 쓰고 읽어 target process의 pid를 설정하고 가져옵니다.

DAMON nr regions

167-176
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/nr_regions
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description숫자 `N`을 쓰면 `regions/` 아래에 context의 각 DAMON target memory region을 설정하는 `0`부터 `N-1` 이름의 directories를 만듭니다. Virtual address space monitoring에서는 DAMON이 target process mappings를 바탕으로 target memory regions를 자동 설정합니다.

DAMON start

177-182
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/start
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 monitoring region의 start address를 설정하고 가져옵니다.

DAMON end

183-188
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/end
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 monitoring region의 end address를 설정하고 가져옵니다.

DAMON nr schemes

189-195
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description숫자 `N`을 쓰면 `schemes/` 아래에 context의 각 DAMON-based operation scheme을 제어하는 `0`부터 `N-1` 이름의 directories를 만듭니다.

DAMON action

196-201
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme의 action을 설정하고 가져옵니다.

DAMON target nid

202-207
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/target_nid
Date2024년 6월
ContactSeongJae Park <[email protected]>
DescriptionAction의 target NUMA node id이며 관련 actions에서만 지원합니다.

DAMON apply interval us

208-214
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/apply_interval_us
Date2023년 9월
ContactSeongJae Park <[email protected]>
Description값을 쓰면 scheme의 action apply interval을 microseconds 단위로 설정하며 읽으면 값을 반환합니다.

DAMON min

215-220
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/min
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme target regions의 minimum size를 bytes 단위로 설정하고 가져옵니다.

DAMON max

221-226
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/max
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme target regions의 maximum size를 bytes 단위로 설정하고 가져옵니다.

DAMON min

227-232
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/min
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme target regions의 minimum `nr_accesses`를 설정하고 가져옵니다.

DAMON max

233-238
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/max
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme target regions의 maximum `nr_accesses`를 설정하고 가져옵니다.

DAMON min

239-244
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme target regions의 minimum `age`를 설정하고 가져옵니다.

DAMON max

245-250
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/max
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme target regions의 maximum `age`를 설정하고 가져옵니다.
DAMOS access pattern
DimensionMinimumMaximumUnit
Sizesz/minsz/maxBytes
Access frequencynr_accesses/minnr_accesses/maxCount
Ageage/minage/maxAge

Scheme target regions를 size, access frequency와 age ranges로 선택합니다.

DAMON ms

251-256
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/ms
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme의 time quota를 milliseconds 단위로 설정하고 가져옵니다.

DAMON bytes

257-262
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/bytes
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme의 size quota를 bytes 단위로 설정하고 가져옵니다.

DAMON effective bytes

263-268
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/effective_bytes
Date2024년 2월
ContactSeongJae Park <[email protected]>
Description읽으면 time quota와 goals에 맞춰 조정된 scheme의 effective size quota를 bytes 단위로 가져옵니다.

DAMON reset interval ms

269-274
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme quota charge의 reset interval을 milliseconds 단위로 설정하고 가져옵니다.

DAMON nr goals

275-281
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/nr_goals
Date2023년 11월
ContactSeongJae Park <[email protected]>
Description숫자 `N`을 쓰면 `goals/` 아래에 scheme aggressiveness auto-tuning을 설정하는 `0`부터 `N-1` 이름의 directories를 만듭니다.

DAMON target metric

282-287
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_metric
Date2024년 2월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 quota auto-tuning goal metric을 설정하고 가져옵니다.

DAMON target value

288-293
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_value
Date2023년 11월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 goal metric의 target value를 설정하고 가져옵니다.

DAMON current value

294-299
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/current_value
Date2023년 11월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 goal metric의 current value를 설정하고 가져옵니다.

DAMON nid

300-305
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/nid
Date2025년 4월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 goal의 `nid` parameter를 설정하고 가져옵니다.

DAMON sz permil

306-312
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 under-quota-limit regions의 `size` prioritization weight를 permil 단위로 설정하고 가져옵니다.

DAMON nr accesses permil

313-319
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/nr_accesses_permil
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 under-quota-limit regions의 `nr_accesses` prioritization weight를 permil 단위로 설정하고 가져옵니다.

DAMON age permil

320-326
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/age_permil
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 under-quota-limit regions의 `age` prioritization weight를 permil 단위로 설정하고 가져옵니다.
DAMOS quota controls
AreaAttributesUnit
Limitsms, bytes, effective_bytesMilliseconds / bytes
Resetreset_interval_msMilliseconds
Goalstarget_metric, target_value, current_value, nidMetric-specific
Weightssz_permil, nr_accesses_permil, age_permilPermil

Time·size limits, auto-tuning goals와 under-quota prioritization을 결합합니다.

DAMON metric

327-335
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/metric
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme watermark metric을 설정하고 가져옵니다. `none`은 watermarks feature를 disable하고 `free_mem_rate`는 system global free memory rate를 permil 단위로 사용합니다.

DAMON interval us

336-342
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/interval_us
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme watermarks의 metric check interval을 microseconds 단위로 설정하고 가져옵니다.

DAMON high

343-348
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/high
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme의 high watermark를 permil 단위로 설정하고 가져옵니다.

DAMON mid

349-354
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/mid
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme의 mid watermark를 permil 단위로 설정하고 가져옵니다.

DAMON low

355-360
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/low
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 scheme의 low watermark를 permil 단위로 설정하고 가져옵니다.
DAMOS watermarks
AttributeValue or unit
metricnone | free_mem_rate
interval_usMicroseconds
highPermil
midPermil
lowPermil

Global free-memory rate 또는 disabled metric과 high/mid/low thresholds를 설정합니다.

DAMON nr filters

361-367
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/nr_filters
Date2022년 12월
ContactSeongJae Park <[email protected]>
Description숫자 `N`을 쓰면 `filters/` 아래에 scheme filters를 설정하는 `0`부터 `N-1` 이름의 directories를 만듭니다.

DAMON type

368-376
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/type
Date2022년 12월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 관심 memory type을 설정하고 가져옵니다. `anon`은 anonymous pages, `memcg`는 특정 memory cgroup, `young`은 young pages, `addr`는 open-ended address range, `target`은 DAMON monitoring target을 뜻합니다.

DAMON memcg path

377-383
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/memcg_path
Date2022년 12월
ContactSeongJae Park <[email protected]>
Description`type`에 `memcg`를 쓴 경우 이 file을 쓰고 읽어 관심 memory cgroup path를 설정하고 가져옵니다.

DAMON addr start

384-390
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_start
Date2023년 7월
ContactSeongJae Park <[email protected]>
Description`type`에 `addr`를 쓴 경우 이 file을 쓰거나 읽어 filter address range의 start address를 설정하거나 가져옵니다.

DAMON addr end

391-397
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_end
Date2023년 7월
ContactSeongJae Park <[email protected]>
Description`type`에 `addr`를 쓴 경우 이 file을 쓰거나 읽어 filter address range의 end address를 설정하거나 가져옵니다.

DAMON min

398-404
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/min
Date2025년 2월
ContactSeongJae Park <[email protected]>
Description`type`에 `hugepage_size`를 쓴 경우 이 file을 쓰거나 읽어 filter의 minimum hugepage size를 설정하거나 가져옵니다.

DAMON max

405-411
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/max
Date2025년 2월
ContactSeongJae Park <[email protected]>
Description`type`에 `hugepage_size`를 쓴 경우 이 file을 쓰거나 읽어 filter의 maximum hugepage size를 설정하거나 가져옵니다.

DAMON target idx

412-418
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/target_idx
Date2022년 12월
ContactSeongJae Park <[email protected]>
Description`type`에 `target`을 쓴 경우 이 file을 쓰거나 읽어 관심 DAMON monitoring target index를 설정하거나 가져옵니다.

DAMON matching

419-424
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/matching
Date2022년 12월
ContactSeongJae Park <[email protected]>
Description`Y` 또는 `N`을 써서 filter가 `type`에 해당하는 memory를 대상으로 할지, 해당 `type`을 제외한 모든 memory를 대상으로 할지 설정합니다.

DAMON allow

425-431
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/allow
Date2025년 1월
ContactSeongJae Park <[email protected]>
Description`Y` 또는 `N`을 써서 directory의 `type`과 `matching`을 만족하는 memory에 scheme action 적용을 allow할지 reject할지 설정합니다.

DAMON core filters

432-439
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/core_filters
Date2025년 2월
ContactSeongJae Park <[email protected]>
DescriptionDAMON core layer가 처리하는 DAMOS filters용 directory입니다. 이 directory 아래 files는 `/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters`의 files와 동일하게 동작합니다.

DAMON ops filters

440-447
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/ops_filters
Date2025년 2월
ContactSeongJae Park <[email protected]>
DescriptionDAMON operations set layer가 처리하는 DAMOS filters용 directory입니다. 이 directory 아래 files는 `/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters`의 files와 동일하게 동작합니다.
DAMOS filters
Filter typeParameter
anonAnonymous pages
memcgmemcg_path
youngYoung pages
addraddr_start, addr_end
hugepage_sizemin, max
targettarget_idx
Policymatching Y/N, allow Y/N

Memory classification과 matching/allow policy를 core 또는 operations layer에서 적용합니다.

DAMON nr dests

448-454
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/dests/nr_dests
Date2025년 7월
ContactSeongJae Park <[email protected]>
Description숫자 `N`을 쓰면 `dests/` 아래에 scheme action destinations를 설정하는 `0`부터 `N-1` 이름의 directories를 만듭니다.

DAMON id

455-462
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/dests/<D>/id
Date2025년 7월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 DAMOS action destination id를 설정하고 가져옵니다. `DAMOS_MIGRATE_{HOT,COLD}` actions에서는 destination node의 node id를 쓰고 읽을 수 있습니다.

DAMON weight

463-469
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/dests/<D>/weight
Date2025년 7월
ContactSeongJae Park <[email protected]>
Description이 file을 쓰고 읽어 여러 destinations 중 각 action의 destination을 선택할 때 사용할 DAMOS action destination weight를 설정하고 가져옵니다.
DAMOS action destinations
AttributeMeaning
idDestination ID; NUMA node ID for DAMOS_MIGRATE_{HOT,COLD}
weightRelative destination-selection weight

Scheme action마다 destination ID와 weighted selection을 설정합니다.

DAMON nr tried

470-475
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_tried
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description읽으면 scheme action이 적용을 시도한 regions 수를 반환합니다.

DAMON sz tried

476-481
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_tried
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description읽으면 scheme action이 적용을 시도한 regions의 total size를 bytes 단위로 반환합니다.

DAMON nr applied

482-487
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_applied
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description읽으면 scheme action이 성공적으로 적용된 regions 수를 반환합니다.

DAMON sz applied

488-493
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_applied
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description읽으면 scheme action이 성공적으로 적용된 regions의 total size를 bytes 단위로 반환합니다.

DAMON sz ops filter passed

494-499
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_ops_filter_passed
Date2024년 12월
ContactSeongJae Park <[email protected]>
Description읽으면 scheme의 DAMON operations layer-handled filters를 통과한 memory total size를 bytes 단위로 반환합니다.

DAMON qt exceeds

500-505
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/qt_exceeds
Date2022년 3월
ContactSeongJae Park <[email protected]>
Description읽으면 scheme quota exceed events 수를 반환합니다.

DAMON total bytes

506-512
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/total_bytes
Date2023년 7월
ContactSeongJae Park <[email protected]>
Description읽으면 해당 DAMON-based Operation Scheme action이 적용을 시도한 memory total amount를 반환합니다.

DAMON start

513-519
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/start
Date2022년 10월
ContactSeongJae Park <[email protected]>
Description읽으면 해당 DAMON-based Operation Scheme action이 적용을 시도한 memory region의 start address를 반환합니다.

DAMON end

520-526
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/end
Date2022년 10월
ContactSeongJae Park <[email protected]>
Description읽으면 해당 DAMON-based Operation Scheme action이 적용을 시도한 memory region의 end address를 반환합니다.

DAMON nr accesses

527-533
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/nr_accesses
Date2022년 10월
ContactSeongJae Park <[email protected]>
Description읽으면 해당 DAMON-based Operation Scheme action이 적용을 시도한 memory region의 `nr_accesses`를 반환합니다.

DAMON age

534-540
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/age
Date2022년 10월
ContactSeongJae Park <[email protected]>
Description읽으면 해당 DAMON-based Operation Scheme action이 적용을 시도한 memory region의 `age`를 반환합니다.

DAMON sz filter passed

541-546
항목한국어 전문 번역
What/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/sz_filter_passed
Date2024년 12월
ContactSeongJae Park <[email protected]>
Description읽으면 region 안에서 scheme의 DAMON operations layer-handled filters를 통과한 memory size를 bytes 단위로 반환합니다.
DAMOS outcome and tried-region data
GroupAttributes
Attemptsnr_tried, sz_tried
Appliednr_applied, sz_applied
Operations filterssz_ops_filter_passed, sz_filter_passed
Quotaqt_exceeds
Tried regiontotal_bytes, start, end, nr_accesses, age

시도·성공 규모, filter 통과량, quota exceed와 region details를 제공합니다.