Lune

HPCA2025顶会

From Optimal to Practical: Efficient Micro-op Cache Replacement Policies for Data Center Applications

Kan Zhu, Yilong Zhao, Yufei Gao, Peter Braun, Tanvir Ahmed Khan, Heiner Litz, Baris Kasikci, Shuwen Deng

摘要

Optimizing the CPU frontend has become crucial for modern processors with intricate instruction decoding logic, especially for efficiently running planet-scale data center applications. Micro-operation (micro-op) cache is a key unit to help improve the energy efficiency of the CPU frontend. Unfortunately, we find that data center applications suffer from frequent micro-op cache misses due to the lack of an effective micro-op cache replacement policy. Developing micro-op cache-specific replacement policies is challenging, as there currently does not exist an optimal theoretical solution akin to Belady’s algorithm for conventional caches. As a result, it is unknown by how much replacement policies can be improved and how to get there. To address these challenges, we introduce FLACK, a new near-optimal offline policy that considers the key features of the micro-op cache, such as variable and disproportional costs of micro-op cache misses and partial hits. We show that FLACK substantially outperforms Belady’s algorithm, thus establishing a new baseline for micro-op cache replacement policies. We then design FURBYS, a practical policy that mimics FLACK via profile-guided methods. FURBYS has three key components to perform cache replacement decisions: (1) it uses profiles of the whole-execution hit/miss behavior, (2) it detects locally (transiently) hot data, and (3) it selectively ignores data with profiled low hit rates. We evaluate FLACK and FURBYS using 11 data center applications and find that FLACK demonstrates an average bound of 30.21% miss reduction, achieving 4.46% greater miss reduction than Belady’s algorithm. Our practical policy, FURBYS, provides 14.34% average miss reduction compared to LRU, which is 1.84×1.84 \times greater than the current state-of-the-art replacement policy, contributing to 3.10% of performance-perwatt improvement for the CPU core. On average, in terms of miss reduction and IPC gain, FURBYS is equivalent to LRU policy on 1.5×1.5 \times micro-op cache sizes (up to 2×2 \times), demonstrating the effectiveness of the proposed replacement policy.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
  • Wax: Optimizing Data Center Applications With Stale Profile 引用了 Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
  • Wax: Optimizing Data Center Applications With Stale Profile 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • ICARUS: Criticality and Reuse based Instruction Caching for Datacenter Applications 引用了 Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
  • ICARUS: Criticality and Reuse based Instruction Caching for Datacenter Applications 引用了 Effective Mimicry of Belady's MIN Policy
  • Effective Mimicry of Belady's MIN Policy 引用了 An Imitation Learning Approach for Cache Replacement
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Wax: Optimizing Data Center Applications With Stale ProfileTawhid Bhuiyan, Sumya Hoque, Angelica Aparecida Moreira, Tanvir Ahmed KhanASPLOS 2026 · 1 次引用
  2. ICARUS: Criticality and Reuse based Instruction Caching for Datacenter ApplicationsVedant Kalbande, Hrishikesh Jedhe Deshmukh, Alberto Ros, Biswabandan PandaASPLOS 2026 · 1 次引用
  3. Chips Need DIP: Time-Proportional Per-Instruction Cycle Stacks at DispatchSilvio Heverton Campelo de Santana, Joseph Rogers, Lieven Eeckhout, Magnus JahreASPLOS 2026 · 1 次引用
  4. Distributed Caching with Delayed HitsKanghuai Liu, Xueyan Tang, Lin Chen, Guocong Quan 等INFOCOM 2026

它引用的 Paper15

  1. An Imitation Learning Approach for Cache ReplacementEvan Zheran Liu, Milad Hashemi, Kevin Swersky, Parthasarathy Ranganathan 等ICML 2020 · 108 次引用
  2. I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op CachesXida Ren, Logan Moody, Mohammadkazem Taram, Matthew Jordan 等ISCA 2021 · 59 次引用
  3. Effective Mimicry of Belady's MIN PolicyIshan Shah, Akanksha Jain, Calvin LinHPCA 2022 · 44 次引用
  4. Ripple: Profile-Guided Instruction Cache Replacement for Data Center ApplicationsTanvir Ahmed Khan, Dexin Zhang, Akshitha Sriraman, Joseph Devietti 等ISCA 2021 · 33 次引用
  5. Twig: Profile-Guided BTB Prefetching for Data Center ApplicationsTanvir Ahmed Khan, Nathan Brown, Akshitha Sriraman, Niranjan K. Soundararajan 等MICRO 2021 · 33 次引用

相关 Paper

  1. P-OPT: Practical Optimal Cache Replacement for Graph AnalyticsVignesh Balaji, Neal Clayton Crago, Aamer Jaleel, Brandon LuciaHPCA 2021 · 41 次引用
  2. EMISSARY: Enhanced Miss Awareness Replacement Policy for L2 Instruction CachingNayana Prasad Nagendra, Bhargav Reddy Godala, Ishita Chaturvedi, Atmn Patel 等ISCA 2023 · 17 次引用
  3. UDP: Utility-Driven Fetch Directed Instruction PrefetchingSurim Oh, Mingsheng Xu, Tanvir Ahmed Khan, Baris Kasikci 等ISCA 2024 · 12 次引用
  4. I-SPY: Context-Driven Conditional Instruction Prefetching with CoalescingTanvir Ahmed Khan, Akshitha Sriraman, Joseph Devietti, Gilles Pokam 等MICRO 2020 · 37 次引用
  5. Alternate Path μ-op Cache PrefetchingSawan Singh, Arthur Perais, Alexandra Jimborean, Alberto RosISCA 2024 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖