Salus: Fine-Grained GPU Sharing Primitives for Deep Learning Applications

By Peifeng Yu, Mosharaf Chowdhury. 2019

95 citations recorded by the source corpus.

GPU computing is becoming increasingly more popular with the proliferation of deep learning (DL) applications. However, unlike traditional resources such as CPU or the network, modern GPUs do not natively support fine-grained sharing primitives. Consequently, implementing common policies such as time sharing and preemption are expensive. Worse, when a DL application cannot completely use a GPU's resources, the GPU cannot be efficiently shared between multiple applications, leading to GPU underutilization. We present Salus to enable two GPU sharing primitives: fast job switching and memory sharing, in order to achieve fine-grained GPU sharing among multiple DL applications. Salus implements an efficient, consolidated execution service that exposes the GPU to different DL applications, and enforces fine-grained sharing by performing iteration scheduling and addressing associated memory management issues. We show that these primitives can then be used to implement flexible sharing policies such as fairness, prioritization, and packing for various use cases. Our integration of Salus with TensorFlow and evaluation on popular DL jobs show that Salus can improve the average completion time of DL training jobs by $3.19\times$, GPU utilization for hyper-parameter tuning by $2.38\times$, and GPU utilization of DL inference applications by $42\times$ over not sharing the GPU and $7\times$ over NVIDIA MPS with small overhead.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Hardware and Architecture, Efficiency & Compression, ML Systems & Hardware

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Carole-Jean Wu
  2. Bilge Acun
  3. Michael G. Rabbat
  4. Gangmuk Lim
  5. Chien-chin Huang
  6. Youngjin Kwon
  7. Kim M. Hazelwood
  8. Kenan Jiang

In Computer Vision and Pattern Recognition

  1. Carole-Jean Wu
  2. Michael G. Rabbat
  3. Gangmuk Lim
  4. Chien-chin Huang
  5. Youngjin Kwon
  6. Kim M. Hazelwood
  7. Kenan Jiang
  8. Bilge Acun

In Hardware and Architecture

  1. Kiwan Maeng
  2. Chien-chin Huang
  3. Michael G. Rabbat
  4. Kim M. Hazelwood
  5. Gu Jin
  6. Guozhang Jin
  7. Zhen Zhang
  8. Xin Jin

In Efficiency & Compression

  1. Chien-chin Huang
  2. Michael G. Rabbat
  3. Zhen Zhang
  4. Xin Jin
  5. Yibo Zhu
  6. Ion Stoica
  7. Udit Gupta
  8. Carole-Jean Wu

In ML Systems & Hardware

  1. Carole-Jean Wu
  2. Bilge Acun
  3. Michael G. Rabbat
  4. Kim M. Hazelwood
  5. Zhen Zhang
  6. Xin Jin
  7. Yibo Zhu
  8. Ion Stoica

Citations in the corpus