Spatial Locality and Granularity Change in Caching
Nathan Beckmann, Phillip B Gibbons, and Charles McGuffey

TL;DR
This paper investigates the impact of spatial locality on caching by defining the Granularity-Change Caching Problem, proving its computational complexity, and proposing a new online caching policy with competitive guarantees.
Contribution
It introduces the Granularity-Change Caching Problem, proves its NP-Completeness, and develops a new deterministic policy with near-optimal competitive ratio.
Findings
Granularity-Change Caching is NP-Complete even with unit size and cost.
The Item-Block Layered Partitioning policy achieves a competitive ratio close to the theoretical lower bound.
The offline cache size influences the relative performance of online algorithms.
Abstract
Caches exploit temporal and spatial locality to allow a small memory to provide fast access to data stored in large, slow memory. The temporal aspect of locality is extremely well studied and understood, but the spatial aspect much less so. We seek to gain an increased understanding of spatial locality by defining and studying the Granularity-Change Caching Problem. This problem modifies the traditional caching setup by grouping data items into blocks, such that a cache can choose any subset of a block to load for the same cost as loading any individual item in the block. We show that modeling such spatial locality significantly changes the caching problem. This begins with a proof that Granularity-Change Caching is NP-Complete in the offline setting, even when all items have unit size and all blocks have unit load cost. In the online setting, we show a lower bound for competitive…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCaching and Content Delivery · Optimization and Search Problems · Distributed systems and fault tolerance
