arXiv:2609.04952cs.DCSep 2026

Manuscript Offprint

arXiv:2609.04952

GreenPipe: Power Modeling for Containerized DNN Inference on Kubernetes Edge Nodes

Mengxue Wang, Peini Liu, Amir Taherkordi, Jordi Guitart

Mengxue Wang1^{1}, Peini Liu2^{2}, Amir Taherkordi3^{3}, and Jordi Guitart1,2^{1,2}

1^{1} Universitat Politècnica de Catalunya, Barcelona, Spain {mengxue.wang,jordi.guitart}@upc.edu

2^{2} Barcelona Supercomputing Center, Barcelona, Spain {peini.liu,jordi.guitart}@bsc.es

3^{3} University of Oslo, Oslo, Norway amirhost@ifi.uio.no

Abstract. Distributed DNN inference is increasingly deployed in containerized edge-cloud environments, where workloads run on-device or are exposed to remote clients over the network. Accurate online power estimation on resource-constrained ARM nodes without hardware power counters such as RAPL remains a challenge, and CPU-only models fail to capture multi-resource behavior. We present GreenPipe, an automated profiling-training-validation pipeline that builds multi-resource regression models from external power meter measurements and attributes power to containers proportionally. GreenPipe is evaluated on a Raspberry Pi 4 edge node in a K3s edge-cloud testbed, covering DNN inference with three vision models, multiple precisions, thread counts, and both local and serving scenarios. System-level MAPE is 6.3-9.4%, improving over CPU-stress and utilization-only baselines by 26.9% MAPE on average. We jointly report inference latency and energy per inference, exposing performance-energy trade-offs across workload configurations.

Keywords: Power modeling · DNN inference · Containerization · Edge-cloud systems.

1 Introduction

Distributed DNN inference is increasingly deployed on the edge-cloud continuum, where services run locally on resource-constrained edge nodes or as network-accessible endpoints [1]. These deployments need power visibility for energy-aware orchestration, thermal control, and sustainable operation [2]. However, many ARM edge devices lack hardware power interfaces such as RAPL, while external meters are usually impractical during normal runtime [3]. Software power models are therefore needed, but CPU-centric models can miss the cache, memory, disk, and network behavior of containerized DNN inference [4].

Container orchestration adds another challenge: power must be exposed at a granularity useful for workloads. Kubernetes and Docker provide isolation and cgroup-scoped metrics, but node-level meters alone cannot identify the contribution of individual containers [5,6]. This is particularly relevant for edge-cloud

M. Wang et al.

inference, where local execution and network-served inference stress different resource paths and lead to different latency-energy behavior.

This paper presents GreenPipe, a data-driven pipeline for building and deploying per-node power models for containerized DNN inference on Kubernetes ARM edge nodes. GreenPipe collects multi-resource metrics, aligns them with external meter measurements, trains and validates regression models, and deploys the selected model for per-second online estimation with heuristic container-level attribution. We evaluate GreenPipe on a Raspberry Pi 4 in a two-node K3s testbed, covering three image-classification models, multiple precisions and thread counts, and local versus network-served inference. GreenPipe achieves node-level MAPE of 6.3%-9.4% on validation workloads and reduces average MAPE by 26.9% over CPU-stress and utilization-only baselines. We also characterize latency-energy trade-offs across workload configurations and deployment modes. Our main contributions are:

  • a Kubernetes-compatible pipeline for multi-resource profiling, power model training, validation, and online estimation on ARM edge nodes;
  • DNN-oriented training and validation across local and network-served containerized inference workloads;
  • runtime node-level estimation with heuristic container attribution, together with latency-energy characterization for deployment decisions.