[Paper Review] Scheduling Splittable Jobs on Configurable Machines
This paper proposes MIG-serving, a system that optimizes Deep Neural Network (DNN) inference on NVIDIA A100 GPUs using Multi-Instance GPU (MIG) partitioning. It combines heuristic, genetic, and Monte Carlo Tree Search algorithms to generate cost-efficient GPU configurations that meet service-level objectives (SLOs), reducing GPU usage by up to 40% compared to using A100s as monolithic units.
Motivated by modern architectures allowing for the partitioning of a GPU into hardware separated instances, we initiate the study of scheduling splittable jobs on configurable machines. We consider machines that can be configured into smaller instances, which we call blocks, in multiple ways, each of which is referred to as a configuration. We introduce the Configurable Machine Scheduling (cms) problem, where we are given n jobs and a set C of configurations. A schedule consists of a set of machines, each assigned some configuration in C with each block in the configuration assigned to process one job. The amount of a job’s demand that is satisfied by a block is given by an arbitrary function of the job and block. The objective is to construct a schedule using as few machines as possible. We provide a tight logarithmic factor approximation algorithm for this problem in the general setting, a factor (3 + ε) approximation algorithm for arbitrary ε > 0 when there are O(1) input configurations, and a polynomial time approximation scheme when both the number and size of configurations are O(1). Finally, we utilize a technique for finding conic integer combinations in fixed dimension to develop an optimal polynomial time algorithm in the case with O(1) jobs, O(1) blocks, and every configuration up to a given size.
Motivation & Objective
- To address the challenge of efficiently scheduling DNN inference workloads on MIG-enabled A100 GPUs, which require non-trivial partitioning decisions due to hardware constraints.
- To define and formalize the Reconfigurable Machine Scheduling Problem (RMS), capturing non-linear performance scaling, restricted partitioning rules, and partial reconfiguration capabilities.
- To design a system that minimizes the number of GPUs required to meet SLOs (throughput and latency) for multiple DNN models running concurrently.
- To ensure smooth, transparent deployment transitions without service interruption during configuration updates.
- To evaluate the system’s performance and efficiency in real-world Kubernetes-based clusters, comparing it to baseline configurations using whole A100s.
Proposed method
- Proposes a two-phase optimization pipeline: a fast greedy heuristic for initial deployment and a slow, iterative Genetic Algorithm (GA) to refine and improve the solution.
- Integrates Monte Carlo Tree Search (MCTS) as a high-precision search component to explore complex configuration spaces for optimal GPU partitioning.
- Employs a custom Genetic Algorithm that evolves deployment configurations by combining parent solutions through crossover and mutation, guided by fitness functions based on SLO satisfaction and GPU utilization.
- Uses a novel 'exchange-and-compact' algorithm in the controller module to enable transparent, non-disruptive transitions between deployments.
- Implements the system on Kubernetes to manage real-time scheduling and orchestration of MIG instances across a cluster.
- Models DNN performance per instance size using empirical benchmarks from 49 models across PyTorch and TensorFlow Hub, capturing non-linear throughput scaling.
Experimental results
Research questions
- RQ1How can we efficiently schedule heterogeneous DNN workloads on MIG-enabled A100 GPUs to minimize GPU usage while meeting SLOs?
- RQ2What are the key constraints and characteristics of MIG partitioning that make traditional scheduling algorithms inapplicable?
- RQ3Can a hybrid algorithmic pipeline combining heuristics, GA, and MCTS outperform baseline approaches in terms of cost-efficiency and configuration quality?
- RQ4How can deployment transitions be made transparent to end users during runtime reconfiguration?
- RQ5To what extent can MIG-serving reduce GPU footprint compared to using A100s as monolithic units?
Key findings
- MIG-serving reduces GPU usage by up to 40% compared to using A100 GPUs as a whole (A100-7/7), achieving the highest cost-efficiency across all evaluated models.
- The system successfully satisfies all SLOs for 49 diverse DNN models (including ResNet-50, BERT-base, and BERT-large) when deployed across MIG partitions.
- The deployment transition between two real-world workloads is completed in under 30 minutes with no observable service interruption.
- The performance of DNN models on MIG instances does not scale linearly with resource allocation, validating the need for instance-size-aware scheduling.
- The Reconfigurable Machine Scheduling Problem (RMS) is NP-hard and cannot be solved by traditional resource allocation heuristics due to restricted partitioning rules and non-linear performance curves.
- The combination of fast heuristic and slow MCTS-based GA significantly improves deployment quality over time, with the slow algorithm achieving near-optimal configurations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.