Lune

OSDI2022顶会

Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences

Mingcong Han, Hanze Zhang, Rong Chen, Haibo Chen

摘要

Many intelligent applications like autonomous driving and virtual reality require running both latency-critical and besteffort DNN inference tasks to achieve both real time and work conserving on GPU. However, commodity GPUs lack efficient preemptive scheduling support and state-of-the-art approaches either have to monopolize GPU or let the realtime tasks to wait for best-effort tasks to complete, which causes low utilization or high latency, or both.

This paper presents REEF, the first GPU-accelerated DNN inference serving system that enables microsecond-scale kernel preemption and controlled concurrent execution in GPU scheduling. REEF is novel in two ways. First, based on the observation that DNN inference kernels as mostly idempotent, REEF devises a reset-based preemption scheme that launches a real-time kernel on the GPU by proactively killing and restoring best-effort kernels at microsecond-scale. Second, since DNN inference kernels have varied parallelism and predictable latency, REEF proposes a dynamic kernel padding mechanism that dynamically pads the real-time kernel with appropriate best-effort kernels to fully utilize the GPU with negligible overhead. Evaluation using a new DNN inference serving benchmark (DISB) with diverse workloads and a real-world trace on an AMD GPU shows that REEF only incurs less than 2% overhead in the end-to-end latency for real-time tasks but increases the overall throughput by up to 7.7×, compared to dedicating the GPU to real-time tasks. To demonstrate the feasibility of our approaches on closedsource GPUs, we further ported and evaluated a restricted version of REEF on an NVIDIA GPU with a reduction of the preemption latency by up to 12.3× (from 6.3×).

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 PipeSwitch: Fast Pipelined Context Switching for Deep Learning Applications
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 INFaaS: Automated Model-less Inference Serving
  • Llumnix: Dynamic Scheduling for Large Language Model Serving 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • Llumnix: Dynamic Scheduling for Large Language Model Serving 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Llumnix: Dynamic Scheduling for Large Language Model Serving 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Rammer: Enabling Holistic Deep Learning Compiler Optimizations with rTasks
  • DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • INFaaS: Automated Model-less Inference Serving 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper53

  1. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
  2. DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model ServingYinmin Zhong, Shengyu Liu, Junda Chen, Jianbo Hu 等OSDI 2024 · 646 次引用
  3. InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache ManagementWonbeom Lee, Jungi Lee, Junghwan Seo, Jaewoong SimOSDI 2024 · 248 次引用
  4. AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning ServingZhuohan Li, Lianmin Zheng, Yinmin Zhong, Vincent Liu 等OSDI 2023 · 211 次引用
  5. Llumnix: Dynamic Scheduling for Large Language Model ServingBiao Sun, Ziming Huang, Hanyu Zhao, Wencong Xiao 等OSDI 2024 · 189 次引用

它引用的 Paper9

  1. Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu 等OSDI 2020 · 551 次引用
  2. Serving DNNs like Clockwork: Performance Predictability from the Bottom UpArpan Gujarati, Reza Karimi, Safya Alzayat, Wei Hao 等OSDI 2020 · 392 次引用
  3. INFaaS: Automated Model-less Inference ServingFrancisco Romero, Qian Li, Neeraja J. Yadwadkar, Christos KozyrakisUSENIX ATC 2021 · 325 次引用
  4. Rammer: Enabling Holistic Deep Learning Compiler Optimizations with rTasksLingxiao Ma, Zhiqiang Xie, Zhi Yang, Jilong Xue 等OSDI 2020 · 192 次引用
  5. PipeSwitch: Fast Pipelined Context Switching for Deep Learning ApplicationsZhihao Bai, Zhen Zhang, Yibo Zhu, Xin JinOSDI 2020 · 152 次引用

相关 Paper

  1. RTInfer: Real-Time Inference of Multiple DNNs on Edge GPUsRenjie Li, Tong Sun, Yi Gao, Wei DongICML 2026
  2. PREMA: A Predictive Multi-Task Scheduling Algorithm For Preemptible Neural Processing UnitsYujeong Choi, Minsoo RhuHPCA 2020 · 150 次引用
  3. ElasticRoom: Multi-Tenant DNN Inference Engine via Co-design with Resource-constrained Compilation and Strong Priority SchedulingLixian Ma, Haoruo Chen, En Shao, Leping Wang 等HPDC 2024 · 4 次引用
  4. Harpagon: Minimizing DNN Serving Cost via Efficient Dispatching, Scheduling and SplittingZhixin Zhao, Yitao Hu, Ziqi Gong, Guotao Yang 等INFOCOM 2025 · 2 次引用
  5. DERCA: DetERministic Cycle-Level Accelerator on Reconfigurable Platforms in DNN-Enabled Real-Time Safety-Critical SystemsShixin Ji, Zhuoping Yang, Xingzhen Chen, Wei Zhang 等RTSS 2025 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖