首页> 外文会议>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)。然后将M在其适当的位置插入到排序的队列中。使用此,就绪队列被分为两部分:第一部分包含突发时间,B1,B2,... Bi-1,其小于M,第二部分包含Bi + 1,Bi + 2。 ... Bn + 1,大于或等于m。现在从排序的就绪队列中拾取具有突发时间B1的过程P1,将其分配给CPU并执行一个时间片(Δ)。接下来将过程PI + 1带有突发时间Bi + 1从排序的就绪队列执行,并为另一Δ执行它。重复此过程,直到就绪队列中的所有作业完成了他们的执行。然后计算在Ready队列中所有进程的平均等待时间和平均周转时间。当应用所提出的方法时,观察到即使时间切片增加,发现平均等待时间和周转时间也被发现也会降低。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号