Making Huge Pages Actually Useful

Author:

Panwar Ashish1,Prasad Aravinda1,Gopinath K.1

Affiliation:

1. Indian Institute of Science, Bangalore, India

Abstract

The virtual-to-physical address translation overhead, a major performance bottleneck for modern workloads, can be effectively alleviated with huge pages. However, since huge pages must be mapped contiguously, OSs have not been able to use them well because of the memory fragmentation problem despite hardware support for huge pages being available for nearly two decades. This paper presents a comprehensive study of the interaction of fragmentation with huge pages in the Linux kernel. We observe that when huge pages are used, problems such as high CPU utilization and latency spikes occur because of unnecessary work (e.g., useless page migration) performed by memory management related subsystems due to the poor handling of unmovable (i.e., kernel) pages. This behavior is even more harmful in virtualized systems where unnecessary work may be performed in both guest and host OSs. We present Illuminator, an efficient memory manager that provides various subsystems, such as the page allocator, the ability to track all unmovable pages. It allows subsystems to make informed decisions and eliminate unnecessary work which in turn leads to cost-effective huge page allocations. Illuminator reduces the cost of compaction (up to 99%), improves application performance (up to 2.3x) and reduces the maximum latency of MySQL database server (by 30x). Importantly, this work shows the effectiveness of a simple solution for long-standing huge page related problems.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference62 articles.

1. A basic model to estimate the cost of memory compaction. https://patchwork.kernel.org/patch/1624461/. A basic model to estimate the cost of memory compaction. https://patchwork.kernel.org/patch/1624461/.

2. About the Virtual Memory System. https://developer.apple.com/library/content/documentation/Performance/Conceptual/ManagingMemory/Articles/AboutMemory.html. About the Virtual Memory System. https://developer.apple.com/library/content/documentation/Performance/Conceptual/ManagingMemory/Articles/AboutMemory.html.

3. FreeBSD Manual Pages. https://www.freebsd.org/cgi/man.cgi?query=uma&sektion=9. FreeBSD Manual Pages. https://www.freebsd.org/cgi/man.cgi?query=uma&sektion=9.

4. Intel Haswell. https://ark.intel.com/products/codename/42174/Haswell. Intel Haswell. https://ark.intel.com/products/codename/42174/Haswell.

5. Intel Skylake. https://ark.intel.com/products/codename/37572/Skylake. Intel Skylake. https://ark.intel.com/products/codename/37572/Skylake.

Cited by 11 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. DyLeCT: Achieving Huge-page-like Translation Performance for Hardware-compressed Memory;2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA);2024-06-29

2. Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking;PeerJ Computer Science;2023-05-16

3. Comparison of Value- and Reference-Based Memory Page Compaction in Virtualized Systems;IEICE Transactions on Information and Systems;2022-12-01

4. Athena;Proceedings of the International Conference on Parallel Architectures and Compilation Techniques;2022-10-08

5. Trident: Harnessing Architectural Resources for All Page Sizes in x86 Processors;MICRO-54: 54th Annual IEEE/ACM International Symposium on Microarchitecture;2021-10-17

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3