Lune

USENIX ATC2024顶会

FetchBPF: Customizable Prefetching Policies in Linux with eBPF

Xuechun Cao, Shaurya Patel, Soo-Yee Lim, Xueyuan Han, Thomas Pasquier

摘要

Monolithic operating systems are infamously complex. Linux in particular has a tendency to intermingle policy and mechanisms in a manner that hinders modularity. This is especially problematic when developers aim to finely optimize performance, since it is often the case that a default policy in Linux, while performing well on average, cannot achieve the optimal performance in all circumstances. However, developing and maintaining a bespoke kernel to satisfy the need of a specific application is usually an unrealistic endeavor due to the high software engineering cost. Therefore, we need a mechanism to easily customize kernel policies and its behavior. In this paper, we design a framework called FetchBPF that addresses this problem in the context of memory prefetching. FetchBPF extends the widely used eBPF framework to allow developers to easily express, develop, and deploy prefetching policies without modifying the kernel codebase. We implement various memory prefetching policies from the literature and demonstrate that our deployment model incurs negligible overhead as compared to the equivalent native kernel implementation.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Accelerating Model Loading in LLM Inference by Programmable Page Cache 引用了 PageFlex: Flexible and Efficient User-space Delegation of Linux Paging Policies with eBPF
  • How Soon is Now? Preloading Images for Virtual Disks with ThinkAhead 引用了 Effectively Prefetching Remote Memory with Leap
  • Virtualizing eBPF with Late-Binding 引用了 PageFlex: Flexible and Efficient User-space Delegation of Linux Paging Policies with eBPF
  • uCache: A Customizable Unikernel-based IO Cache 引用了 PageFlex: Flexible and Efficient User-space Delegation of Linux Paging Policies with eBPF
  • uCache: A Customizable Unikernel-based IO Cache 引用了 AIFM: High-Performance, Application-Integrated Far Memory
  • PageFlex: Flexible and Efficient User-space Delegation of Linux Paging Policies with eBPF 引用了 Effectively Prefetching Remote Memory with Leap
  • PageFlex: Flexible and Efficient User-space Delegation of Linux Paging Policies with eBPF 引用了 ghOSt: Fast & Flexible User-Space Delegation of Linux Scheduling
  • PageFlex: Flexible and Efficient User-space Delegation of Linux Paging Policies with eBPF 引用了 Can far memory improve job throughput?
  • PageFlex: Flexible and Efficient User-space Delegation of Linux Paging Policies with eBPF 引用了 AIFM: High-Performance, Application-Integrated Far Memory
  • AIFM: High-Performance, Application-Integrated Far Memory 引用了 Can far memory improve job throughput?
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. PageFlex: Flexible and Efficient User-space Delegation of Linux Paging Policies with eBPFAnil Yelam, Kan Wu, Zhiyuan Guo, Suli Yang 等USENIX ATC 2025 · 15 次引用
  2. How Soon is Now? Preloading Images for Virtual Disks with ThinkAheadXinqi Chen, Yu Zhang, Erci Xu, Changhong Wang 等FAST 2026 · 1 次引用
  3. uCache: A Customizable Unikernel-based IO CacheIlya Meignan-Masson, Masanori Misono, Viktor Leis, Pramod BhatotiaFAST 2026 · 1 次引用
  4. Accelerating Model Loading in LLM Inference by Programmable Page CacheYubo Liu, Hongbo Li, Xiaojia Huang, Yongfeng Wang 等FAST 2026
  5. Virtualizing eBPF with Late-BindingJing Zhang, Xiaguannan Song, Dong Du, Yubin Xia 等OSDI 2026

它引用的 Paper9

  1. AIFM: High-Performance, Application-Integrated Far MemoryZhenyuan Ruan, Malte Schwarzkopf, Marcos K. Aguilera, Adam BelayOSDI 2020 · 224 次引用
  2. Effectively Prefetching Remote Memory with LeapHasan Al Maruf, Mosharaf ChowdhuryUSENIX ATC 2020 · 186 次引用
  3. Can far memory improve job throughput?Emmanuel Amaro, Christopher Branner-Augmon, Zhihong Luo, Amy Ousterhout 等EuroSys 2020 · 163 次引用
  4. Classifying Memory Access Patterns for PrefetchingGrant Ayers, Heiner Litz, Christos Kozyrakis, Parthasarathy RanganathanASPLOS 2020 · 83 次引用
  5. ghOSt: Fast & Flexible User-Space Delegation of Linux SchedulingJack Tigar Humphries, Neel Natu, Ashwin Chaugule, Ofir Weisse 等SOSP 2021 · 60 次引用

相关 Paper

  1. cache_ext: Customizing the Page Cache with eBPFTal Zussman, Ioannis Zarkadas, Jeremy Carin, Andrew Cheng 等SOSP 2025 · 8 次引用
  2. CrossPrefetch: Accelerating I/O Prefetching for Modern StorageShaleen Garg, Jian Zhang, Rekha Pitchumani, Manish Parashar 等ASPLOS 2024 · 9 次引用
  3. BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack ProcessingYoann Ghigoff, Julien Sopena, Kahina Lazri, Antoine Blin 等NSDI 2021 · 79 次引用
  4. hXDP: Efficient Software Packet Processing on FPGA NICsMarco Spaziani Brunella, Giacomo Belocchi, Marco Bonola, Salvatore Pontarelli 等OSDI 2020 · 25 次引用
  5. Don't Stall Me Now: Hiding Memory Latency in eBPFFarbod Shahinfar, Marco Molè, Aurojit Panda, Gianni AntichiSIGCOMM 2026
黄昏的海面,两侧是细线勾勒的悬崖