MegA: Overcoming traditional problems with OS huge page management

Theodore Michailidis, Alex Delis, Mema Roussopoulos

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

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.

Original languageEnglish (US)
Title of host publicationSYSTOR 2019 - Proceedings of the 12th ACM International Systems and Storage Conference
PublisherAssociation for Computing Machinery, Inc
Pages121-131
Number of pages11
ISBN (Electronic)9781450367493
DOIs
StatePublished - May 22 2019
Event12th ACM International Systems and Storage Conference, SYSTOR 2019 - Haifa, Israel
Duration: Jun 3 2019Jun 5 2019

Publication series

NameSYSTOR 2019 - Proceedings of the 12th ACM International Systems and Storage Conference

Conference

Conference12th ACM International Systems and Storage Conference, SYSTOR 2019
Country/TerritoryIsrael
CityHaifa
Period6/3/196/5/19

Keywords

  • Address translation
  • Huge pages
  • Memory compaction

ASJC Scopus subject areas

  • Hardware and Architecture
  • Electrical and Electronic Engineering
  • Computer Science Applications
  • Software

Fingerprint

Dive into the research topics of 'MegA: Overcoming traditional problems with OS huge page management'. Together they form a unique fingerprint.

Cite this