使用次反平均动态轮询(SMDRR)调度算法提高CPU性能
Enhancing CPU Performance using Subcontrary Mean Dynamic Round Robin (SMDRR) Scheduling Algorithm
摘要:
在分时环境中,由于进程之间平均共享静态时间,因此循环调度算法被认为是最优的。如果所用的时间段是静态的,那么它会降低CPU性能,并导致如此多的上下文切换。本文提出了一种新的基于动态时间量子的动态RR算法SMDRR(Subcontrast Mean Dynamic Round Robin),该算法利用次反均值或调和均值来寻找时间量子。这种方法的思想是根据当前运行进程的突发时间反复调整时间段。实验分析表明,SMDRR算法在减少上下文切换次数、平均周转时间和平均等待时间方面优于RR算法。
英文摘要:
Round Robin (RR) Algorithm is considered as optimal in time shared environment because the static time is equally shared among the processes. If the time quantum taken is static then it undergoes degradation of the CPU performance and leads to so many context switches. In this paper, we have proposed a new effective dynamic RR algorithm SMDRR (Subcontrary Mean Dynamic Round Robin) based on dynamic time quantum where we use the subcontrary mean or harmonic mean to find the time quantum. The idea of this approach is to make the time quantum repeatedly adjusted according to the burst time of the currently running processes. Our experimental analysis shows that SMDRR performs better than RR algorithm in terms of reducing the number of context switches, average turnaround time and average waiting time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。