Lune

MICRO2021顶会

PDede: Partitioned, Deduplicated, Delta Branch Target Buffer

Niranjan K. Soundararajan, Peter Braun, Tanvir Ahmed Khan, Baris Kasikci, Heiner Litz, Sreenivas Subramoney

摘要

Due to large instruction footprints, contemporary data center applications suffer from frequent frontend stalls. Despite being a significant contributor to these stalls, the Branch Target Buffer (BTB) has received less attention compared to other frontend structures such as the instruction cache. While prior works have looked at enhancing the BTB through more efficient replacement policies and prefetching policies, a thorough analysis into optimizing the BTB’s storage efficiency is missing. In this work, we analyze BTB accesses for a large number (100+) of frontend bound applications to understand their branch target characteristics. This analysis, provides three significant observations about the nature of branch targets: (1) a significant number of branch instructions have the same branch target, (2) a significant number of branch targets share the same page address, and (3) a significant percentage of branch instructions and their targets are located on the same page. Furthermore, we observe that while applications’ address spaces are sparsely populated, they exhibit spatial locality within and across pages. We refer to these multi-page addresses as regions and we show that applications traverse a significantly smaller number of regions than pages. Based on these insights, we propose PDede, an efficient re-design of the BTB micro-architecture that improves storage efficiency by removing redundancy among branches and their targets. PDede introduces three techniques, (a) BTB Partitioning, (b) Branch Target Deduplication, and (c) Delta Branch Target Encoding to reduce BTB miss induced frontend stalls. We evaluate PDede across 100+ applications, spanning several usage scenarios, and show that it provides an average 14.4% (up to 76%) IPC speedup by reducing BTB misses by 54.7% on average (and up to 99.8%).

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
  • Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 Classifying Memory Access Patterns for Prefetching
  • Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 Divide and Conquer Frontend Bottleneck
  • Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • Thermometer: profile-guided btb replacement for data center applications 引用了 Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
  • Thermometer: profile-guided btb replacement for data center applications 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Thermometer: profile-guided btb replacement for data center applications 引用了 Classifying Memory Access Patterns for Prefetching
  • Thermometer: profile-guided btb replacement for data center applications 引用了 Divide and Conquer Frontend Bottleneck
  • Thermometer: profile-guided btb replacement for data center applications 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • UDP: Utility-Driven Fetch Directed Instruction Prefetching 引用了 Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
  • UDP: Utility-Driven Fetch Directed Instruction Prefetching 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • UDP: Utility-Driven Fetch Directed Instruction Prefetching 引用了 Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications
  • UDP: Utility-Driven Fetch Directed Instruction Prefetching 引用了 Divide and Conquer Frontend Bottleneck
  • UDP: Utility-Driven Fetch Directed Instruction Prefetching 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
  • Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 Thermometer: profile-guided btb replacement for data center applications
  • Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 OCOLOS: Online COde Layout OptimizationS
  • OCOLOS: Online COde Layout OptimizationS 引用了 Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications
  • Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • OCOLOS: Online COde Layout OptimizationS 引用了 Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
  • OCOLOS: Online COde Layout OptimizationS 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • OCOLOS: Online COde Layout OptimizationS 引用了 Thermometer: profile-guided btb replacement for data center applications
  • OCOLOS: Online COde Layout OptimizationS 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing 引用了 Classifying Memory Access Patterns for Prefetching
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. Twig: Profile-Guided BTB Prefetching for Data Center ApplicationsTanvir Ahmed Khan, Nathan Brown, Akshitha Sriraman, Niranjan K. Soundararajan 等MICRO 2021 · 33 次引用
  2. Whisper: Profile-Guided Branch Misprediction Elimination for Data Center ApplicationsTanvir Ahmed Khan, Muhammed Ugur, Krishnendra Nathella, Dam Sunwoo 等MICRO 2022 · 25 次引用
  3. Thermometer: profile-guided btb replacement for data center applicationsShixin Song, Tanvir Ahmed Khan, Sara Mahdizadeh-Shahri, Akshitha Sriraman 等ISCA 2022 · 23 次引用
  4. OCOLOS: Online COde Layout OptimizationSYuxuan Zhang, Tanvir Ahmed Khan, Gilles Pokam, Baris Kasikci 等MICRO 2022 · 14 次引用
  5. UDP: Utility-Driven Fetch Directed Instruction PrefetchingSurim Oh, Mingsheng Xu, Tanvir Ahmed Khan, Baris Kasikci 等ISCA 2024 · 12 次引用

它引用的 Paper6

  1. Classifying Memory Access Patterns for PrefetchingGrant Ayers, Heiner Litz, Christos Kozyrakis, Parthasarathy RanganathanASPLOS 2020 · 83 次引用
  2. I-SPY: Context-Driven Conditional Instruction Prefetching with CoalescingTanvir Ahmed Khan, Akshitha Sriraman, Joseph Devietti, Gilles Pokam 等MICRO 2020 · 37 次引用
  3. Ripple: Profile-Guided Instruction Cache Replacement for Data Center ApplicationsTanvir Ahmed Khan, Dexin Zhang, Akshitha Sriraman, Joseph Devietti 等ISCA 2021 · 33 次引用
  4. Twig: Profile-Guided BTB Prefetching for Data Center ApplicationsTanvir Ahmed Khan, Nathan Brown, Akshitha Sriraman, Niranjan K. Soundararajan 等MICRO 2021 · 33 次引用
  5. Divide and Conquer Frontend BottleneckAli Ansari, Pejman Lotfi-Kamran, Hamid Sarbazi-AzadISCA 2020 · 28 次引用

相关 Paper

  1. A Storage-Effective BTB Organization for ServersTruls Asheim, Boris Grot, Rakesh KumarHPCA 2023 · 12 次引用
  2. Skia: Exposing Shadow BranchesChrysanthos Pepi, Bhargav Reddy Godala, Krishnam Tibrewala, Gino A. Chacon 等ASPLOS 2025 · 2 次引用
  3. Branch Target Buffer OrganizationsArthur Perais, Rami SheikhMICRO 2023 · 8 次引用
  4. AVM-BTB: Adaptive and Virtualized Multi-level Branch Target BufferYunzhe Liu, Xinyu Li, Tingting Zhang, Tianyi Liu 等ISCA 2024 · 6 次引用
  5. Alternate Path μ-op Cache PrefetchingSawan Singh, Arthur Perais, Alexandra Jimborean, Alberto RosISCA 2024 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖