Hardware support for accurate per-task energy metering in multicore systems

Qixiao Liu, Miquel Moretó, Víctor Jiménez, Jaume Abella, Francisco J. Cazorla, Mateo Valero

ACM Transactions on Architecture and Code Optimization · 2013 · 16 citations · 43 references

DOIFull text

Open access

Concepts

TL;DR

Accurate per‑task energy measurement is increasingly important for multicore systems, yet current methods cannot provide precise estimates when multiple tasks run concurrently. The paper proposes Per‑Task Energy Metering (PTEM), which tracks resource utilization and task occupancy to achieve accurate energy estimates. The authors present several hardware implementations that balance prediction accuracy against implementation complexity. On a 32‑core, 2‑way SMT configuration, PTEM cuts average error from over 12 % to under 4 % and reduces the worst‑case error from 58 % to 9 %.

Abstract

Accurately determining the energy consumed by each task in a system will become of prominent importance in future multicore-based systems because it offers several benefits, including (i) better application energy/performance optimizations, (ii) improved energy-aware task scheduling, and (iii) energy-aware billing in data centers. Unfortunately, existing methods for energy metering in multicores fail to provide accurate energy estimates for each task when several tasks run simultaneously. This article makes a case for accurate Per-Task Energy Metering (PTEM) based on tracking the resource utilization and occupancy of each task. Different hardware implementations with different trade-offs between energy prediction accuracy and hardware-implementation complexity are proposed. Our evaluation shows that the energy consumed in a multicore by each task can be accurately measured. For a 32-core, 2-way, simultaneous multithreaded core setup, PTEM reduces the average accuracy error from more than 12% when our hardware support is not used to less than 4% when it is used. The maximum observed error for any task in the workload we used reduces from 58% down to 9% when our hardware support is used.

References

43