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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers2
Builds on1
Related papers
- Co-Located Parallel Scheduling of Threads to Optimize Cache SharingCorey Tessler, Venkata Prashant Modekurthy, Nathan Fisher, Abusayeed Saifullah et al.RTSS 2023 · 5 citations
- Latency Guarantees for Caching with Delayed HitsKeerthana Gurushankar, Noah G. Singer, Bernardo SubercaseauxINFOCOM 2025 · 5 citations
- Contiguous Cake Cutting: Hardness Results and Approximation AlgorithmsPaul W. Goldberg, Alexandros Hollender, Warut SuksompongAAAI 2020 · 34 citations
- Interleaved Caching with Access GraphsRavi Kumar, Manish Purohit, Zoya Svitkina, Erik VeeSODA 2020 · 8 citations
- Tight running times for minimum ℓq-norm load balancing: beyond exponential dependencies on 1/∊Lin Chen, Liangde Tao, José VerschaeSODA 2022 · 1 citation
