Hi SJ, On Tue, 29 Sep 2026 09:56:03 -0700 SJ Park <[email protected]> wrote:
> I agree the reclaim-reporting granularity mismatch could be a room to improve. Thanks for pointing us back to the Access/Contiguity-aware Memory Autoscaling proposal. Jialiang's description gives us a useful deployment context and a concrete problem to investigate. The guest reclaim/reporting case and our host-side THP/tiering case are different, but both raise questions about how workload behaviour and monitoring granularity should guide kernel actions. KunWu and I would like to help move this work forward together, alongside the existing DAMON roadmap. For now, I would like to share a few possible areas for discussion: 1. Workloads, DAMON policies, and tiering. My current work includes improving masim-based experiments and studying TPP-inspired memory tiering. We would like to make the workloads more representative and better understand how DAMON's observations and policy settings affect placement decisions. The aim is to understand where configuration changes are sufficient and where code changes, if any, would help. 2. Testing and contributing to the existing PMU work. Our initial focus would be on helping with the Arm SPE integration and testing the IBS and PEBS work on x86, in coordination with the people already working on these. The experiments could evaluate whether finer-grained sampling provides useful additional information, and at what CPU cost. We could leave huge-page-specific mechanisms for a later discussion, guided by the results. 3. Following up on the DeepSeek workload. If the team is interested, we could learn more about the workloads and tuning questions they can share, and study the path from workload behaviour and monitoring parameters through reclaim and free-page reporting. Pratyush's reporting-delay suggestion adds another useful dimension. This may provide a practical starting point for revisiting parts of the access/contiguity-aware autoscaling work and evaluating their relevance to the reported workload. Could we discuss whether some of these could become follow-up milestones in the DAMON discussions at LPC, or here on the mailing list? We would be happy to help organise the discussion and take on agreed pieces of testing or development. We would also welcome closer collaboration with DeepSeek and other interested MM developers, including Muchun, where our work overlaps. This is only a brief outline for now. I plan to bring the experimental results and remaining questions to LPC. After discussing and aligning on the details there, we plan to share a more detailed proposal with the community and write up the planned work and experimental findings in blog posts. I appreciate how much is already on your schedule. We hope to support the existing plans and help with agreed tasks as the scope becomes clearer. There is no urgency to reply; we can discuss these ideas whenever it fits your schedule. Thanks, Lian
