Lune

NSDI2023顶会

Transparent GPU Sharing in Container Clouds for Deep Learning Workloads

Bingyang Wu, Zili Zhang, Zhihao Bai, Xuanzhe Liu, Xin Jin

摘要

Containers are widely used for resource management in datacenters. A common practice to support deep learning (DL) training in container clouds is to statically bind GPUs to containers in entirety. Due to the diverse resource demands of DL jobs in production, a significant number of GPUs are underutilized. As a result, GPU clusters have low GPU utilization, which leads to a long job completion time because of queueing.

We present TGS (Transparent GPU Sharing), a system that provides transparent GPU sharing to DL training in container clouds. In stark contrast to recent application-layer solutions for GPU sharing, TGS operates at the OS layer beneath containers. Transparency allows users to use any software to develop models and run jobs in their containers. TGS leverages adaptive rate control and transparent unified memory to simultaneously achieve high GPU utilization and performance isolation. It ensures that production jobs are not greatly affected by opportunistic jobs on shared GPUs. We have built TGS and integrated it with Docker and Kubernetes. Experiments show that (i) TGS has little impact on the throughput of production jobs; (ii) TGS provides similar throughput for opportunistic jobs as the state-of-the-art application-layer solution AntMan, and improves their throughput by up to 15× compared to the existing OS-layer solution MPS.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 PipeSwitch: Fast Pipelined Context Switching for Deep Learning Applications
  • Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 PipeSwitch: Fast Pipelined Context Switching for Deep Learning Applications
  • Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
  • PipeSwitch: Fast Pipelined Context Switching for Deep Learning Applications 引用了 SwapAdvisor: Pushing Deep Learning Beyond the GPU Memory Limit via Smart Swapping
  • Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent 引用了 PipeSwitch: Fast Pipelined Context Switching for Deep Learning Applications
  • Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent 引用了 Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent 引用了 AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
  • Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning 引用了 Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications
  • Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning 引用了 Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent
  • Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning 引用了 AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
  • Helix: Serving Large Language Models over Heterogeneous GPUs and Network via Max-Flow 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper28

  1. AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning ServingZhuohan Li, Lianmin Zheng, Yinmin Zhong, Vincent Liu 等OSDI 2023 · 211 次引用
  2. Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient DescentQizhen Weng, Lingyun Yang, Yinghao Yu, Wei Wang 等USENIX ATC 2023 · 115 次引用
  3. Orion: Interference-aware, Fine-grained GPU Sharing for ML ApplicationsFoteini Strati, Xianzhe Ma, Ana KlimovicEuroSys 2024 · 96 次引用
  4. Prism: Cost-Efficient Multi-LLM Serving via GPU Memory BallooningShan Yu, Yifan Qiao, Mingyuan Ma, Yangmin Li 等OSDI 2026 · 33 次引用
  5. Helix: Serving Large Language Models over Heterogeneous GPUs and Network via Max-FlowYixuan Mei, Yonghao Zhuang, Xupeng Miao, Juncheng Yang 等ASPLOS 2025 · 33 次引用

它引用的 Paper12

  1. A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU ClustersYimin Jiang, Yibo Zhu, Chang Lan, Bairen Yi 等OSDI 2020 · 390 次引用
  2. Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning WorkloadsDeepak Narayanan, Keshav Santhanam, Fiodar Kazhamiaka, Amar Phanishayee 等OSDI 2020 · 286 次引用
  3. AntMan: Dynamic Scaling on GPU Clusters for Deep LearningWencong Xiao, Shiru Ren, Yong Li, Yang Zhang 等OSDI 2020 · 260 次引用
  4. SwapAdvisor: Pushing Deep Learning Beyond the GPU Memory Limit via Smart SwappingChien-Chin Huang, Gu Jin, Jinyang LiASPLOS 2020 · 161 次引用
  5. PipeSwitch: Fast Pipelined Context Switching for Deep Learning ApplicationsZhihao Bai, Zhen Zhang, Yibo Zhu, Xin JinOSDI 2020 · 152 次引用

相关 Paper

  1. KubeShare: A Framework to Manage GPUs as First-Class and Shared Resources in Container CloudTing-An Yeh, Hung-Hsin Chen, Jerry ChouHPDC 2020 · 56 次引用
  2. Tally: Non-Intrusive Performance Isolation for Concurrent Deep Learning WorkloadsWei Zhao, Anand Jayarajan, Gennady PekhimenkoASPLOS 2025 · 4 次引用
  3. An efficient and non-intrusive GPU scheduling framework for deep learning training systemsShaoqi Wang, Oscar J. Gonzalez, Xiaobo Zhou, Thomas Williams 等SC 2020 · 21 次引用
  4. LithOS: An Operating System for Efficient Machine Learning on GPUsPatrick H. Coppock, Brian Zhang, Eliot H. Solomon, Vasilis Kypriotis 等SOSP 2025 · 4 次引用
  5. Themis: Fair and Efficient GPU Cluster SchedulingKshiteej Mahajan, Arjun Balasubramanian, Arjun Singhvi, Shivaram Venkataraman 等NSDI 2020 · 22 次引用
黄昏的海面,两侧是细线勾勒的悬崖