A Simulation-Based Comparison of Cache Replacement Policies under Different Workloads and Cache Sizes
The effectiveness of a cache replacement rule depends on the pattern of requests it receives and on how much space is available to retain previously requested items. This study used a deterministic simulator to compare least recently used (LRU), first-in-first-out (FIFO), and least frequently used (LFU) under three synthetic request patterns: uniform-random, Zipfian-skewed, and scan-heavy/mixed. For each workload, ten independently seeded traces of 50,000 requests were tested at capacities of 100, 250, 500, and 1,000 entries. The outcome was the proportion of requests served from the cache, reported as a mean and standard deviation across seeds. At capacity 500, LFU recorded the highest mean hit rate on the Zipfian workload (79.96% ± 0.22 percentage points), followed by LRU (75.88% ± 0.18) and FIFO (71.99% ± 0.19). On uniform-random requests, the three methods were almost indistinguishable, with hit rates of approximately 4.95% to 4.98%. In the specified scan-heavy/mixed workload, hit rates ranged from 4.12% to 4.56%. Larger caches generally improved hit rates, particularly under Zipfian access. These findings describe the behaviour of the stated simulator and input generators; they do not establish which policy will perform best in a production system. Tests using public application traces or a real storage workload are needed before making operational recommendations.
Authors
- Joy Uchechukwu Ukibe (ORCID: https://orcid.org/0009-0002-8917-4543)
- Chiagozie Excellence Ezeumeanya
Institutions
- Nnamdi Azikiwe University (NG)
Publication Details
- Journal
- Iconic Research and Engineering Journals
- Published
- 2026-11-09
- DOI
- https://doi.org/10.64388/ire1724912
- Primary Topic
- Caching and Content Delivery
- Type
- article
- Field-Weighted Citation Impact
- 0.00