paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CARAT CAKE: replacing paging via compiler/kernel cooperation

CARAT CAKE:通过编译器/内核协作替代分页
ASPLOS Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems2022匹配度 1/10 · 该论文属于操作系统/编译器的系统方向,研究用编译器与内核协作替代页式虚拟内存,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等用户核心方向。虽然涉及编译器变换,但与用户关注的 PL 与 AI 交叉问题基本无关。引用 16 inbox
Brian Suchy, Souradip Ghosh, Drew Kersnar, Siyuan Chai, Zhen Huang, Aaron Nelson, Michael Cuevas, Alex Bernat, Gaurav Chaudhary, Nikos Hardavellas, Simone Campanoni, Peter Dinda
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:将页式虚拟内存替换为编译器与内核协作的 CARAT CAKE,以低开销实现保护、映射与移动。

虚拟内存的页式机制面临现代负载的新需求。先前 CARAT 用编译器与运行时完成地址翻译,甚至支持纯物理寻址,但仅停留在用户级原型。本文将其引入内核,形成 CARAT CAKE,使 Linux 兼容的 x64 进程抽象可基于该机制或页式实现。实现需修改内核,并让编译器优化/变换覆盖包括内核代码在内的全系统代码。与页式对比评估显示,CARAT CAKE 以极小开销实现保护、映射与移动功能,并带来节能、更大 L1 缓存和任意粒度内存管理等收益。

问题
虚拟内存页式机制在现代负载下面临压力;已有 CARAT 替代方案仅在用户级原型中评估,尚未进入内核。
方法
将 CARAT 集成进内核形成 CARAT CAKE,通过内核修改与覆盖全系统(含内核代码)的编译器优化/变换,实现 Linux 兼容 x64 进程抽象。
评估
与成熟页式实现对比,评估其功能(保护、映射、移动)和开销,并分析节能、L1 缓存与任意粒度内存管理等收益。
原文摘要(Abstract)

Virtual memory, specifically paging, is undergoing significant innovation due to being challenged by new demands from modern workloads. Recent work has demonstrated an alternative software only design that can result in simplified hardware requirements, even supporting purely physical addressing. While we have made the case for this Compiler- And Runtime-based Address Translation (CARAT) concept, its evaluation was based on a user-level prototype. We now report on incorporating CARAT into a kernel, forming Compiler- And Runtime-based Address Translation for CollAborative Kernel Environments (CARAT CAKE). In our implementation, a Linux-compatible x64 process abstraction can be based either on CARAT CAKE, or on a sophisticated paging implementation. Implementing CARAT CAKE involves kernel changes and compiler optimizations/transformations that must work on all code in the system, including kernel code. We evaluate CARAT CAKE in comparison with paging and find that CARAT CAKE is able to achieve the functionality of paging (protection, mapping, and movement properties) with minimal overhead. In turn, CARAT CAKE allows significant new benefits for systems including energy savings, larger L1 caches, and arbitrary granularity memory management.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{SuchyGKCHNCBCHC22,
  title = {CARAT CAKE: replacing paging via compiler/kernel cooperation},
  author = {Brian Suchy and Souradip Ghosh and Drew Kersnar and Siyuan Chai and Zhen Huang and Aaron Nelson and Michael Cuevas and Alex Bernat and Gaurav Chaudhary and Nikos Hardavellas and Simone Campanoni and Peter Dinda},
  booktitle = {ASPLOS},
  year = {2022},
  doi = {10.1145/3503222.3507771}
}