International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 134 - Number 7 |
Year of Publication: 2016 |
Authors: Maysoon A. Mohammed, Mazlina AbdulMajid, Balsam A. Mustafa |
10.5120/ijca2016907983 |
Maysoon A. Mohammed, Mazlina AbdulMajid, Balsam A. Mustafa . Multi-queue CPU Process Prioritization using a Dynamic Quantum Time Algorithm Compared with Varying Time Quantum and Round-Robin Algorithms. International Journal of Computer Applications. 134, 7 ( January 2016), 31-37. DOI=10.5120/ijca2016907983
In Round-Robin Scheduling, the quantum time is static and tasks are scheduled such that no process uses CPU time more than one slice time each cycle. If quantum time is too large, the response time of the processes will not be tolerated in an interactive environment. If quantum the time is too small, unnecessary frequent context switch may occur. Consequently, overheads result in fewer throughputs. In this study, we propose a priority multi queues algorithm with dynamic quantum time. The algorithm uses multi queues with different quantum times for the processes. The quantum times for the processes are depending on the priorities which in turn depending on the burst times of the processes. The proposed algorithm has been compared with varying time quantum algorithm which already exist to improve the original round robin algorithm. With proposed algorithm, the simple Round-Robin algorithm has been improved by about 35%. By controlling quantum time, we experience fewer context switches and shorter waiting and turnaround times, thereby obtaining higher throughput.