Published March 31, 2022 | Version v1
Conference paper Open

The Best of Many Worlds: Scheduling Machine Learning Inference on CPU-GPU Integrated Architectures

  • 1. Hellenic Mediterranean University
  • 2. Foundation for Research and Technology - Hellas
  • 3. Technical University of Crete

Description

A plethora of applications are using machine learning, the operations of which are becoming more complex and require additional computing power. At the same time, typical commodity system setups (including desktops, servers, and embedded devices) are now offering different processing devices, the most often of which are multi-core CPUs, integrated GPUs, and discrete GPUs.

In this paper, we follow a data-driven approach, where we first show the performance of different processing devices when executing a diversified set of inference engines; some processing devices perform better for different performance metrics (e.g., throughput, latency, and power consumption), while at the same time, these metrics may also deviate significantly among different applications. Based on these findings, we propose an adaptive scheduling approach, tailored for machine learning inference operations, that enables the use of the most efficient processing device available. Our scheduler is device-agnostic and can respond quickly to dynamic fluctuations that occur at real-time, such as data bursts, application overloads and system changes. The experimental results show that it is able to match the peak throughput, by predicting correctly the optimal processing device with an accuracy of 92.5%, with energy savings up to 10%.

Files

htrgns_ml_ipdpsw2022.pdf

Files (828.3 kB)

Name Size Download all
md5:19aa5eb056d5ac5b1dbc3b4045ed4961
828.3 kB Preview Download

Additional details

Funding

European Commission
C4IIoT – Cyber security 4.0: protecting the Industrial Internet Of Things 833828