arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.08367cs.OS
收藏

Cichlid:针对大型计算机的显式物理存储管理

Cichlid: Explicit physical memory management for large machines

Simon Gerber, Gerd Zellweger, Reto Achermann, Moritz Hoffmann, Kornilios Kourtis, Timothy Roscoe, Dejan Milojicic

摘要:

在本文中,我们重新思考如何操作系统支持虚拟内存。经典VM是RAM的不透明抽象,由请求分页支持。然而,今天的大多数系统(从电话到数据中心)都不分页,实际上可能需要非分页物理内存、精确的NUMA分配等性能优势。此外,MMU硬件现在可用于其他目的,例如检测页面访问或提供大型页面转换。因此,Windows和Linux等操作系统中古老的VM抽象已经获得了过多的额外API来戳虚拟地址空间幻觉背后的策略。相反,我们提出了慈鲷,记忆系统,反转这个模型。应用程序显式管理其不同类型的物理RAM,并直接(尽管安全)对翻译硬件进行编程。Cichlid是在Barrelfish中实现的,不需要虚拟化支持,除了最小的工作集之外,它的性能都优于基于VMM的方法。我们表明,Cichlid使虚拟内存的用例在Linux今天是不可能的,和其他用例是简单的编程和显着更快。

英文摘要:

In this paper, we rethink how an OS supports virtual memory. Classical VM is an opaque abstraction of RAM, backed by demand paging. However, most systems today (from phones to data-centers) do not page, and indeed may require the performance benefits of non-paged physical memory, precise NUMA allocation, etc. Moreover, MMU hardware is now useful for other purposes, such as detecting page access or providing large page translation. Accordingly, the venerable VM abstraction in OSes like Windows and Linux has acquired a plethora of extra APIs to poke at the policy behind the illusion of a virtual address space. Instead, we present Cichlid, a memory system which inverts this model. Applications explicitly manage their physical RAM of different types, and directly (though safely) program the translation hardware. Cichlid is implemented in Barrelfish, requires no virtualization support, and outperforms VMM-based approaches for all but the smallest working sets. We show that Cichlid enables use-cases for virtual memory not possible in Linux today, and other use-cases are simple to program and significantly faster.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑