Lune

PLDI2022Top-tier venue

Efficient approximations for cache-conscious data placement

Ali Ahmadi, Majid Daliri, Amir Kafshdar Goharshady, Andreas Pavlogiannis

Abstract

There is a huge and growing gap between the speed of accesses to data stored in main memory vs cache. Thus, cache misses account for a significant portion of runtime overhead in virtually every program and minimizing them has been an active research topic for decades. The primary and most classical formal model for this problem is that of Cacheconscious Data Placement (CDP): given a commutative cache with constant capacity 𝑘 and a sequence Σ of accesses to data elements, the goal is to map each data element to a cache line such that the total number of cache misses over Σ is minimized. Note that we are considering an offline singlethreaded setting in which Σ is known a priori. CDP has been widely studied since the 1990s. In POPL 2002, Petrank and Rawitz proved a notoriously strong hardness result: They showed that for every 𝑘 ≥ 3, CDP is not only NP-hard but also hard-to-approximate within any non-trivial factor unless P = NP. As such, all subsequent works gave up on theoretical improvements and instead focused on heuristic algorithms with no theoretical guarantees.

In this work, we present the first-ever positive theoretical result for CDP. The fundamental idea behind our approach is that real-world instances of the problem have specific structural properties that can be exploited to obtain efficient

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Bounded Pathwidth of Control-Flow Graphs cites Reachability Analysis Using Message Passing over Tree Decompositions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Fast and Optimal Extraction for Sparse Equality GraphsAmir Kafshdar Goharshady, Chun Kit Lam, Lionel ParreauxOOPSLA 2024 · 11 citations
  2. The Bounded Pathwidth of Control-Flow GraphsGiovanna Kobus Conrado, Amir Kafshdar Goharshady, Chun Kit LamOOPSLA 2023 · 9 citations

Builds on1

  1. Reachability Analysis Using Message Passing over Tree DecompositionsSriram SankaranarayananCAV 2020 · 6 citations

Related papers

  1. Co-Located Parallel Scheduling of Threads to Optimize Cache SharingCorey Tessler, Venkata Prashant Modekurthy, Nathan Fisher, Abusayeed Saifullah et al.RTSS 2023 · 5 citations
  2. Latency Guarantees for Caching with Delayed HitsKeerthana Gurushankar, Noah G. Singer, Bernardo SubercaseauxINFOCOM 2025 · 5 citations
  3. Contiguous Cake Cutting: Hardness Results and Approximation AlgorithmsPaul W. Goldberg, Alexandros Hollender, Warut SuksompongAAAI 2020 · 34 citations
  4. Interleaved Caching with Access GraphsRavi Kumar, Manish Purohit, Zoya Svitkina, Erik VeeSODA 2020 · 8 citations
  5. Tight running times for minimum ℓq-norm load balancing: beyond exponential dependencies on 1/∊Lin Chen, Liangde Tao, José VerschaeSODA 2022 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines