首页> 外文会议>International Conference on Frontiers of Intelligent Computing : Theory and Applications >Mean Interleaved Round Robin Algorithm: A Novel CPU Scheduling Algorithm for Time Sharing Systems
【24h】

Mean Interleaved Round Robin Algorithm: A Novel CPU Scheduling Algorithm for Time Sharing Systems

机译:平均交错循环算法:一种新型时间共享系统的CPU调度算法

获取原文

摘要

In round robin scheduling algorithm, the scheduler preempts a process when time slice (δ) expires and picks up the next processes in the ready queue for execution. A potential problem that we observed with the traditional round robin scheduling algorithm is: when the time slice increases, both the average waiting time and the turnaround time are also increasing instead of decreasing. This paper proposes a remedy for the observed problem which works as follows calculate the mean burst time (m) of all the processes in the ready queue. Then insert m at its appropriate position in the sorted ready queue. With this the ready queue is divided into two parts: the first part contains the burst times, b1, b2,...bi-1, which are smaller than m and the second part contains burst times bi+1,bi+2....bn+1, which are greater than or equal to m. now pickup the process p1 with burst time b1 from the sorted ready queue,assign it to CPU and execute it for one time slice (δ). Next pickup the process pi+1 with burst time bi+1 from the sorted ready queue and execute it for another δ. This process is repeated until all the jobs in the ready queue complete their execution. Then average waiting time and average turnaround time of all the processes in the ready queue are computed. When the proposed method is applied, it observed that even if the time slice increases, both the average waiting time and the turnaround time are found to be also decreasing.
机译:在循环调度算法,调度抢占的处理时的时间片(δ)期满,并且拾取在用于执行的就绪队列的下一个过程。我们与传统的轮询调度算法发现一个潜在的问题是:当时间片的增加,两者的平均等待时间和周转时间也在增加,而不是减少的。本文提出了一种其工作原理如下计算所有进程的平均突发时间(M)在就绪队列中所观察到的问题的补救措施。然后在的适当位置插入米的整理就绪队列。与此就绪队列被分成两个部分:第一部分包含突发时间,B1,B2,... BI-1,其是比m小,而第二部分包含突发时间BI + 1,BI + 2。 ... BN + 1,其是大于或等于m。现在拾取进程P1与突发时间B1从排序就绪队列,将其分配给CPU,并执行它为一个时间片(δ)。接下来拾取过程PI + 1与脉冲串时间BI + 1从所述排序就绪队列,并执行它为另一δ。重复这个过程,直到就绪队列中的所有作业完成它们的执行。然后,平均等待时间,在就绪队列中的所有进程的平均周转时间计算。当应用所提出的方法,它观察到,即使在时间片的增加,两者的平均等待时间和周转时间被发现也下降。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号