HackerPapers

arXiv:2009.06789cs.AR

The Cost of Software-Based Memory Management Without Virtual Memory

Drew Zagieboylo, G. Edward Suh, Andrew C. Myers

Abstract

Virtual memory has been a standard hardware feature for more than three decades. At the price of increased hardware complexity, it has simplified software and promised strong isolation among colocated processes. In modern computing systems, however, the costs of virtual memory have increased significantly. With large memory workloads, virtualized environments, data center computing, and chips with multiple DMA devices, virtual memory can degrade performance and increase power usage. We therefore explore the implications of building applications and operating systems without relying on hardware support for address translation. Primarily, we investigate the implications of removing the abstraction of large contiguous memory segments. Our experiments show that the overhead to remove this reliance is surprisingly small for real programs. We expect this small overhead to be worth the benefit of reducing the complexity and energy usage of address translation. In fact, in some cases, performance can even improve when address translation is avoided.

arXiv comments
Journal reference
DOI
Subjects
cs.ARHardware Architecture cs.PLProgramming Languages

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Sep 2020 to May 2021. Found in 2 HN submissions from Sep 2020 to Sep 2020. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • I've been wondering recently to what extent formal verification could be used to simplify CPU hardware and ISAs. For example, MMUs are unnecessary if the OS verifies that all programs only access memory that's been allocated to it. This paper[0] seems to imply that the savings…

      awelkieView on HNParent context

    • It's actually pretty cool of arxiv to provide a gzip of the source files for the pdf, here TeX: https://arxiv.org/format/2009.06789

      eternalbanView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.