# Loop parallelization in source code for internet of things computing using hybrid heuristic algorithm

**Authors:** Bahman Arasteh, Seyed Salar Sefati, Huseyin Kusetogullari, Farzad Kiani, Shahryar Sorooshian, Erfan Babaee Tirkolaee

PMC · DOI: 10.1371/journal.pone.0341059 · PLOS One · 2026-03-27

## TL;DR

This paper introduces a new hybrid algorithm for efficiently parallelizing nested loops in IoT systems to improve performance and scalability.

## Contribution

A novel hybrid scheduling framework (PSOALS) combining PSO, GA, and wave-angle scheduling for dynamic loop parallelization in IoT.

## Key findings

- PSOALS outperforms existing scheduling methods in convergence speed and execution time.
- The hybrid approach improves resource utilization and reduces communication overhead in heterogeneous IoT environments.
- Wave-angle scheduling effectively balances load and communication delays.

## Abstract

Efficient task scheduling remains a key challenge in High-Performance Computing and Internet of Things (IoT) systems, where the sequential execution of nested loops often limits parallelism. This paper proposes a hybrid approach that dynamically parallelizes nested loops in heterogeneous IoT environments. The suggested method (PSOALS) combines Particle Swarm Optimization (PSO), Genetic Algorithm (GA), and wave-angle scheduling to model nested loops as two-dimensional iteration spaces and minimize communication overhead. By encoding loop iterations as particles and using a dependency-aware fitness function, PSOALS enhances makespan, resource utilization, and scalability. The key contributions of this work include: a dynamic scheduling framework for efficient loop parallelization and dependency management, a wave-angle scheduling mechanism to improve task execution order by balancing load and communication delays, and the integration of mutation and diversity techniques to enhance the quality of the solution. Experimental results across various IoT configurations show that PSOALS outperforms block-based, cyclic, and GA-based scheduling methods in convergence speed, stability, and execution time. The proposed approach offers a scalable and adaptive solution to future IoT challenges, including real-time processing, energy efficiency, and large-scale deployment.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13029803/full.md

## Figures

15 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13029803/full.md

## References

19 references — full list in the complete paper: https://tomesphere.com/paper/PMC13029803/full.md

---
Source: https://tomesphere.com/paper/PMC13029803