NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Disk Scheduling Algorithm Based on ANT Colony Optimization

Hossein Rahmani, Sajjad Arshad, Mohsen Ebrahimi MoghaddamPDCCS 2009 · OpenReview

Abstract

This paper introduces a real-time disk scheduling algorithm that leverages Ant Colony Optimization (ACO) to address the NP-complete challenge of balancing data throughput with strict deadlines. By modeling disk requests as a path-finding problem, the proposed method significantly reduces missed tasks and boosts throughput compared to industry standards like EDF and SCAN-EDF.

Introduction

In multimedia applications such as high-definition video streaming or audio synchronization, timing is critical. These delay-sensitive applications rely on disk schedulers to deliver data within specific time windows. Traditional algorithms like SCAN prioritize throughput by minimizing disk head movement but ignore deadlines, while real-time algorithms like Earliest Deadline First (EDF) prioritize urgency at the cost of excessive seek times. This paper proposes a heuristic solution based on ant colony behavior to optimize this trade-off globally.

Methodology

The researchers implemented a MAX-MIN Ant System (MMAS), a variant of Ant Colony Optimization. Multiple virtual ants explore potential sequences of disk requests, depositing pheromones on paths that yield high performance.

The algorithm utilizes a heuristic function that balances physical seek distance against task urgency. A tuning parameter ($\gamma$) allows for the adjustment of priority between deadlines and throughput. Solutions are evaluated using a fitness function that considers the total execution time (makespan), the number of missed tasks, and the maximum deadline in the queue. To maintain efficiency, dynamic pruning is employed to remove tasks that have already missed their deadlines or are mathematically impossible to meet.

Experimental Evaluation

The study utilized synthetic test sets modeled after the physical specifications of an HP 97560 disk drive. Three scenarios were tested:

  • TC1: 20 tasks over 160ms.
  • TC2: 30 tasks over 240ms.
  • TC3: 50 tasks over 400ms.

Each scenario involved 1,000 unique problem instances to ensure statistical significance.

Results and Discussion

The ACO-based method consistently outperformed traditional algorithms (FIFO, CSCAN, CLOOK, EDF, SCAN-EDF, and GSR) across all primary metrics.

Miss ratio comparison showing the proposed ACO algorithm's superior performance in meeting deadlines.

In the TC1 scenario, the ACO method achieved a miss ratio of 8.6%, representing a significant improvement over the next best performer, GSR (15.7%). This trend continued in the more complex TC3 scenario, where the proposed method maintained a clear lead. Furthermore, the algorithm achieved higher data throughput, delivering approximately $5.27 \times 36$ KBps more data than GSR in the TC1 test case.

Computational Overhead

A common concern with meta-heuristic approaches is their computational latency. However, the proposed implementation demonstrates near-linear scaling with respect to queue size.

Algorithm execution time scaling near-linearly with increasing queue size.

As shown in the performance analysis, scheduling a queue of 20 tasks requires approximately 8.97ms. Given that this computation occurs while the disk is servicing the current request, the overhead is negligible for typical real-time workloads.

Conclusion

The ACO-based disk scheduling algorithm provides a robust solution for real-time multimedia systems, successfully navigating the conflict between mechanical efficiency and task deadlines. Future work will focus on automated parameter tuning and hardware implementation on FPGAs to further minimize latency for high-performance environments.

Summary updated

BibTeX
@misc{rahmani2009disk,
  author = {Hossein Rahmani and Sajjad Arshad and Mohsen Ebrahimi Moghaddam},
  title = {{A Disk Scheduling Algorithm Based on ANT Colony Optimization}},
  year = {2009},
  eprint = {2003.00926},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.00926},
}
Figure