Limited Associativity Caching in the Data Plane
Roy Friedman, Or Goaz, Dor Hovav

TL;DR
This paper introduces PKache, a limited associativity cache implementation in programmable switches using P4, enabling efficient in-network caching with multiple cache management schemes, addressing the constraints of switch hardware.
Contribution
PKache is the first generic limited associativity cache design implemented in P4, supporting various cache management strategies within switch constraints.
Findings
PKache effectively supports multiple cache management schemes.
It demonstrates improved in-network caching performance.
The design adheres to switch hardware limitations.
Abstract
In-network caching promises to improve the performance of networked and edge applications as it shortens the paths data need to travel. This is by storing so-called hot items in the network switches on-route between clients who access the data and the storage servers who maintain it. Since the data flows through those switches in any case, it is natural to cache hot items there. Most software-managed caches treat the cache as a fully associative region. Alas, a fully associative design seems to be at odds with programmable switches' goal of handling packets in a short bounded amount of time, as well as their restricted programming model. In this work, we present PKache, a generic limited associativity cache implementation in the programmable switches' domain-specific P4 language, and demonstrate its utility by realizing multiple popular cache management schemes.
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 · Network Packet Processing and Optimization · Software-Defined Networks and 5G
