[Paper Review] Enhancing CPU Performance using Subcontrary Mean Dynamic Round Robin (SMDRR) Scheduling Algorithm
This paper proposes SMDRR, a dynamic Round Robin scheduling algorithm that uses the subcontrary (harmonic) mean of process burst times to compute adaptive time quantum, reducing context switches and improving CPU performance. Experimental results show SMDRR outperforms standard RR in reducing average waiting time, turnaround time, and context switches.
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.
Motivation & Objective
- To address performance degradation in traditional Round Robin (RR) scheduling due to fixed time quantum.
- To reduce excessive context switches caused by suboptimal static time quantum allocation.
- To improve average waiting time and turnaround time in time-shared environments.
- To develop a dynamic scheduling algorithm that adapts time quantum based on process burst behavior.
Proposed method
- The SMDRR algorithm computes the time quantum dynamically using the subcontrary mean (harmonic mean) of the burst times of active processes.
- The time quantum is recalculated after each process execution cycle based on current burst time trends.
- The algorithm maintains a running harmonic mean of burst times to adjust the time quantum for optimal process execution.
- SMDRR dynamically modifies the time quantum to minimize context switches while ensuring fair CPU allocation.
- The scheduling mechanism applies the computed time quantum in a round-robin fashion to all ready processes.
- The approach aims to balance responsiveness and efficiency by adapting to actual process behavior.
Experimental results
Research questions
- RQ1How does dynamic adjustment of time quantum using harmonic mean affect context switch frequency in CPU scheduling?
- RQ2To what extent does SMDRR reduce average waiting time compared to standard Round Robin?
- RQ3Can the use of subcontrary mean improve turnaround time in time-shared systems?
- RQ4How does SMDRR perform in terms of fairness and responsiveness under varying workloads?
- RQ5What is the impact of burst time-based time quantum adaptation on overall CPU utilization and performance?
Key findings
- SMDRR significantly reduces the number of context switches compared to the standard Round Robin algorithm.
- The average waiting time in SMDRR is lower than that of traditional RR, indicating improved process responsiveness.
- SMDRR achieves better average turnaround time due to optimized time quantum adaptation.
- The use of harmonic mean for time quantum calculation leads to more stable and efficient scheduling decisions.
- The algorithm demonstrates consistent performance improvement across various process burst time distributions.
- The experimental results confirm that SMDRR outperforms RR in key performance metrics like waiting time, turnaround time, and context switch count.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.