Stop Using LRU
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
S3-FIFO, a cache eviction algorithm presented at SOSP '23, replaces LRU with three static FIFO queues. New objects wait in a small queue, and only those hit again move to the main queue. A hit updates a two-bit counter without a lock. The project site reports up to 72% lower miss ratio than LRU, 6x throughput at 16 threads, and the lowest mean miss ratio on 10 of 14 datasets. These figures and the adopter list are the authors' own and unverified.