arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Networks and Communications

A least recently used block replacement algorithm with flooding protection for disk caches

Everet L. Johnson, U. Walterscheidt

See on the map

Abstract

The topic of this dissertation is a new block replacement algorithm for disk caches. A block replacement algorithm is responsible for removing a block of data in a full disk cache with new incoming data. A modification to the commonly used Least Recently Used (LRU) block replacement algorithm is proposed. The new algorithm prevents a stream of fresh, never-before accessed data from overwriting often used data stored in cache memory, a phenomenon called cache flooding. The new algorithm is therefore referred to as Least Recently Used block replacement algorithm with Flooding Protection (LRU-FP). Trace driven analysis was used to measure LRU-FP's performance and compare it to other replacement algorithms found in the literature. Simulation was then extended to CPU workloads and synthetic workloads. Results were also compared to the optimal replacement strategy A$\sb0.$ The implementation overhead was analyzed to ensure the practicality of the new approach. A new method used in this research to visualize a block replacement algorithm's run-time behavior is presented. Finally, an enhancement to LRU-FP is discussed which allows the dynamic adjustment of a tuning parameter at run-time. The simulation results presented in this dissertation show that LRU-FP achieves comparable results to the latest advanced block replacement algorithms. It produces stable results i.e., its performance is consistently high over a wide range of cache design parameters.

More like this