Memory-management short topics: page-table sharing and working sets
Memory-management short topics: page-table sharing and working sets
Posted Jan 11, 2023 18:47 UTC (Wed) by mmechri (subscriber, #95694)Parent article: Memory-management short topics: page-table sharing and working sets
- Brendan Gregg's WSS tools [1]
- DAMON [2] [3]
[1] https://www.brendangregg.com/wss.html
[2] https://damonitor.github.io/test/result/visual/v24/index....
[3] https://sjp38.github.io/post/damon_profile_callstack_exam...
Posted Jan 12, 2023 23:02 UTC (Thu)
by Yuanchu (subscriber, #153443)
[Link]
The parallel in Brendan Gregg's WSS would be idle page tracking, which tracks accesses by setting and checking the PG_idle bit. The benefit here is that MGLRU already does almost all of this during aging, and is less clunky than userspace writing to /sys/kernel/mm/page_idle/bitmap.
With DAMON, you can get a lot more, e.g. a heatmap, but there's additional work and tuning required to make use of it. The working set extensions are really about exposing information MGLRU already has.
Memory-management short topics: page-table sharing and working sets