요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Monitoring intervals and region bounds
sysfs-kernel-mm-damon:87-152Sampling·aggregation·update intervals, access-ratio auto-tuning goal과 sampling·monitoring-region bounds를 설정합니다.
Targets, regions and schemes
sysfs-kernel-mm-damon:153-214Monitoring targets와 address regions를 구성하고 DAMOS schemes, action, target NUMA node와 apply interval을 설정합니다.
Access patterns, quotas and goals
sysfs-kernel-mm-damon:215-326Region size·access frequency·age pattern과 time/size quota, effective quota, auto-tuning goals와 prioritization weights를 구성합니다.
Watermarks and filters
sysfs-kernel-mm-damon:327-447Free-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-505Migration action destinations와 weights를 구성하고 attempts, applied regions·bytes, operations-filter 통과량과 quota exceed events를 읽습니다.
Tried-region details
sysfs-kernel-mm-damon:506-546Scheme action이 시도된 total bytes와 각 region의 start·end, accesses, age, operations-filter 통과 size를 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
what: /sys/kernel/mm/damon/
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Interface for Data Access MONitoring (DAMON). Contains files
for controlling DAMON. For more details on DAMON itself,
please refer to Documentation/admin-guide/mm/damon/index.rst.
What: /sys/kernel/mm/damon/admin/
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Interface for privileged users of DAMON. Contains files for
controlling DAMON that aimed to be used by privileged users.
What: /sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for controlling each DAMON worker thread (kdamond)
named '0' to 'N-1' under the kdamonds/ directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/state
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing 'on' or 'off' to this file makes the kdamond starts or
stops, respectively. Reading the file returns the keywords
based on the current status. Writing 'commit' to this file
makes the kdamond reads the user inputs in the sysfs files
except 'state' again. Writing 'commit_schemes_quota_goals' to
this file makes the kdamond reads the quota goal files again.
Writing 'update_schemes_stats' to the file updates contents of
schemes stats files of the kdamond. Writing
'update_schemes_tried_regions' to the file updates contents of
'tried_regions' directory of every scheme directory of this
kdamond. Writing 'update_schemes_tried_bytes' to the file
updates only '.../tried_regions/total_bytes' files of this
kdamond. Writing 'clear_schemes_tried_regions' to the file
removes contents of the 'tried_regions' directory. Writing
'update_schemes_effective_quotas' to the file updates
'.../quotas/effective_bytes' files of this kdamond.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/pid
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the pid of the kdamond if it is
running.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/refresh_ms
Date: Jul 2025
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the time interval for
automatic DAMON status file contents update. Writing '0'
disables the update. Reading this file returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for controlling each DAMON context named '0' to
'N-1' under the contexts/ directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations
Date: Apr 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the available monitoring operations
sets on the currently running kernel.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a keyword for a monitoring operations set ('vaddr' for
virtual address spaces monitoring, 'fvaddr' for fixed virtual
address ranges monitoring, and 'paddr' for the physical address
space monitoring) to this file makes the context to use the
operations set. Reading the file returns the keyword for the
operations set the context is set to use.
Note that only the operations sets that listed in
'avail_operations' file are valid inputs.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/addr_unit
Date: Aug 2025
Contact: SeongJae Park <[email protected]>
Description: Writing an integer to this file sets the 'address unit'
parameter of the given operations set of the context. Reading
the file returns the last-written 'address unit' value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the sampling interval of the
DAMON context in microseconds as the value. Reading this file
returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the aggregation interval of
the DAMON context in microseconds as the value. Reading this
file returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the update interval of the
DAMON context in microseconds as the value. Reading this file
returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/access_bp
Date: Feb 2025
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the monitoring intervals
auto-tuning target DAMON-observed access events ratio within
the given time interval (aggrs in same directory), in bp
(1/10,000). Reading this file returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/aggrs
Date: Feb 2025
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the time interval to achieve
the monitoring intervals auto-tuning target DAMON-observed
access events ratio (access_bp in same directory) within.
Reading this file returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/min_sample_us
Date: Feb 2025
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the minimum value of
auto-tuned sampling interval in microseconds. Reading this
file returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goal/max_sample_us
Date: Feb 2025
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the maximum value of
auto-tuned sampling interval in microseconds. Reading this
file returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/min
WDate: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the minimum number of
monitoring regions of the DAMON context as the value. Reading
this file returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/max
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the maximum number of
monitoring regions of the DAMON context as the value. Reading
this file returns the value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for controlling each DAMON target of the context
named '0' to 'N-1' under the contexts/ directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/pid_target
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the pid of
the target process if the context is for virtual address spaces
monitoring, respectively.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/nr_regions
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for setting each DAMON target memory region of the
context named '0' to 'N-1' under the regions/ directory. In
case of the virtual address space monitoring, DAMON
automatically sets the target memory region based on the target
processes' mappings.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/start
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the start
address of the monitoring region.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/end
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the end
address of the monitoring region.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for controlling each DAMON-based operation scheme
of the context named '0' to 'N-1' under the schemes/ directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the action
of the scheme.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/target_nid
Date: Jun 2024
Contact: SeongJae Park <[email protected]>
Description: Action's target NUMA node id. Supported by only relevant
actions.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/apply_interval_us
Date: Sep 2023
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the action apply interval of
the scheme in microseconds. Reading this file returns the
value.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/min
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the minimum
size of the scheme's target regions in bytes.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/max
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the maximum
size of the scheme's target regions in bytes.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/min
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the manimum
'nr_accesses' of the scheme's target regions.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/max
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the maximum
'nr_accesses' of the scheme's target regions.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the minimum
'age' of the scheme's target regions.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/max
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the maximum
'age' of the scheme's target regions.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/ms
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the time
quota of the scheme in milliseconds.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/bytes
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the size
quota of the scheme in bytes.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/effective_bytes
Date: Feb 2024
Contact: SeongJae Park <[email protected]>
Description: Reading from this file gets the effective size quota of the
scheme in bytes, which adjusted for the time quota and goals.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the quotas
charge reset interval of the scheme in milliseconds.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/nr_goals
Date: Nov 2023
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for setting automatic tuning of the scheme's
aggressiveness named '0' to 'N-1' under the goals/ directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_metric
Date: Feb 2024
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the quota
auto-tuning goal metric.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_value
Date: Nov 2023
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the target
value of the goal metric.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/current_value
Date: Nov 2023
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the current
value of the goal metric.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/nid
Date: Apr 2025
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the nid
parameter of the goal.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the
under-quota limit regions prioritization weight for 'size' in
permil.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/nr_accesses_permil
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the
under-quota limit regions prioritization weight for
'nr_accesses' in permil.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/age_permil
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the
under-quota limit regions prioritization weight for 'age' in
permil.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/metric
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the metric
of the watermarks for the scheme. The writable/readable
keywords for this file are 'none' for disabling the watermarks
feature, or 'free_mem_rate' for the system's global free memory
rate in permil.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/interval_us
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the metric
check interval of the watermarks for the scheme in
microseconds.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/high
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the high
watermark of the scheme in permil.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/mid
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the mid
watermark of the scheme in permil.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/low
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the low
watermark of the scheme in permil.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/nr_filters
Date: Dec 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for setting filters of the scheme named '0' to
'N-1' under the filters/ directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/type
Date: Dec 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the type of
the memory of the interest. 'anon' for anonymous pages,
'memcg' for specific memory cgroup, 'young' for young pages,
'addr' for address range (an open-ended interval), or 'target'
for DAMON monitoring target can be written and read.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/memcg_path
Date: Dec 2022
Contact: SeongJae Park <[email protected]>
Description: If 'memcg' is written to the 'type' file, writing to and
reading from this file sets and gets the path to the memory
cgroup of the interest.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_start
Date: Jul 2023
Contact: SeongJae Park <[email protected]>
Description: If 'addr' is written to the 'type' file, writing to or reading
from this file sets or gets the start address of the address
range for the filter.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_end
Date: Jul 2023
Contact: SeongJae Park <[email protected]>
Description: If 'addr' is written to the 'type' file, writing to or reading
from this file sets or gets the end address of the address
range for the filter.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/min
Date: Feb 2025
Contact: SeongJae Park <[email protected]>
Description: If 'hugepage_size' is written to the 'type' file, writing to
or reading from this file sets or gets the minimum size of the
hugepage for the filter.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/max
Date: Feb 2025
Contact: SeongJae Park <[email protected]>
Description: If 'hugepage_size' is written to the 'type' file, writing to
or reading from this file sets or gets the maximum size of the
hugepage for the filter.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/target_idx
Date: Dec 2022
Contact: SeongJae Park <[email protected]>
Description: If 'target' is written to the 'type' file, writing to or
reading from this file sets or gets the index of the DAMON
monitoring target of the interest.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/matching
Date: Dec 2022
Contact: SeongJae Park <[email protected]>
Description: Writing 'Y' or 'N' to this file sets whether the filter is for
the memory of the 'type', or all except the 'type'.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/allow
Date: Jan 2025
Contact: SeongJae Park <[email protected]>
Description: Writing 'Y' or 'N' to this file sets whether to allow or reject
applying the scheme's action to the memory that satisfies the
'type' and the 'matching' of the directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/core_filters
Date: Feb 2025
Contact: SeongJae Park <[email protected]>
Description: Directory for DAMON core layer-handled DAMOS filters. Files
under this directory works same to those of
/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters
directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/ops_filters
Date: Feb 2025
Contact: SeongJae Park <[email protected]>
Description: Directory for DAMON operations set layer-handled DAMOS filters.
Files under this directory works same to those of
/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters
directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/dests/nr_dests
Date: Jul 2025
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for setting action destinations of the scheme named
'0' to 'N-1' under the dests/ directory.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/dests/<D>/id
Date: Jul 2025
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the id of
the DAMOS action destination. For DAMOS_MIGRATE_{HOT,COLD}
actions, the destination node's node id can be written and
read.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/dests/<D>/weight
Date: Jul 2025
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the weight
of the DAMOS action destination to select as the destination of
each action among the destinations.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_tried
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the number of regions that the action
of the scheme has tried to be applied.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_tried
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the total size of regions that the
action of the scheme has tried to be applied in bytes.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_applied
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the number of regions that the action
of the scheme has successfully applied.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_applied
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the total size of regions that the
action of the scheme has successfully applied in bytes.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_ops_filter_passed
Date: Dec 2024
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the total size of memory that passed
DAMON operations layer-handled filters of the scheme in bytes.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/qt_exceeds
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the number of the exceed events of
the scheme's quotas.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/total_bytes
Date: Jul 2023
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the total amount of memory that
corresponding DAMON-based Operation Scheme's action has tried
to be applied.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/start
Date: Oct 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the start address of a memory region
that corresponding DAMON-based Operation Scheme's action has
tried to be applied.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/end
Date: Oct 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the end address of a memory region
that corresponding DAMON-based Operation Scheme's action has
tried to be applied.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/nr_accesses
Date: Oct 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the 'nr_accesses' of a memory region
that corresponding DAMON-based Operation Scheme's action has
tried to be applied.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/age
Date: Oct 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the 'age' of a memory region that
corresponding DAMON-based Operation Scheme's action has tried
to be applied.
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/sz_filter_passed
Date: Dec 2024
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the size of the memory in the region
that passed DAMON operations layer-handled filters of the
scheme in bytes.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
DAMON damon
1-7| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/damon/ |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | Data Access MONitoring(DAMON) interface입니다. DAMON을 제어하는 files를 포함하며 자세한 내용은 `Documentation/admin-guide/mm/damon/index.rst`를 참조합니다. |
DAMON admin
8-13| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/damon/admin/ |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | Privileged DAMON users를 위한 interface이며 privileged users가 DAMON을 제어하도록 설계된 files를 포함합니다. |
DAMON nr kdamonds
14-20| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | 숫자 `N`을 쓰면 `kdamonds/` directory 아래에 각 DAMON worker thread(`kdamond`)를 제어하는 `0`부터 `N-1` 이름의 directories를 만듭니다. |
Privileged admin interface가 workers, contexts, targets와 schemes를 계층적으로 만듭니다.
DAMON state
21-40| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/damon/admin/kdamonds/<K>/state |
| Date | 2022년 3월 |
| Contact | SeongJae 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합니다. |
Worker lifecycle, configuration commit과 runtime statistics refresh를 한 file에서 제어합니다.
DAMON pid
41-46| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/damon/admin/kdamonds/<K>/pid |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | Kdamond가 running 중이면 이 file을 읽어 해당 pid를 반환합니다. |
DAMON refresh ms
47-53| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/damon/admin/kdamonds/<K>/refresh_ms |
| Date | 2025년 7월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 4월 |
| Contact | SeongJae Park <[email protected]> |
| Description | 현재 실행 중인 kernel에서 사용할 수 있는 monitoring operations sets를 읽어 반환합니다. |
DAMON operations
67-79| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | Monitoring 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 |
| Date | 2025년 8월 |
| Contact | SeongJae Park <[email protected]> |
| Description | Integer를 쓰면 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2025년 2월 |
| Contact | SeongJae 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 |
| Date | 2025년 2월 |
| Contact | SeongJae 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 |
| Date | 2025년 2월 |
| Contact | SeongJae 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 |
| Date | 2025년 2월 |
| Contact | SeongJae 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 | |
| WDate | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | 값을 쓰면 DAMON context의 maximum monitoring regions 수를 설정하며 읽으면 값을 반환합니다. |
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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | Context가 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2024년 6월 |
| Contact | SeongJae Park <[email protected]> |
| Description | Action의 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 |
| Date | 2023년 9월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | 이 file을 쓰고 읽어 scheme target regions의 maximum `age`를 설정하고 가져옵니다. |
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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2024년 2월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2023년 11월 |
| Contact | SeongJae 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 |
| Date | 2024년 2월 |
| Contact | SeongJae 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 |
| Date | 2023년 11월 |
| Contact | SeongJae 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 |
| Date | 2023년 11월 |
| Contact | SeongJae 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 |
| Date | 2025년 4월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | 이 file을 쓰고 읽어 under-quota-limit regions의 `age` prioritization weight를 permil 단위로 설정하고 가져옵니다. |
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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae Park <[email protected]> |
| Description | 이 file을 쓰고 읽어 scheme의 low watermark를 permil 단위로 설정하고 가져옵니다. |
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 |
| Date | 2022년 12월 |
| Contact | SeongJae 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 |
| Date | 2022년 12월 |
| Contact | SeongJae 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 |
| Date | 2022년 12월 |
| Contact | SeongJae 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 |
| Date | 2023년 7월 |
| Contact | SeongJae 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 |
| Date | 2023년 7월 |
| Contact | SeongJae 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 |
| Date | 2025년 2월 |
| Contact | SeongJae 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 |
| Date | 2025년 2월 |
| Contact | SeongJae 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 |
| Date | 2022년 12월 |
| Contact | SeongJae 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 |
| Date | 2022년 12월 |
| Contact | SeongJae 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 |
| Date | 2025년 1월 |
| Contact | SeongJae 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 |
| Date | 2025년 2월 |
| Contact | SeongJae Park <[email protected]> |
| Description | DAMON 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 |
| Date | 2025년 2월 |
| Contact | SeongJae Park <[email protected]> |
| Description | DAMON operations set layer가 처리하는 DAMOS filters용 directory입니다. 이 directory 아래 files는 `/sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters`의 files와 동일하게 동작합니다. |
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 |
| Date | 2025년 7월 |
| Contact | SeongJae 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 |
| Date | 2025년 7월 |
| Contact | SeongJae 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 |
| Date | 2025년 7월 |
| Contact | SeongJae Park <[email protected]> |
| Description | 이 file을 쓰고 읽어 여러 destinations 중 각 action의 destination을 선택할 때 사용할 DAMOS action destination 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2024년 12월 |
| Contact | SeongJae 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 |
| Date | 2022년 3월 |
| Contact | SeongJae 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 |
| Date | 2023년 7월 |
| Contact | SeongJae 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 |
| Date | 2022년 10월 |
| Contact | SeongJae 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 |
| Date | 2022년 10월 |
| Contact | SeongJae 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 |
| Date | 2022년 10월 |
| Contact | SeongJae 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 |
| Date | 2022년 10월 |
| Contact | SeongJae 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 |
| Date | 2024년 12월 |
| Contact | SeongJae Park <[email protected]> |
| Description | 읽으면 region 안에서 scheme의 DAMON operations layer-handled filters를 통과한 memory size를 bytes 단위로 반환합니다. |
시도·성공 규모, filter 통과량, quota exceed와 region details를 제공합니다.
Administration, workers and contexts
sysfs-kernel-mm-damon:1-86Privileged DAMON root에서 kdamond workers와 contexts를 만들고 lifecycle commands, status refresh, operations set과 address unit을 제어합니다.