Lune

HPCA2023Top-tier venue

A Storage-Effective BTB Organization for Servers

Truls Asheim, Boris Grot, Rakesh Kumar

Abstract

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.

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.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Twig: Profile-Guided BTB Prefetching for Data Center Applications cites PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
  • PDede: Partitioned, Deduplicated, Delta Branch Target Buffer cites Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Twig: Profile-Guided BTB Prefetching for Data Center Applications cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • Branch Target Buffer Organizations cites Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Branch Target Buffer Organizations cites PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
  • Alternate Path μ-op Cache Prefetching cites Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Alternate Path μ-op Cache Prefetching cites Branch Target Buffer Organizations
  • Warming Up a Cold Front-End with Ignite cites Lukewarm serverless functions: characterization and optimization
  • Warming Up a Cold Front-End with Ignite cites Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Warming Up a Cold Front-End with Ignite cites PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
  • Warming Up a Cold Front-End with Ignite cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • Weeding out Front-End Stalls with Uneven Block Size Instruction Cache cites Lukewarm serverless functions: characterization and optimization
  • Weeding out Front-End Stalls with Uneven Block Size Instruction Cache cites Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Weeding out Front-End Stalls with Uneven Block Size Instruction Cache cites PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
  • Weeding out Front-End Stalls with Uneven Block Size Instruction Cache cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • PDede: Partitioned, Deduplicated, Delta Branch Target Buffer cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

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

Builds on4

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

Related papers

  1. AVM-BTB: Adaptive and Virtualized Multi-level Branch Target BufferYunzhe Liu, Xinyu Li, Tingting Zhang, Tianyi Liu et al.ISCA 2024 · 6 citations
  2. Skia: Exposing Shadow BranchesChrysanthos Pepi, Bhargav Reddy Godala, Krishnam Tibrewala, Gino A. Chacon et al.ASPLOS 2025 · 2 citations
  3. Divide and Conquer Frontend BottleneckAli Ansari, Pejman Lotfi-Kamran, Hamid Sarbazi-AzadISCA 2020 · 28 citations
  4. Thermometer: profile-guided btb replacement for data center applicationsShixin Song, Tanvir Ahmed Khan, Sara Mahdizadeh-Shahri, Akshitha Sriraman et al.ISCA 2022 · 23 citations
  5. PDIP: Priority Directed Instruction PrefetchingBhargav Reddy Godala, Sankara Prasad Ramesh, Gilles A. Pokam, Jared Stark et al.ASPLOS 2024 · 17 citations
Dusk over the sea between two cliffs drawn in fine vertical lines