Posts
168
Following
31
Followers
77
Maintaining DAMON (https://damonitor.github.io). All opinions are my own.
DAMON user-space tool (damo) v2.3.6[1] is out. This release contains vmas recording[2] and custom-weighted hotness-based access pattern snapshot reporting[3] features.

[1] https://github.com/awslabs/damo/tree/v2.3.6
[2] https://github.com/awslabs/damo/blob/v2.3.6/USAGE.md#recording-memory-mappings
[3] https://github.com/awslabs/damo/blob/v2.3.6/USAGE.md#sorting-regions-based-on-hotness

#linux #kernel #damon #damo
0
1
3
repeated

[$] Better support for locally-attached-memory tiering https://lwn.net/Articles/974126/

0
1
2
Memory management subsystem pull request[1] for Linux 6.10-rc1 has been posted. This pull request includes DAMOS young page filter, DAMOS auto-tuning functionality kselftest, and misc cleanups/fixups for code, documentation, and tests.

[1] https://lore.kernel.org/20240517192239.9285edd85f8ef893bb508a61@linux-foundation.org

#linux #kernel #mm #damon
0
0
0
@LWN The article is subscriber-only, but will be available for everyone after two weeks. I highly recommend people to subscribe LWN. If you cannot subscribe LWN right now but want to read the article, however, please DM me. I can send you a subscription-free link.

#linux #kernel #damon

RE: https://fosstodon.org/@LWN/112456810957068482
0
0
1
repeated

[$] An update and future plans for DAMON https://lwn.net/Articles/973702/

0
1
2
I found "Unusable Free Space Index", which is a good metric to represent the amount of fragmentation, from Mel Gorman's paper[1]. I implemented it as a script called 'ufsi.py'[2], and used it in researches and profiling. While using it, I started wrongly thinking the name of the metric is "ufsi". I have again used the wrong name in LSFMM session of yesterday, and apparently it made one people or two bit confused. Clarifying here, though I unsure how many people will read this. Sorry if I made you bit confused, again.

[1] https://www.landley.net/kdocs/ols/2006/ols2006v1-pages-369-384.pdf
[2] https://github.com/sjp38/lazybox/blob/master/scripts/ufsi.py
0
0
1
Edited 6 months ago
@LWN launched kernel source database! This is cool! Another reason to subscribe to LWN! https://lwn.net/ksdb/
0
2
2
Edited 6 months ago
I just sent two sets of patches for DAMON-based tiered memory management [1] and access/contiguity-aware memory scaling[2]. These have been on the back burner for a while, but I was able to get a little more work done this time around because they are the main topics of tomorrow's LSFMM session - presentation-driven development definitely works!

[1] https://lore.kernel.org/20240512175447.75943-1-sj@kernel.org
[2] https://lore.kernel.org/20240512193657.79298-1-sj@kernel.org/

#linux #kernel #damon #lsfmmbpf
0
0
0
Just uploaded the first draft[1] of the slides for LSFMM+BPF 2024 DAMON talk[2]. Note that it is just a draft, and therefore will be (significantly) changed until the talk, though!

[1] https://github.com/damonitor/talks/blob/master/2024/lsfmmbpf/damon_lsfmmbpf_2024.pdf
[2] https://docs.google.com/spreadsheets/d/176LXLys9Uh6A-Eal2flrzcbUSJMUXGkGwyihr9jAAaQ/edit#gid=0

#linux #kernel #damon
0
0
1
Edited 6 months ago
@kernellogger FWIW, seems the glorious commit was 066ff875952b ("cves issued for some 6.8.8 commits").

```
vulns$ git ls-tree 066ff87 cve/published/*/*.json cve/rejected/*/*.json | wc -l
1002
vulns$ git ls-tree 066ff87~1 cve/published/*/*.json cve/rejected/*/*.json | wc -l
959
```

And in a way of sorting the CVEs, the 1000th CVE is CVE-2024-27019 (https://lore.kernel.org/2024050150-CVE-2024-27019-e3d4@gregkh).

```
vulns$ git show 066ff875952b --stat
[...]
cve/published/2024/CVE-2024-27019.sha1 | 1 +
[...]
cve/published/2024/CVE-2024-27020.sha1 | 1 +
[...]
cve/published/2024/CVE-2024-27021.sha1 | 1 +
172 files changed, 9150 insertions(+)
```

RE: https://fosstodon.org/users/kernellogger/statuses/112364389830654403
1
0
0
repeated

Thorsten Leemhuis (acct. 1/4)

Edited 6 months ago

The 's team just published their thousandth CVE[1]. 🥳 🙃

This happened 78 days after the effort was announced[2].

Note, 26 of the 1003 CVE entries published so far were later rejected. For details check https://git.kernel.org/pub/scm/linux/security/vulns.git/ or https://lore.kernel.org/linux-cve-announce/

[1] https://git.kernel.org/pub/scm/linux/security/vulns.git/commit/?id=55441d0dd1f40c5762cd7cf8c9ca312ed0964c4a

[2] http://www.kroah.com/log/blog/2024/02/13/linux-is-a-cna/

1
4
1
The video of the DAMON presentation at LinuxCon'24 is now available: https://youtu.be/vP5x5P47S1U?feature=shared

#linux #kernel #damon
0
0
1
Yet another academic paper exploring DAMON as a part has been published by ASPLOS'24: https://dl.acm.org/doi/10.1145/3620666.3651355

#linux #kernel #damon
0
0
2
Edited 7 months ago
Just found OSSummit NA has unconference session chance. I booked one slot to use it as a place for yet another in-person veresion of the DAMON community meetup, a.k.a Beer/Coffee/Tea Chat. The time is just after my talk at LinuxCon. Looking forward to meet you and chat interesting things!

More formal announcement: https://lore.kernel.org/r/20240416184044.98993-1-sj@kernel.org

#linux #kernel #damon #ossummit
0
0
3
Edited 7 months ago
DAMO v2.3.0[1] is out. An important change on this version is the support of memory footprint visualization[2]. All DAMO features including this, which are added since last OSSummit Europe will be demonstrated in this week's OSSummit NA on Wednesday[3].

[1] https://github.com/awslabs/damo/blob/v2.3.0/release_note#L4
[2] https://github.com/awslabs/damo/blob/v2.3.0/USAGE.md#footprints
[3] https://sched.co/1aBOg

#linux #kernel #damon #damo
0
0
1

I sometimes do git log --author to know developers including myself for just fun, retrospects, or interviews. It was not easy to get the whole picture with my poor brain. Hence I wrote a script: https://github.com/sjp38/lazybox/blob/master/git_helpers/profile_author.py

E.g.,

$ ./profile_author.py "SeongJae Park" --branch linus/master --repo ~/linux --max_files 10
since 2023-04-14 until 2024-04-13
# <changed_lines> <file>
746 mm/damon/sysfs-schemes.c
735 Documentation/admin-guide/mm/damon/usage.rst
646 mm/damon/core.c
522 Documentation/mm/damon/design.rst
405 tools/testing/selftests/damon/_damon_sysfs.py
291 include/linux/damon.h
273 mm/damon/sysfs.c
179 mm/damon/core-test.h
100 Documentation/ABI/testing/sysfs-kernel-mm-damon
86 mm/damon/sysfs-test.h
# 5035 total lines
# 52 total files
# 172 commits

#lazybox #git #statistics

0
0
3
Edited 7 months ago
Hackermail v1.0.3 is out. The major change in this version is the support of public-inbox search queries[1]. It is in an experimental level, and may need more optimization, though.

[1] https://github.com/sjp38/hackermail/blob/v1.0.3/USAGE.md#public-inbox-search

#hackermail
0
3
3
Show older