MEGA: overcoming traditional problems with OS huge page management

MEGA: overcoming traditional problems with OS huge page management
复制标题

MEGA:克服操作系统大页面管理的传统问题

DOI:
10.1145/3319647.3325839
复制
发表时间:
2019
期刊:
Proceedings of the 12th ACM International Conference on Systems and Storage
影响因子:
--
通讯作者:
M. Roussopoulos
M. Roussopoulos
中科院分区:
--
文献类型:
--
作者:
Theodore Michailidis;A. Delis;M. Roussopoulos

文献摘要

参考文献

被引文献

相似文献

现代计算机系统现在的特征是存储体,其总大小范围从几十到几百GB。在这种情况下,当代工作负载可以并且经常消耗大量的主内存。这种内存消耗的激增通常会导致虚拟到物理地址转换的增加,因此更重要的是,会导致更多的转换未命中。这两个方面合在一起确实会妨碍工作负载执行的性能。旨在显著减少地址转换未命中的数量的解决方案是为具有较大尺寸的页面(称为巨大页面)提供硬件支持。在本文中,我们经验证明了使用这样巨大的页面的好处和缺点。特别是,我们表明,它是必不可少的现代操作系统,以完善其软件机制,更有效地管理巨大的页面。基于我们的经验观察,我们提出并实现了MEGA,一个巨大的页面支持Linux内核的框架。MEGA部署了基本的跟踪机制和一种新颖的内存压缩算法,它们共同提供了对大型页面的有效管理。我们实验评估MEGA使用一系列的合成和真实的工作负载,并证明我们的框架解决了已知的问题与巨大的页面,包括增加页面错误延迟,内存膨胀以及内存碎片,而在同一时间,它提供了所有巨大的页面的好处。
Modern computer systems now feature memory banks whose aggregate size ranges from tens to hundreds of GBs. In this context, contemporary workloads can and do often consume vast amounts of main memory. This upsurge in memory consumption routinely results in increased virtual-to-physical address translations, and consequently and more importantly, more translation misses. Both of these aspects collectively do hamper the performance of workload execution. A solution aimed at dramatically reducing the number of address translation misses has been to provide hardware support for pages with bigger sizes, termed huge pages. In this paper, we empirically demonstrate the benefits and drawbacks of using such huge pages. In particular, we show that it is essential for modern OS to refine their software mechanisms to more effectively manage huge pages. Based on our empirical observations, we propose and implement MEGA, a framework for huge page support for the Linux kernel. MEGA deploys basic tracking mechanisms and a novel memory compaction algorithm that jointly provide for the effective management of huge pages. We experimentally evaluate MEGA using an array of both synthetic and real workloads and demonstrate that our framework tackles known problems associated with huge pages including increased page fault latency, memory bloating as well as memory fragmentation, while at the same time it delivers all huge pages benefits.
DOI: 10.1177/1527476412450193
发表时间: 2014-02
影响因子: 2
作者:
Sylvain Firer-Blaess;C. Fuchs
通讯作者: Sylvain Firer-Blaess;C. Fuchs