基础设施 4.0 · 优秀 2026-10-06 · 论文

Trail: Scalable and Low-Cost Temporal TLB Prefetching via Page-Table-Embedded Deltas

TLB 时间局部性预取器把地址增量存在固定容量硬件表里,跟不上应用内存足迹增长;作者对 200 个翻译密集型负载特征化,发现 94% 以上增量装得进 18 个有符号位,于是把增量写进叶子页表项(PTE)空闲位,页表遍历时顺路取回,不引入额外内存访问,元数据容量随内存足迹自动扩展单核平均提速 5.7%四核 11.5%,硬件只加一张 64 项表,代码开在 CMU-SAFARI Virtuoso 仓库

打开原文回到归档

Trail: Scalable and Low-Cost Temporal TLB Prefetching via Page-Table-Embedded Deltas

  • ID: dc00ee45
  • 原文链接: https://arxiv.org/abs/2610.08483
  • PDF: https://arxiv.org/pdf/2610.08483
  • 作者: Konstantinos Kanellopoulos, Konstantinos Sgouras, Harsh Songara, Rahul Bera, Onur Mutlu
  • 日期: 2026-10-06
  • 更新: 2026-10-06
  • 分类: infra
  • arXiv 分类: cs.AR, cs.OS, cs.PF
  • 来源类型: paper
  • 标签: tlb, prefetching, page-table, memory-hierarchy, hardware
  • 质量评分: 4/5
  • 抓取时间: 2026-10-08T15:41:20Z

中文导读

TLB 时间局部性预取器把地址增量存在固定容量硬件表里,跟不上应用内存足迹增长;作者对 200 个翻译密集型负载特征化,发现 94% 以上增量装得进 18 个有符号位,于是把增量写进叶子页表项(PTE)空闲位,页表遍历时顺路取回,不引入额外内存访问,元数据容量随内存足迹自动扩展。单核平均提速 5.7%、四核 11.5%,硬件只加一张 64 项表,代码开在 CMU-SAFARI Virtuoso 仓库。

为什么值得关注

把元数据藏进已有结构、让容量跟着数据规模走,对任何受困于固定容量硬件表的设计都有参考价值。

关键信息

  • 论文标题:Trail: Scalable and Low-Cost Temporal TLB Prefetching via Page-Table-Embedded Deltas
  • 作者:Konstantinos Kanellopoulos, Konstantinos Sgouras, Harsh Songara, Rahul Bera, Onur Mutlu
  • arXiv:https://arxiv.org/abs/2610.08483
  • 发布时间:2026-10-06
  • arXiv 分类:cs.AR, cs.OS, cs.PF
  • 关联标签:tlb, prefetching, page-table, memory-hierarchy, hardware

English Abstract

Address translation is a major bottleneck in data-intensive workloads. TLB prefetching can hide translation latency, but existing spatial prefetchers struggle with irregular accesses, while temporal prefetchers store address deltas in fixed-capacity hardware that cannot scale with application memory footprints. Our characterization of 200 translation-intensive workloads reveals that each virtual memory region has a small, recurring set of deltas, and over 94% of deltas fit in 18 signed bits. We introduce Trail, a temporal TLB prefetcher that stores deltas in unused bits of leaf page table entries (PTEs). When a region triggers a page table walk, Trail identifies the region that last triggered a walk from the same instruction and records their delta in that source region's PTE. When a later walk fetches the source region's PTE cache block, Trail retrieves its deltas without additional memory accesses and prefetches translations for likely destination regions into the TLBs and cache hierarchy. Storing multiple deltas per PTE cache block improves coverage, while using existing PTE bits allows metadata capacity to scale with the application's memory footprint without additional metadata storage. Across 200 workloads and 100 multiprogrammed mixes, Trail improves single-core (four-core) performance by 5.7% (11.5%) on average over a baseline without TLB prefetching, outperforming the best prior standalone TLB prefetcher by 1.7% (2.5%). Trail requires only a 64-entry hardware table to track per-instruction page table walk history. Trail is freely available at https://github.com/CMU-SAFARI/Virtuoso/tree/trail-artifact-release.

English Summary

Temporal TLB prefetchers store address deltas in fixed-capacity hardware tables that cannot keep up with growing memory footprints. Characterizing 200 translation-intensive workloads, the authors find over 94% of deltas fit in 18 signed bits, so Trail embeds them in unused leaf-PTE bits, fetched during the page-table walk with no extra memory access, with metadata capacity scaling alongside the footprint. Single-core speedups average 5.7% (11.5% four-core) over the best standalone prefetcher, adding only one 64-entry table; code is open in CMU-SAFARI's Virtuoso repo.

Obsidian Notes

  • 内容由 opencli arxiv paper 2610.08483 -f json 拉取 arXiv 元数据与摘要生成(opencli-first 成功)。
  • 中文导读与价值判断锚定在论文摘要、作者、日期与分类信息上;未补充摘要之外的实验细节。