Adaptive Task Scheduling and Resource Management Techniques for Improving Energy Efficiency on Multi-core Systems
Doctoral thesis, 2024

The growing impact of energy on operational cost and system robustness becomes a strong motivation for improving energy efficiency in parallel computing systems, in addition to performance. Hardware features such as core asymmetry and Dynamic Voltage and Frequency Scaling (DVFS) aim to provide opportunities for energy-efficient computing. However, it also complicates parallel application development. Task-based parallel programming models have been shown to be a powerful approach for developing parallel applications, allowing developers to express parallelism in the form of tasks. To achieve the goal of energy-efficient execution of a task-based application on multi-core platforms, it is essential to understand application characteristics, underlying platform capabilities and their complex interplay in order to determine appropriate task schedule and resource allocation. Consequently, this thesis introduces four task schedulers - ERASE, STEER, JOSS and SWEEP - tailored for diverse platform capabilities and energy efficiency metrics.

ERASE targets reducing CPU energy consumption in non-user-controllable DVFS environments. The scheduler includes four modules: online performance modeling and power profiling modules provide runtime with execution time and power predictions; core activity tracing offers the instantaneous task parallelism and the task scheduler combines these information to enable CPU energy consumption predictions and dynamically determine the best resource allocation for each task. Moreover, ERASE is designed for quick adaptation to external DVFS changes.

STEER investigates the potential CPU energy savings by leveraging core asymmetry, CPU DVFS, and task characteristics. STEER comprises two predictive models for performance and power predictions, and a task scheduler that utilizes models for energy predictions and then identifies the best resource allocation and frequency settings for tasks. Additionally, STEER employs adaptive scheduling algorithms based on task granularity to handle DVFS overheads and coordinates cluster frequency tuning to mitigate interference from concurrent tasks on cluster-based platforms.

JOSS demonstrates that taking memory energy into account is crucial for reducing total energy consumption, even in the absence of a memory DVFS knob. The scheduler leverages knobs of core asymmetry, CPU DVFS, memory DVFS and task characteristics. JOSS builds a set of models using multivariate polynomial regression, providing predictions for the execution time, average CPU power and memory power of each task, when tuning the aforementioned knobs individually and simultaneously, to facilitate the scheduling decision in task scheduler. Furthermore, JOSS supports exploring energy reduction with and without performance constraints.

SWEEP leverages application attributes, especially inter-task parallelism, together with hardware knobs to predict the impact of task distributions and local task scheduling decisions on the global execution time and energy consumption. SWEEP is designed for exploring various energy performance trade-offs. It first categorizes application execution into high parallelism and low parallelism phases, determined by instantaneous inter-task parallelism. It applies different task scheduling algorithms for high and low parallelism phases respectively, predicting trade-offs associated with different configurations and determining the best task distribution, local task schedules and DVFS settings accordingly.

The four schedulers address the challenges of achieving energy efficiency in diverse computing environments and targeting various energy efficiency metrics for task-based parallel applications. They present a comprehensive approach of integrating predictive models and adaptive scheduling algorithms to fully exploit the capability of multi-core platforms for both energy savings and energy performance trade-offs.

Dynamic Voltage and Frequency Scaling (DVFS)

Performance Modeling

Energy Efficiency

Runtime System

Power Modeling

Task Scheduling

Room EA, EDIT Building
Opponent: Prof. Dimitrios Nikolopoulous, Virginia Tech, United States

Author

Jing Chen

Chalmers, Computer Science and Engineering (Chalmers), Computer Engineering (Chalmers)

Jing Chen, Madhavan Manivannan, Bhavishya Goel, and Miquel Pericàs. SWEEP: Adaptive Task Scheduling for Exploring Energy Performance Trade-offs. Accepted in the 38th IEEE International Parallel and Distributed Pro- cessing Symposium (IPDPS) 2024

JOSS: Joint Exploration of CPU-Memory DVFS and Task Scheduling for Energy Efficiency

52nd International Conference on Parallel Processing (ICPP 2023),;(2023)p. 828-838

Paper in proceeding

STEER: Asymmetry-aware Energy Efficient Task Scheduler for Cluster-based Multicore Architectures

Proceedings - Symposium on Computer Architecture and High Performance Computing,;(2022)p. 326-335

Paper in proceeding

ERASE: Energy Efficient Task Mapping and Resource Management for Work Stealing Runtimes

Transactions on Architecture and Code Optimization,;Vol. 19(2022)

Journal article

The growing impact of energy on operational cost and system robustness becomes a strong motivation for improving energy efficiency in parallel computing systems, in addition to performance. Multi-core platforms are equipped with features to enable energy-efficient computing, such as core asymmetry and DVFS in CPU and memory subsystems. Task-based parallel programming models have been shown to be a powerful approach for developing parallel applications, allowing developers to express parallelism in the form of tasks and their dependencies.
 
Achieving energy-efficient execution of a task-based application on multi-core platforms entails understanding application characteristics, underlying platform capabilities and their complex interplay in order for a scheduler to determine appropriate task schedule and resource allocation. On one hand, the available hardware knobs (core asymmetry, CPU DVFS and memory DVFS) and diverse application attributes (inter-task parallelism, intra-task parallelism and task characteristics) present great opportunities for trade-offs between performance and power consumption. On the other hand, these knobs introduce additional dimensions to the task scheduling problem that is already computationally hard. Effectively navigating this complexity requires traversing a large search space to figure out the best task schedule and resource management decisions. Furthermore, the proposed scheduling techniques should offer adaptivity to cater to various energy efficiency optimization targets and diverse platform environment settings.
 
This thesis tackles the problem by investigating adaptive task scheduling and resource management techniques for improving energy efficiency of executing task-based applications on multi-core architectures. It proposes four schedulers to address the problem in different optimization targets and contexts. The proposed schedulers leverage model-based predictions of task execution time and power consumption in conjunction with the heuristic task mapping and distribution algorithms to determine the best task schedule and the DVFS settings for a specific optimization target. They present a comprehensive approach of integrating predictive models and adaptive scheduling algorithms to fully exploit the capability of multi-core platforms for both energy savings and energy performance trade-offs.

European, extendable, energy-efficient, energetic, embedded, extensible, Processor Ecosystem (eProcessor)

European Commission (EC) (EC/H2020/956702), 2021-01-01 -- 2024-06-30.

Low-energy toolset for heterogeneous computing (LEGaTO)

European Commission (EC) (EC/H2020/780681), 2018-02-01 -- 2021-01-31.

Subject Categories

Computer Systems

ISBN

978-91-7905-967-5

Doktorsavhandlingar vid Chalmers tekniska högskola. Ny serie: 5433

Publisher

Chalmers

Room EA, EDIT Building

Online

Opponent: Prof. Dimitrios Nikolopoulous, Virginia Tech, United States

More information

Latest update

3/7/2024 8