PG2S+: Stack Distance Construction Using Popularity, Gap and Machine Learning
Jiangwei Zhang, Y. C. Tay
Abstract
Stack distance characterizes temporal locality of workloads and plays a vital role in cache analysis since the 1970s. However, exact stack distance calculation is too costly, and impractical for online use. Hence, much work was done to optimize the exact computation, or approximate it through sampling or modeling. This paper introduces a new approximation technique PG2S that is based on reference popularity and gap distance. This approximation is exact under the Independent Reference Model (IRM). The technique is further extended, using machine learning, to PG2S+ for non-IRM reference patterns. Extensive experiments show that PG2S+ is much more accurate and robust than other state-of-the-art algorithms for determining stack distance. PG2S+ is the first technique to exploit the strong correlation among reference popularity, gap distance and stack distance.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Related papers
- A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 citations
- DWT: Decoupled Workload Tracing for Data CentersJian Chen, Ying Zhang, Xiaowei Jiang, Li Zhao et al.HPCA 2020 · 3 citations
- Efficient Miss Ratio Curve Computation for Heterogeneous Content PopularityDamiano Carra, Giovanni NegliaUSENIX ATC 2020 · 13 citations
- Out of Many We are One: Measuring Item Batch with Clock-SketchPeiqing Chen, Dong Chen, Lingxiao Zheng, Jizhou Li et al.SIGMOD 2021 · 35 citations
- Sampling-based Predictive Database Buffer ManagementTheo Vanderkooy, Mohammad Khalaji, Runsheng Benson Guo, Khuzaima DaudjeeVLDB 2025 · 1 citation
