Abstract
Cloud computing is an Internet-based computing method that provides computers and other devices with shared software and hardware resources and information on the Internet according to their demands. Task scheduling is a core issue of cloud computing. Aiming at the resource scheduling problem of cloud computing, a task scheduling model of DQACO is proposed by improving the pheromone Q in the traditional ant colony optimization. Experiments show that the DQACO algorithm performs better in task completion time and can achieve better scheduling of tasks in the cloud environment.
Introduction
In cloud computing, task scheduling involves efficiently assigning $n$ independent tasks to $m$ virtual machines (VMs). As the number of tasks and machines increases, the search space for an optimal solution grows exponentially, making this an NP-complete problem. Traditional heuristic approaches, such as Ant Colony Optimization (ACO), are often employed to find near-optimal solutions. ACO mimics the behavior of ants finding the shortest path to food via pheromone trails. However, standard ACO suffers from slow initial convergence due to a lack of early pheromone guidance and a tendency to get trapped in local optima.
Methodology
To address these limitations, this paper proposes Pheromone Dynamic Adaptive Ant Colony Optimization (DQACO). The core innovation lies in making the pheromone intensity constant, $Q$, dynamic rather than fixed.
Adaptive Pheromone Intensity
In DQACO, $Q$ is updated in each generation based on the iteration count. This dynamic adjustment allows the algorithm to modulate the strength of pheromone trails as the search matures, facilitating faster convergence compared to the static values used in traditional ACO.
Local Optimum Escape Mechanism
DQACO incorporates a monitoring system to detect stagnation. If the best solution fails to improve over $n$ successive generations, the algorithm triggers a pheromone reduction by increasing the volatilization factor $\rho$. This "erases" existing trails, forcing ants to explore new regions of the solution space and effectively escaping local optima.
Experimental Setup
The DQACO algorithm was evaluated in a simulated cloud environment with the following parameters:
- Tasks: 100 to 250 tasks, with lengths ranging from 30,000 to 3,600,000 instructions.
- Virtual Machines: 5 to 20 VMs with performance ratings between 500 and 1,500 Mips (Millions of instructions per second).
- Resources: 256–2048 MB RAM and 10,240 MB storage per VM.
- Algorithm Parameters: 10 ants over a maximum of 20 iterations.
Results and Discussion
The performance of DQACO was compared against standard ACO across two primary scenarios: varying task loads and varying VM availability.
Performance under Increasing Task Load
With a fixed set of 10 VMs, DQACO consistently achieved lower completion times than standard ACO as the number of tasks increased from 100 to 250. The results indicate that the dynamic pheromone adjustments provide a more efficient search process, especially as the problem complexity grows.
Performance under Varying Resource Constraints
In experiments with a fixed set of 200 tasks, DQACO outperformed ACO across configurations of 5, 10, 15, and 20 VMs. Notably, in high-load scenarios (e.g., 5 VMs), the efficiency gains of DQACO were most pronounced, demonstrating its robustness in resource-constrained environments.
Conclusion
The DQACO algorithm improves upon traditional ACO by introducing dynamic pheromone intensity and a mechanism to escape local optima. Experimental results confirm that DQACO significantly reduces task completion times in cloud environments. Future work will focus on testing the algorithm in real-world cloud infrastructures with network latency and task dependencies, as well as comparing its performance against other metaheuristics like Particle Swarm Optimization (PSO) or Genetic Algorithms (GA).
Summary updated