Transparent GPU Sharing in Container Clouds for Deep Learning Workloads
Bingyang Wu, Zili Zhang, Zhihao Bai, Xuanzhe Liu, Xin Jin
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
28 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving cites PipeSwitch: Fast Pipelined Context Switching for Deep Learning Applications
- Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications cites PipeSwitch: Fast Pipelined Context Switching for Deep Learning Applications
- Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications cites AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
- PipeSwitch: Fast Pipelined Context Switching for Deep Learning Applications cites SwapAdvisor: Pushing Deep Learning Beyond the GPU Memory Limit via Smart Swapping
- Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent cites PipeSwitch: Fast Pipelined Context Switching for Deep Learning Applications
- Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
- Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent cites AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
- Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning cites AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
- Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning cites Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications
- Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning cites Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent
- Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning cites AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
- Helix: Serving Large Language Models over Heterogeneous GPUs and Network via Max-Flow cites AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
Cited by top-tier papers28
- AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning ServingZhuohan Li, Lianmin Zheng, Yinmin Zhong, Vincent Liu et al.OSDI 2023 · 211 citations
- Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient DescentQizhen Weng, Lingyun Yang, Yinghao Yu, Wei Wang et al.USENIX ATC 2023 · 115 citations
- Orion: Interference-aware, Fine-grained GPU Sharing for ML ApplicationsFoteini Strati, Xianzhe Ma, Ana KlimovicEuroSys 2024 · 96 citations
- Prism: Cost-Efficient Multi-LLM Serving via GPU Memory BallooningShan Yu, Yifan Qiao, Mingyuan Ma, Yangmin Li et al.OSDI 2026 · 33 citations
- Helix: Serving Large Language Models over Heterogeneous GPUs and Network via Max-FlowYixuan Mei, Yonghao Zhuang, Xupeng Miao, Juncheng Yang et al.ASPLOS 2025 · 33 citations
Builds on12
- A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU ClustersYimin Jiang, Yibo Zhu, Chang Lan, Bairen Yi et al.OSDI 2020 · 390 citations
- Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning WorkloadsDeepak Narayanan, Keshav Santhanam, Fiodar Kazhamiaka, Amar Phanishayee et al.OSDI 2020 · 286 citations
- AntMan: Dynamic Scaling on GPU Clusters for Deep LearningWencong Xiao, Shiru Ren, Yong Li, Yang Zhang et al.OSDI 2020 · 260 citations
- SwapAdvisor: Pushing Deep Learning Beyond the GPU Memory Limit via Smart SwappingChien-Chin Huang, Gu Jin, Jinyang LiASPLOS 2020 · 161 citations
- PipeSwitch: Fast Pipelined Context Switching for Deep Learning ApplicationsZhihao Bai, Zhen Zhang, Yibo Zhu, Xin JinOSDI 2020 · 152 citations
Related papers
- KubeShare: A Framework to Manage GPUs as First-Class and Shared Resources in Container CloudTing-An Yeh, Hung-Hsin Chen, Jerry ChouHPDC 2020 · 56 citations
- Tally: Non-Intrusive Performance Isolation for Concurrent Deep Learning WorkloadsWei Zhao, Anand Jayarajan, Gennady PekhimenkoASPLOS 2025 · 4 citations
- An efficient and non-intrusive GPU scheduling framework for deep learning training systemsShaoqi Wang, Oscar J. Gonzalez, Xiaobo Zhou, Thomas Williams et al.SC 2020 · 21 citations
- LithOS: An Operating System for Efficient Machine Learning on GPUsPatrick H. Coppock, Brian Zhang, Eliot H. Solomon, Vasilis Kypriotis et al.SOSP 2025 · 4 citations
- Themis: Fair and Efficient GPU Cluster SchedulingKshiteej Mahajan, Arjun Balasubramanian, Arjun Singhvi, Shivaram Venkataraman et al.NSDI 2020 · 22 citations
