Abstract
The rapid expansion of the Internet of Things (IoT) has introduced significant challenges regarding device resource constraints, particularly in battery life and processing power. While offloading tasks to the cloud is a common solution, it often results in high latency and bandwidth strain. This paper presents TOPREAL, a novel resource allocation and scheduling strategy designed to optimize task offloading across edge, fog, and cloud environments. By employing multi-criteria decision-making, TOPREAL balances execution time, energy consumption, and operational costs, achieving a 40.25% average improvement in energy savings and a 16.21% boost in execution speed compared to traditional algorithms.
Introduction
The Internet of Things (IoT) ecosystem is growing exponentially, yet the underlying devices remain constrained by limited battery capacity and processing capabilities. Traditionally, heavy computational tasks are "offloaded" to centralized cloud servers. However, this approach is increasingly untenable due to massive latency and the immense pressure it places on network bandwidth.
Edge computing offers a solution by processing data closer to the source. Nevertheless, edge resources are heterogeneous and scarce. Most existing scheduling algorithms prioritize a single objective, such as cost minimization or hardware utilization, often neglecting energy efficiency—a critical factor for sustainability and reducing the carbon footprint of large-scale datacenters. The core challenge lies in selecting the optimal virtual machine (VM) for a task while balancing conflicting goals like speed, energy, and cost.
The TOPREAL Methodology
To address these challenges, the authors introduce TOPREAL (TOPSIS-based Resource Allocation), which frames task scheduling as a multi-criteria decision-making problem. Unlike traditional methods that may only focus on one or two parameters, TOPREAL provides a comprehensive framework for multi-tier environments.
The core components of TOPREAL include:
- TOPSIS Framework: Utilizing the Technique for Order of Preference by Similarity to Ideal Solution, TOPREAL identifies a theoretical "ideal" solution and a "negative-ideal" solution. It then ranks available VMs based on their geometric proximity to the ideal.
- Mathematical Modeling: The system employs rigorous models for execution time (based on Amdahl’s Law) and power consumption (accounting for both static and dynamic components).
- Hadamard Product Integration: To synthesize various performance metrics, the algorithm uses a Hadamard product of VM performance scores and execution time matrices, resulting in a TOPREAL Performance Score (TPA) for final decision-making.
- Cooperative Scheduling: The architecture supports dynamic task migration across edge, fog, and cloud tiers based on real-time resource availability.
Experimental Evaluation
The effectiveness of TOPREAL was evaluated using real-world datasets from the Grid Workloads Archive (GWA) to ensure the results reflect the complexities of actual IoT environments:
- GWA Bitbrains (GWA-T-12): Performance metrics for 1,750 VMs with over 14 million traces, simulating a realistic datacenter.
- GWA AuverGrid: Over 400,000 job traces representing actual IoT device requests.
Key Results
TOPREAL consistently outperformed standard algorithms such as Greedy, Distributed Scheduling (DSA), and Particle Swarm Optimization (PSO) across several metrics:
- Energy Savings: Achieved an average improvement of 40.25%, saving approximately 63,215 kJ in large-scale tests.
- Execution Time: Improved by an average of 16.21%, reducing processing time by roughly 78.06 hours across test segments.
- Scalability: The algorithm maintained performance gains even as task volume increased from 10 to 100, demonstrating robustness for high-density IoT traffic.
Discussion and Insights
The study revealed that energy efficiency and execution speed are not necessarily mutually exclusive. By matching VMs to specific task complexities, TOPREAL improved both metrics simultaneously. Furthermore, the researchers found that hardware heterogeneity—often viewed as a hurdle—can be leveraged as a criterion to find the most efficient "home" for specific code segments.
Limitations and Future Work
Despite its success, TOPREAL exhibits a slightly higher computational overhead during the scheduling process (8.42 seconds compared to 5.16 seconds for simpler models). Future work will focus on optimizing this overhead and incorporating security features, such as privacy-preservation layers using blockchain. Additionally, the team plans to enhance support for Multi-Access Edge Computing (MEC) environments where device mobility adds further complexity to resource allocation.
Summary updated