Lune

HPCA2023顶会

SnakeByte: A TLB Design with Adaptive and Recursive Page Merging in GPUs

Jiwon Lee, Ju Min Lee, Yunho Oh, William J. Song, Won Woo Ro

摘要

This paper presents an address translation scheme in GPUs named SnakeByte that can dynamically manage variable-sized pages and maximize TLB reach by recursively merging contiguous pages. Memory virtualization has become an integral part of GPUs to enhance programmability and memory management efficiency. However, conventional memory virtualization methods using multi-level page tables and caching them in TLBs are insufficient to provide GPUs with enough address translation coverage for the massive volume of data. SnakeByte implements a hardware-based address translation mechanism that recursively merges contiguous pages into larger page groups and effectively extends TLB coverage. SnakeByte allows multiple equal-sized pages coalescing into a page table entry (PTE). It records the validity of pages to be merged using a bit vector, and few bits are annexed to indicate the size of merged pages. If all pages covered by the PTE are allocated with contiguity, the PTE is promoted to be further coalesced into a larger page group. The recursive coalescence of contiguous pages enables SnakeByte to handle variable-sized page groups with the exponentially increasing TLB reach. Associated with a contiguity-aware memory allocator, SnakeByte can consolidate vastly contiguous address spaces into a few TLB entries. Consequently, it significantly reduces TLB misses for large working sets in GPUs and achieves substantial performance improvements. Experiment results show that SnakeByte decreases the number of page table walks by 6.5x and enhances the GPU performance by 2.0x on average over the conventional paging scheme.

问 Lune

几分钟看清这篇 Paper 的位置,不用再花一下午。

Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

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

可以从这些问题问起

Lune 可以查阅

摘要 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page Placement 引用了 IDYLL: Enhancing Page Translation in Multi-GPUs via Light Weight PTE Invalidations
  • STAR: Sub-Entry Sharing-Aware TLB for Multi-Instance GPU 引用了 GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page Placement
  • STAR: Sub-Entry Sharing-Aware TLB for Multi-Instance GPU 引用了 IDYLL: Enhancing Page Translation in Multi-GPUs via Light Weight PTE Invalidations
  • A Case for Speculative Address Translation with Rapid Validation for GPUs 引用了 Barre Chord: Efficient Virtual Memory Translation for Multi-Chip-Module GPUs
  • A Case for Speculative Address Translation with Rapid Validation for GPUs 引用了 IDYLL: Enhancing Page Translation in Multi-GPUs via Light Weight PTE Invalidations
  • Barre Chord: Efficient Virtual Memory Translation for Multi-Chip-Module GPUs 引用了 IDYLL: Enhancing Page Translation in Multi-GPUs via Light Weight PTE Invalidations
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Barre Chord: Efficient Virtual Memory Translation for Multi-Chip-Module GPUsYuan Feng, Seonjin Na, Hyesoon Kim, Hyeran JeonISCA 2024 · 20 次引用
  2. GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page PlacementYueqi Wang, Bingyao Li, Aamer Jaleel, Jun Yang 等HPCA 2024 · 19 次引用
  3. IDYLL: Enhancing Page Translation in Multi-GPUs via Light Weight PTE InvalidationsBingyao Li, Yanan Guo, Yueqi Wang, Aamer Jaleel 等MICRO 2023 · 16 次引用
  4. A Case for Speculative Address Translation with Rapid Validation for GPUsJunhyeok Park, Osang Kwon, Yongho Lee, Seongwook Kim 等MICRO 2024 · 13 次引用
  5. STAR: Sub-Entry Sharing-Aware TLB for Multi-Instance GPUBingyao Li, Yueqi Wang, Tianyu Wang, Lieven Eeckhout 等MICRO 2024 · 11 次引用

相关 Paper

  1. LATPC: Accelerating GPU Address Translation Using Locality-Aware TLB Prefetching and MSHR CompressionYeonan Ha, Jiho Park, Hanna Cha, Jiwon Lee 等MICRO 2025 · 2 次引用
  2. Marching Page Walks: Batching and Concurrent Page Table Walks for Enhancing GPU ThroughputJiwon Lee, Gun Ko, Myung Kuk Yoon, Ipoom Jeong 等HPCA 2025 · 4 次引用
  3. SoftWalker: Supporting Software Page Table Walk for Irregular GPU ApplicationsSungbin Jang, Junhyeok Park, Yongho Lee, Osang Kwon 等MICRO 2025 · 4 次引用
  4. Snake: A Variable-length Chain-based Prefetching for GPUsSaba Mostofi, Hajar Falahati, Negin Mahani, Pejman Lotfi-Kamran 等MICRO 2023 · 11 次引用
  5. Leveraging Chiplet-Locality for Efficient Memory Mapping in Multi-Chip Module GPUsJunhyeok Park, Sungbin Jang, Osang Kwon, Yongho Lee 等MICRO 2025 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖