The Ohio State University
Efficient Processing of Machine Learning Workloads on Data Center Servers
Abstract
dc:descriptionData centers often need to run lots of Machine Learning (ML) applications with stringent Service-Level Objective (SLO) requirements, such as inference latency. With bursty Machine Learning workloads, power capping is essential for high-density servers to safely oversubscribe the power infrastructure in a data center without upgrading expensive facilities. However, power capping is commonly accomplished by dynamically lowering the server processors’ frequency levels, which can result in degraded ML application performance. Inference workload performance, such as recognition accuracy, must be optimized within a specific latency constraint, which demands high server power. Thus, the first challenge is providing SLO guarantees for inference requests on data center servers where power capping must be strictly enforced. In addition, data centers prefer to over-provision the number of servers used for inference processing and isolate them from other servers that run ML training, despite both using GPUs extensively, to minimize possible competition of computing resources. Those practices result in low GPU utilization and thus a high capital expense. Hence, the second challenge is to safely co-locate training and inference jobs on the same GPUs and servers with explicit SLO guarantees to improve GPU utilization and reduce capital expenses.In order to achieve the best inference accuracy under the desired latency and server power constraints, this dissertation proposes OptimML, a Multi-Input-Multi-Output (MIMO) control framework that jointly controls both inference latency and server power consumption, by flexibly adjusting the Machine Learning model size (and so its required computing resources) when server frequency needs to be lowered for power capping. Our results on a hardware testbed with widely adopted ML frameworks (including PyTorch, TensorFlow, and MXNet) show that OptimML achieves higher inference accuracy compared with several well-designed baselines while respecting both latency and power constraints. Furthermore, an adaptive control scheme with online model switching and estimation is designed to achieve analytic assurance of control accuracy and system stability, despite significant workload/hardware variations. To improve GPU utilization and reduce capital expenses, this dissertation proposes GPUColo, a two-tier co-location solution that provides explicit SLO guarantees. In the outer tier, we exploit Multi-Process Service (MPS) to dynamically adjust the percentage of active GPU threads allocated to spatially co-located inference and training processes, such that the inference latency can be guaranteed. Because MPS can introduce considerable overheads, and so cannot be conducted at a fine time granularity, we design an inner tier that puts training jobs into periodic sleep so that inference jobs can quickly get more GPU resources for more prompt latency control. Our hardware testbed results show that GPUColo can precisely control the inference latency to the desired SLO while maximizing the throughput of the training jobs co-located on the same GPUs. Our large-scale simulation with a 57-day real-world data center trace (6500 GPUs) also demonstrates that GPUColo enables latency-guaranteed inference and training co-location. Consequently, it allows 74.9% of GPUs to be saved for a much lower capital expense.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Electrical and Computer Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Chen, Guoyu
- Advisor dc:contributor.advisor
-
- Wang, Xiaorui
Subjects
dc:subject × 2Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu1712962375586856