• Home
  • Search
  • Paging and the Address-Translation Problem
  • Cite Icon20
  • https://doi.org/10.1145/3409964.3461814Copy DOI Icon

Paging and the Address-Translation Problem

  • Jul 6, 2021
  • Michael A Bender +11 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The classical paging problem, introduced by Sleator and Tarjan in 1985, formalizes the problem of caching pages in RAM in order to minimize IOs. Their online formulation ignores the cost of address translation: programs refer to data via virtual addresses, and these must be translated into physical locations in RAM. Although the cost of an individual address translation is much smaller than that of an IO, every memory access involves an address translation, whereas IOs can be infrequent. In practice, one can spend money to avoid paging by over-provisioning RAM; in contrast, address translation is effectively unavoidable. Thus address-translation costs can sometimes dominate paging costs, and systems must simultaneously optimize both. To mitigate the cost of address translation, all modern CPUs have translation lookaside buffers (TLBs), which are hardware caches of common address translations. What makes TLBs interesting is that a single TLB entry can potentially encode the address translation for many addresses. This is typically achieved via the use of huge pages, which translate runs of contiguous virtual addresses to runs of contiguous physical addresses. Huge pages reduce TLB misses at the cost of increasing the IOs needed to maintain contiguity in RAM. This tradeoff between TLB misses and IOs suggests that the classical paging problem does not tell the full story. This paper introduces the Address-Translation Problem, which formalizes the problem of maintaining a TLB, a page table, and RAM in order to minimize the total cost of both TLB misses and IOs. We present an algorithm that achieves the benefits of huge pages for TLB misses without the downsides of huge pages for IOs.

Similar Papers
  • Conference Article
  • Citations128

Mosaic

  • Oct 14, 2017
  • Rachata Ausavarungnirun +6
  • Conference Article
  • Citations29

Exploiting Page Table Locality for Agile TLB Prefetching

  • Jun 01, 2021
  • Georgios Vavouliotis +6
  • Book Chapter
  • Citations2

Superpage-Friendly Page Table Design for Hybrid Memory Systems

  • Jan 01, 2020
  • Xiaoyuan Wang +3
  • Conference Article
  • Citations22

The effect of state-saving in optimistic simulation on a cache-coherent non-uniform memory access architecture

  • Jan 01, 1999
  • Christopher D Carothers +2
  • Research Article
  • Citations12

Mosaic

  • Aug 28, 2018
  • ACM SIGOPS Operating Systems Review
  • Rachata Ausavarungnirun +6
  • Conference Article
  • Citations26

Valkyrie

  • Sep 30, 2020
  • Trinayan Baruah +8
  • PDF
  • Research Article
  • Citations2

Intermediate Address Space: virtual memory optimization of heterogeneous architectures for cache-resident workloads

  • Sep 14, 2024
  • ACM Transactions on Architecture and Code Optimization
  • Qunyou Liu +4
  • Conference Article
  • Citations8

Efficient synonym filtering and scalable delayed translation for hybrid virtual caching

  • Jun 01, 2016
  • Chang Hyun Park +2
  • Research Article
  • Citations10

A simulation based study of TLB performance

  • Apr 01, 1992
  • ACM SIGARCH Computer Architecture News
  • J Bradley Chen +2
  • Book Chapter
  • Citations2

CoPTA: Contiguous Pattern Speculating TLB Architecture

  • Jan 01, 2020
  • Yichen Yang +7
  • Conference Article
  • Citations11

Memory-Efficient Hashed Page Tables

  • Feb 01, 2023
  • Jovan Stojkovic +4
  • Research Article
  • Citations19

Architectural support for address translation on GPUs

  • Feb 24, 2014
  • ACM SIGARCH Computer Architecture News
  • Bharath Pichai +2
  • Conference Article
  • Citations4

Scattered superpage: A case for bridging the gap between superpage and page coloring

  • Oct 01, 2013
  • Licheng Chen +5
  • Conference Article
  • Citations10

Performance analysis of re-configurable partitioned TLBs

  • Jan 03, 1997
  • D Channon +1
  • Research Article
  • Citations91

An in-cache address translation mechanism

  • May 01, 1986
  • ACM SIGARCH Computer Architecture News
  • D A Wood +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.