计算机科学 > 操作系统
[提交于 2024年9月17日]
标题:eBPF-mm: Userspace-guided memory management in Linux with eBPF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We leverage eBPF in order to implement custom policies in the Linux memory subsystem. Inspired by CBMM, we create a mechanism that provides the kernel with hints regarding the benefit of promoting a page to a specific size. We introduce a new hook point in Linux page fault handling path for eBPF programs, providing them the necessary context to determine the page size to be used. We then develop a framework that allows users to define profiles for their applications and load them into the kernel. A profile consists of memory regions of interest and their expected benefit from being backed by 4KB, 64KB and 2MB pages. In our evaluation, we profiled our workloads to identify hot memory regions using DAMON.
提交历史
来自:Stratos Psomadakis[v1] 2024年9月17日 星期二 14:13:03 UTC