Research on computing task scheduling method for distributed heterogeneous parallel systems

Xianzhi Cao, Chong Chen, Shiwei Li, Chang Lv, Jiali Li, Jian WangScientific 2025

Abstract

With the explosive growth of terminal devices, scheduling massive parallel task streams has become a core challenge for distributed platforms. For computing resource providers, enhancing reliability, shortening response times, and reducing costs are significant challenges, particularly in achieving energy efficiency through scheduling to realize green computing. This paper investigates the heterogeneous parallel task flow scheduling problem to minimize system energy consumption under response time constraints. First, for a set of independent tasks capable of parallel computation on heterogeneous terminals, the task scheduling is performed according to the computational resource capabilities of each terminal. The problem is modeled as a mixed-integer nonlinear programming problem using a Directed Acyclic Graph as the input model. Then, a dynamic scheduling method based on heuristic and reinforcement learning algorithms is proposed to schedule the task flows. Furthermore, dynamic redundancy is applied to certain tasks based on reliability analysis to enhance system fault tolerance and improve service quality. Experimental results show that our method can achieve significant improvements, reducing energy consumption by 14.3% compared to existing approaches on two practical workflow instances.

Introduction: The Multi-Objective Challenge in Green Computing

As we move toward a world of "green computing" and Mobile Edge Computing (MEC), the challenge isn't just about processing data—it’s about doing it efficiently across a messy, "heterogeneous" landscape of CPUs, GPUs, FPGAs, and base stations. Most current scheduling strategies are "specialists": some focus purely on minimizing response time, while others prioritize reliability or energy. However, in real-world engineering, these metrics often conflict. For example, slowing down a processor to save power might keep the entire system idling longer, actually increasing total static energy consumption. Furthermore, task dependencies (where Task B can't start until Task A finishes) mean a single node failure can trigger a catastrophic delay across the entire workflow. Solving this multi-objective optimization is an NP-hard problem.

Comparison of existing scheduling algorithms across response time, energy consumption, and reliability.

Methodology: The HRLHS Framework

The researchers proposed a two-phase approach to tackle this complexity, termed HRLHS (Hybrid Reinforcement Learning and Heuristic Scheduling).

1. The HRLHS Algorithm

This is a "best of both worlds" hybrid combining Particle Swarm Optimization (PSO) and Reinforcement Learning (RL):

  • PSO Phase: Used in the initial stage to rapidly explore the solution space. PSO is great at finding a "good enough" starting point quickly, preventing the system from getting stuck in local optima.
  • RL Phase: Once PSO provides a baseline, RL takes over to fine-tune the schedule. It uses a double Q-learning mechanism to adapt to dynamic changes in the environment, balancing exploration and exploitation.

2. Dynamic Redundancy Mechanism

To handle hardware failures, the system performs a reliability analysis on every task. For "critical" tasks or those with low reliability scores, the system proactively schedules a redundant backup on a different processor. This "trades space for time," ensuring that if a primary task fails, the backup result is already available, preventing a total system stall.

Sequence diagram of the HRLHS scheduling process and dynamic redundancy mechanism.

3. Mathematical Modeling

The problem is framed as Mixed-Integer Nonlinear Programming (MINLP), using Directed Acyclic Graphs (DAGs) to map out task dependencies and communication delays.

Evaluation and Results

The algorithm was evaluated using two classic benchmark workflows: Gaussian Elimination (GE) (communication-intensive) and Fast Fourier Transform (FFT) (computation-intensive). The tests scaled from small setups to massive environments with 500 heterogeneous processors.

The HRLHS method consistently outperformed both traditional heuristic and modern AI-based scheduling methods:

  • Energy Efficiency: Reduced energy consumption by 14.3% compared to the Processor-Merging (PM) algorithm, 45.1% compared to MSLSRR, and 26.8% compared to standard Adaptive Q-learning.
  • Scalability: HRLHS maintained a linear and predictable increase in energy and response time even when scaling to 500 terminal devices.
  • Reliability: The dynamic redundancy mechanism successfully mitigated the impact of task failures, maintaining workflow integrity where non-redundant systems would have seen significant latency spikes.

Conclusion

One of the most interesting insights is that minimizing dynamic energy doesn't always lead to the lowest total energy due to "static energy traps." The HRLHS algorithm specifically balances these two. By using PSO as a "scout" to find the general vicinity of the optimal solution, the RL agent avoids the "cold start" problem common in complex environments.

Future work will focus on testing these algorithms on physical distributed frameworks like Apache Spark or Hadoop and exploring better integration with centralized cloud solutions to handle even larger, more unpredictable workloads.

Summary updated

BibTeX
@inproceedings{cao2025research,
  author = {Xianzhi Cao and Chong Chen and Shiwei Li and Chang Lv and Jiali Li and Jian Wang},
  title = {{Research on computing task scheduling method for distributed heterogeneous parallel systems}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41598-025-94068-0},
}
Figure