Overview
Adaptive Replacement Cache (ARC) splits cache capacity c between a recency list T1 (items seen once recently) and a frequency list T2 (items seen at least twice), alongside ghost metadata lists B1 and B2 that remember recently evicted keys. Hits in B1 increase the target size p for T1 (favoring recency), while hits in B2 decrease p (favoring frequency), adapting online in O(1) time without manual tuning.