Developing CPU scheduling algorithms and understanding their impact in practice can be difficult and time consuming due to the need to modify and test operating system kernel code and measure the resulting performance on a consistent workload of real applications. As processor is the important resource, CPU scheduling becomes very important in accomplishing the operating system (OS) design goals. The intention should be allowed as many as possible running processes at all time in order to make best use of CPU. This paper presents a state diagram that depicts the comparative study of various scheduling algorithms for a single CPU and shows which algorithm is best for the particular situation. Using this representation, it becomes much easier to understand what is going on inside the system and why a different set of processes is a candidate for the allocation of the CPU at different time. The objective of the study is to analyze the high efficient CPU scheduler on design of the high quality scheduling algorithms which suits the scheduling goals. Key Words:-Scheduler, State Diagrams, CPU-Scheduling, Performance
An optimized round robin cpu scheduling algorithm with dynamic time quantum
CPU调度是操作系统执行的最重要的操作之一。不同的算法可用于CPU调度,其中RR(轮循)被认为是最佳的时间共享环境。循环赛的有效性完全取决于时间段的选择。本文提出了一种新的CPU调度算法DABRR(Dynamic Average Burst Round Robin)。它使用动态时间量程而不是RR中使用的静态时间量程。该算法的性能进行了实验比较,与传统的RR和一些现有的变种的RR。本文提出的方法的结果表明,在平均等待时间,平均周转时间,上下文切换方面的性能得到了改善。
Enhancing CPU Performance using Subcontrary Mean Dynamic Round Robin (SMDRR) Scheduling Algorithm
在分时环境中,由于进程之间平均共享静态时间,因此循环调度算法被认为是最优的。如果所用的时间段是静态的,那么它会降低CPU性能,并导致如此多的上下文切换。本文提出了一种新的基于动态时间量子的动态RR算法SMDRR(Subcontrast Mean Dynamic Round Robin),该算法利用次反均值或调和均值来寻找时间量子。这种方法的思想是根据当前运行进程的突发时间反复调整时间段。实验分析表明,SMDRR算法在减少上下文切换次数、平均周转时间和平均等待时间方面优于RR算法。