PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 31, 2026Proceedings of the ACM on Measurement and Analysis of Computing Systems2 citations

Performance Analysis of the Randomized SIEVE/CLOCK Cache Replacement Algorithm

View Full Paper
YWYirong WangPDPeter DesnoyersBHBenny Van Houdt

Key Points

  • Evaluate the effectiveness of the randomized SIEVE/CLOCK caching algorithm in improving hit rates during prolonged access sequences.
  • Introduced a randomized version of SIEVE/CLOCK using log2(K+1) access bits per cached item.
  • Developed a heterogeneous mean-field model to analyze performance and prove its unique fixed point.
  • Conducted simulations to validate the theoretical model's accuracy.
  • Demonstrated improved hit rates by a factor of 1.5 or more for workloads with long scan sequences.
  • Showed that using at least 4 access bits per cached item substantially enhances performance.
  • Proved that the mean-field model is O(1/n) accurate regarding algorithm modifications.

Abstract

Recently SIEVE was introduced as a new cache-eviction algorithm that excels in efficiency and simplicity. Like the CLOCK algorithm it uses a single list and an access bit per cached item. The SIEVE and CLOCK algorithm operate in the same manner, except that SIEVE inserts items in a fixed position in the list, instead of in the position of the evicted item. Both the SIEVE and CLOCK algorithm can be naturally generalized to a setting where multiple access bits are used per cached item. Motivated by the need to improve the performance for workloads with long scan sequences, we introduce a randomized version of the SIEVE/CLOCK algorithm using ⌈ log 2 (K+1) ⌉ ≥ 1 access bits per cached item. We present a heterogeneous mean-field model to assess the performance of the randomized SIEVE/CLOCK algorithm and prove that it has a unique fixed point that can be easily computed using bisection. An explicit expression for the fixed point is presented when K tends to infinity. The accuracy of the model is demonstrated using simulations. Theoretical support for the observed accuracy is presented by arguing that the mean-field model of a slightly modified version of the algorithm is O(1/n) accurate, where n is the population size. We end the paper by comparing the performance of the randomized SIEVE/CLOCK algorithm with other cache replacement algorithms to demonstrate improved hit rates (by a factor 1.5 or more) on workloads with long scan sequences. Furthermore, though the cache hit rate improves with the number of access bits, we show that the majority of the gain is already achieved with as few as 4 access bits per cached item.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Wang et al. (2026) studied this question.

synapsesocial.com/papers/6a1bcf125783ba022b6fb41bhttps://doi.org/10.1145/3805647
Ask AI
Helpful
Bookmark
Share
View Full Paper