FBMM: Using the VFS for Extensibility in Kernel Memory Management

FBMM: Using the VFS for Extensibility in Kernel Memory Management
复制标题

FBMM:使用 VFS 实现内核内存管理的可扩展性

DOI:
10.1145/3593856.3595908
复制
发表时间:
2023
期刊:
HOTOS '23: Proceedings of the 19th Workshop on Hot Topics in Operating Systems
影响因子:
--
通讯作者:
Swift, Michael M.
Swift, Michael M.
中科院分区:
--
文献类型:
--
作者:
Tabatabai, Bijan;Mansi, Mark;Swift, Michael M.

文献摘要

参考文献

相似文献

现代的内存层次结构越来越复杂,内存类型和拓扑也越来越丰富。不幸的是,内核内存管理器缺乏可扩展性,而内核的许多其他部分则使用它来支持多样性。这使得添加和部署对新内存配置(例如分层内存)的支持变得困难:工程师必须导航和修改单片内存管理代码以添加支持,并且需要自定义内核来部署这种支持,直到它被上游。我们从文件系统中获得灵感,并注意到VFS,文件系统的可扩展接口,支持用于不同媒体和不同用例的大量文件系统,更重要的是,它具有用于内存管理操作的接口,如控制虚拟到物理的映射和处理页面错误。我们建议使用VFS将内存管理系统编写为文件系统,从而为内核内存管理带来可扩展性。我们称之为基于文件的内存管理(FBMM)。使用这种方法,许多最近的内存管理扩展,例如,分层支持,无需修改现有内存管理代码即可编写。我们原型FBMM在Linux的扩展性的开销很低(1.6%以内),它使有用的扩展。
Modern memory hierarchies are increasingly complex, with more memory types and richer topologies. Unfortunately kernel memory managers lack the extensibility that many other parts of the kernel use to support diversity. This makes it difficult to add and deploy support for new memory configurations, such as tiered memory: engineers must navigate and modify the monolithic memory management code to add support, and custom kernels are needed to deploy such support until it is upstreamed.We take inspiration from filesystems and note that VFS, the extensible interface for filesystems, supports a huge variety of filesystems for different media and different use cases, and importantly, hasinterfaces for memory management operationssuch as controlling virtual-to-physical mapping and handling page faults.We propose writing memory management systems as filesystems using VFS, bringing extensibility to kernel memory management. We call this idea File-Based Memory Management (FBMM). Using this approach, many recent memory management extensions, e.g., tiering support, can be written without modifying existing memory management code. We prototype FBMM in Linux to show that the overhead of extensibility is low (within 1.6%) and that it enables useful extensions.
DOI: 10.1145/3582016.3582063
发表时间: 2022-06
期刊: Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3
影响因子: --
作者:
H. Maruf;Hao Wang;A. Dhanotia;Johannes Weiner;Niket Agarwal;Pallab Bhattacharya;Chris Petersen;Mosharaf Chowdhury;Shobhit O. Kanaujia;Prakash Chauhan
通讯作者: H. Maruf;Hao Wang;A. Dhanotia;Johannes Weiner;Niket Agarwal;Pallab Bhattacharya;Chris Petersen;Mosharaf Chowdhury;Shobhit O. Kanaujia;Prakash Chauhan
DOI: --
发表时间: 2019-07
期刊: --
影响因子: --
作者:
Dmitry Duplyakin;R. Ricci;Aleksander Maricq;Gary Wong;Jonathon Duerig;E. Eide;L. Stoller;Mike Hibler;David Johnson;Kirk Webb;Aditya Akella;Kuang-Ching Wang;Glenn Ricart;L. Landweber;C. Elliott;M. Zink;E. Cecchet;Snigdhaswin Kar;Prabodh Mishra
通讯作者: Dmitry Duplyakin;R. Ricci;Aleksander Maricq;Gary Wong;Jonathon Duerig;E. Eide;L. Stoller;Mike Hibler;David Johnson;Kirk Webb;Aditya Akella;Kuang-Ching Wang;Glenn Ricart;L. Landweber;C. Elliott;M. Zink;E. Cecchet;Snigdhaswin Kar;Prabodh Mishra
DOI: --
发表时间: 2010
期刊:
影响因子: --
作者:
Adam G. Litke
通讯作者: Adam G. Litke
mmapx:异构世界中的统一内存保护
DOI: 10.1145/3458336.3465273
发表时间: 2021
期刊: Proceedings of the Workshop on Hot Topics in Operating Systems
影响因子: --
作者:
Reto Achermann;David A. Cock;Roni Haecki;Nora Hossle;Lukas Humbel;Timothy Roscoe;D. Schwyn
通讯作者: D. Schwyn
Compute Express Link®:开放式行业标准互连,支持异构数据中心计算
DOI: --
发表时间: 2022
期刊: IEEE Symposium on High-Performance Interconnects
影响因子: --
作者:
Debendra Das Sharma
通讯作者: Debendra Das Sharma