Lune

HPCA2023顶会

A Storage-Effective BTB Organization for Servers

Truls Asheim, Boris Grot, Rakesh Kumar

摘要

Many contemporary applications feature multimegabyte instruction footprints that overwhelm the capacity of branch target buffers (BTB) and instruction caches (L1-I), causing frequent front-end stalls that inevitably hurt performance. BTB capacity is crucial for performance as a sufficiently large BTB enables the front-end to accurately resolve the upcoming execution path and steer instruction fetch appropriately. Moreover, it also enables highly effective fetch-directed instruction prefetching that can eliminate a large portion L1-I misses. For these reasons, commercial processors allocate vast amounts of storage capacity to BTBs.

This work aims to reduce BTB storage requirements by optimizing the organization of BTB entries. Our key insight is that storing branch target offsets, instead of full or compressed targets, can drastically reduce BTB storage cost as the vast majority of dynamic branches have short offsets requiring just a handful of bits to encode. Based on this insight, we size the ways of a set associative BTB to hold different number of target offset bits such that each way stores offsets within a particular range. Doing so enables a dramatic reduction in storage for target addresses. Our final design, called BTB-X, uses an 8-way set associative BTB with differently sized ways that enables it to track about 2.24x more branches than a conventional BTB and 1.3x more branches than a storage-optimized state-of-the-art BTB organization, called PDede, with the same storage budget.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
  • PDede: Partitioned, Deduplicated, Delta Branch Target Buffer 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • Branch Target Buffer Organizations 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Branch Target Buffer Organizations 引用了 PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
  • Alternate Path μ-op Cache Prefetching 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Alternate Path μ-op Cache Prefetching 引用了 Branch Target Buffer Organizations
  • Warming Up a Cold Front-End with Ignite 引用了 Lukewarm serverless functions: characterization and optimization
  • Warming Up a Cold Front-End with Ignite 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Warming Up a Cold Front-End with Ignite 引用了 PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
  • Warming Up a Cold Front-End with Ignite 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • Weeding out Front-End Stalls with Uneven Block Size Instruction Cache 引用了 Lukewarm serverless functions: characterization and optimization
  • Weeding out Front-End Stalls with Uneven Block Size Instruction Cache 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Weeding out Front-End Stalls with Uneven Block Size Instruction Cache 引用了 PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
  • Weeding out Front-End Stalls with Uneven Block Size Instruction Cache 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • PDede: Partitioned, Deduplicated, Delta Branch Target Buffer 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Phantom: Exploiting Decoder-detectable MispredictionsJohannes Wikner, Daniël Trujillo, Kaveh RazaviMICRO 2023 · 19 次引用
  2. Warming Up a Cold Front-End with IgniteDavid Schall, Andreas Sandberg, Boris GrotMICRO 2023 · 11 次引用
  3. Branch Target Buffer OrganizationsArthur Perais, Rami SheikhMICRO 2023 · 8 次引用
  4. Alternate Path μ-op Cache PrefetchingSawan Singh, Arthur Perais, Alexandra Jimborean, Alberto RosISCA 2024 · 4 次引用
  5. Weeding out Front-End Stalls with Uneven Block Size Instruction CacheRoman Brunner, Rakesh KumarMICRO 2024 · 1 次引用

它引用的 Paper4

  1. I-SPY: Context-Driven Conditional Instruction Prefetching with CoalescingTanvir Ahmed Khan, Akshitha Sriraman, Joseph Devietti, Gilles Pokam 等MICRO 2020 · 37 次引用
  2. Lukewarm serverless functions: characterization and optimizationDavid Schall, Artemiy Margaritov, Dmitrii Ustiugov, Andreas Sandberg 等ISCA 2022 · 36 次引用
  3. Twig: Profile-Guided BTB Prefetching for Data Center ApplicationsTanvir Ahmed Khan, Nathan Brown, Akshitha Sriraman, Niranjan K. Soundararajan 等MICRO 2021 · 33 次引用
  4. PDede: Partitioned, Deduplicated, Delta Branch Target BufferNiranjan K. Soundararajan, Peter Braun, Tanvir Ahmed Khan, Baris Kasikci 等MICRO 2021 · 22 次引用

相关 Paper

  1. AVM-BTB: Adaptive and Virtualized Multi-level Branch Target BufferYunzhe Liu, Xinyu Li, Tingting Zhang, Tianyi Liu 等ISCA 2024 · 6 次引用
  2. Skia: Exposing Shadow BranchesChrysanthos Pepi, Bhargav Reddy Godala, Krishnam Tibrewala, Gino A. Chacon 等ASPLOS 2025 · 2 次引用
  3. Divide and Conquer Frontend BottleneckAli Ansari, Pejman Lotfi-Kamran, Hamid Sarbazi-AzadISCA 2020 · 28 次引用
  4. Thermometer: profile-guided btb replacement for data center applicationsShixin Song, Tanvir Ahmed Khan, Sara Mahdizadeh-Shahri, Akshitha Sriraman 等ISCA 2022 · 23 次引用
  5. PDIP: Priority Directed Instruction PrefetchingBhargav Reddy Godala, Sankara Prasad Ramesh, Gilles A. Pokam, Jared Stark 等ASPLOS 2024 · 17 次引用
黄昏的海面,两侧是细线勾勒的悬崖