aboutsummaryrefslogtreecommitdiffstats
path: root/todo
blob: 18a0490d7a454fccb3bfc380b8b25d0575f2da93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
TODOs
=====

WIP
---

Aiming next merge window
------------------------

- Self feedback based DAMOS tuning
- DAMON debugfs deprecation: make it more noticeable
- Selftests: Test quota
- Upload daily perf results to the website

Planning / Considering
----------------------

- Access/Contiguity-aware Memory Auto-scaling
  - https://lore.kernel.org/damon/20231112195114.61474-1-sj@kernel.org/
- Make 'age' counted by sample_interval rather than aggregation interval
- CPU time quota for DAMON monitirng
- monitoring part CPU usage statistics
- onetime callback
  - manually setting callback function pointers looks dangeraous.  Provide more
    decent interface, like register/unregister_damon_callback, and one time
    callback like call_rcu()
- Setting resolution of damos tried_regions
  - Should be able to control the directories population overhead when the
    number of regions is big
- More DAMON modules
  - DAMON_WSS: Yet another DAMON module for WSS monitoring with ro/wo/rw
  - DAMON-based THP hinting module
- DAMON debugfs deprecation: make it stop working
- DAMON debugfs deprecation: remove code
- rename nr_accesses/moving_accesses_bp
- mark nr_accesses as private
- use a dedicated struct for access rate
- let kdamond name be user-defined
- let DAMON modules share one kdamond
- unify DAMON modules
- write-only monitoring
  - There is a patch doing the work already:
    https://lore.kernel.org/lkml/20220203131237.298090-1-pedrodemargomes@gmail.com/
  Need to wait until soft-dirty bugs are fixed, though.
- support multiple contexts per kdamond
- DAMON-based VMA split/merge
  - Help big VMA contention issue?
  - We can further expose the monitoring results via vma name
  - Reading results becomes very easy
- Contig memory access util monitoring
- WSS/RSS based processes sorting
- LRU-based monitoring ops
- rename damon_sysfs_scheme to damos_sysfs
- automatic paddr regions detection
  (handle hot(un)plugged memory regions)
- Fixed granularity idleness monitoring
  - Must be useful for further DAMON overhead/accuracy evaluation
- Improve regions-based monitoring quality
- Support cgroups
- Support tlb flushing
  - https://lore.kernel.org/all/a2fb10bd-b44a-350e-f693-82ecfa6f54a8@huawei.com/
- Add __counted_by() annotation when ready
  (https://lore.kernel.org/r/CAKwvOdkvGTGiWzqEFq=kzqvxSYP5vUj3g9Z-=MZSQROzzSa_dg@mail.gmail.com)