Performance Optimization of Machine Learning Inference under Latency and Server Power Constraints
Guoyu Chen, Xiaorui Wang · 2022 IEEE 42nd International Conference on Distributed Computing Systems (ICDCS) · 2022
Power capping is an important technique for high-density servers to safely oversubscribe the power infrastructure in a data center. However, power capping is commonly accomplished by dynamically lowering the server processors’ frequency levels, which can result in degraded application performance. For servers that run important machine learning (ML) applications with Service-Level Objective (SLO) requirements, inference performance such as recognition accuracy must be optimized within a certain latency constraint, which demands high server performance. In order to achieve the best inference accuracy under the desired latency and server power constraints, this paper 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 show that OptimML achieves higher inference accuracy compared with several well-designed baselines, while respecting both latency and power constraints.