Lune

OSDI2021顶会

Rearchitecting Linux Storage Stack for µs Latency and High Throughput

Jaehyun Hwang, Midhul Vuppalapati, Simon Peter, Rachit Agarwal

摘要

This paper demonstrates that it is possible to achieve µs-scale latency using Linux kernel storage stack, even when tens of latency-sensitive applications compete for host resources with throughput-bound applications that perform read/write operations at throughput close to hardware capacity. Furthermore, such performance can be achieved without any modification in applications, network hardware, kernel CPU schedulers and/or kernel network stack.

We demonstrate the above using design, implementation and evaluation of blk-switch, a new Linux kernel storage stack architecture. The key insight in blk-switch is that Linux's multi-queue storage design, along with multi-queue network and storage hardware, makes the storage stack conceptually similar to a network switch. blk-switch uses this insight to adapt techniques from the computer networking literature (e.g., multiple egress queues, prioritized processing of individual requests, load balancing, and switch scheduling) to the Linux kernel storage stack.

blk-switch evaluation over a variety of scenarios shows that it consistently achieves µs-scale average and tail latency (at both 99 th and 99.9 th percentiles), while allowing applications to near-perfectly utilize the hardware capacity.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Karma: Resource Allocation for Dynamic Demands 引用了 Building An Elastic Query Engine on Disaggregated Storage
  • TCP ≈ RDMA: CPU-efficient Remote Storage Access with i10 引用了 Building An Elastic Query Engine on Disaggregated Storage
  • Efficient Scheduling Policies for Microsecond-Scale Tasks 引用了 Caladan: Mitigating Interference at Microsecond Timescales
  • XRP: In-Kernel Storage Functions with eBPF 引用了 Caladan: Mitigating Interference at Microsecond Timescales
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper25

  1. Empowering Azure Storage with RDMAWei Bai, Shanim Sainul Abdeen, Ankit Agrawal, Krishan Kumar Attre 等NSDI 2023 · 117 次引用
  2. XRP: In-Kernel Storage Functions with eBPFYuhong Zhong, Haoyu Li, Yu Jian Wu, Ioannis Zarkadas 等OSDI 2022 · 100 次引用
  3. Efficient Scheduling Policies for Microsecond-Scale TasksSarah McClure, Amy Ousterhout, Scott Shenker, Sylvia RatnasamyNSDI 2022 · 43 次引用
  4. ODINFS: Scaling PM Performance with Opportunistic DelegationDiyu Zhou, Yuchen Qian, Vishal Gupta, Zhifei Yang 等OSDI 2022 · 29 次引用
  5. Karma: Resource Allocation for Dynamic DemandsMidhul Vuppalapati, Giannis Fikioris, Rachit Agarwal, Asaf Cidon 等OSDI 2023 · 22 次引用

它引用的 Paper3

  1. Caladan: Mitigating Interference at Microsecond TimescalesJoshua Fried, Zhenyuan Ruan, Amy Ousterhout, Adam BelayOSDI 2020 · 213 次引用
  2. Building An Elastic Query Engine on Disaggregated StorageMidhul Vuppalapati, Justin Miron, Rachit Agarwal, Dan Truong 等NSDI 2020 · 142 次引用
  3. TCP ≈ RDMA: CPU-efficient Remote Storage Access with i10Jaehyun Hwang, Qizhe Cai, Ao Tang, Rachit AgarwalNSDI 2020 · 70 次引用

相关 Paper

  1. SKQ: Event Scheduling for Optimizing Tail Latency in a Traditional OS KernelSiyao Zhao, Haoyu Gu, Ali José MashtizadehUSENIX ATC 2021 · 11 次引用
  2. Towards μs tail latency and terabit ethernet: disaggregating the host network stackQizhe Cai, Midhul Vuppalapati, Jaehyun Hwang, Christos Kozyrakis 等SIGCOMM 2022 · 20 次引用
  3. Opening Up Kernel-Bypass TCP StacksShinichi Awamoto, Michio HondaUSENIX ATC 2025 · 5 次引用
  4. Understanding Host Network Stack LatencyTianyu Zuo, Jaehyun Hwang, Ao Tang, Rachit Agarwal 等SIGCOMM 2026
  5. λ-IO: A Unified IO Stack for Computational StorageZhe Yang, Youyou Lu, Xiaojian Liao, Youmin Chen 等FAST 2023 · 54 次引用
黄昏的海面,两侧是细线勾勒的悬崖