Back to Search
Start Over
Intelligent SRTF: A New Approach to Reduce the Number of Context Switches in SRTF
- Source :
- Advances in Intelligent Systems and Computing ISBN: 9789811024702
- Publication Year :
- 2016
- Publisher :
- Springer Singapore, 2016.
-
Abstract
- Throughput of the system in multiprogramming and time sharing systems mainly depends on the careful scheduling of the CPU and other I/O devices. CPU scheduling should control the waiting time, response time, turnaround time, and number of context switches. One of the most extensively used scheduling algorithms is shortest next remaining time first (SRTF), which gives the reduced amount of average waiting time. But this algorithm suffers from some drawbacks. One such is that, every upcoming process if selected for execution, causes a context switch even though it is slightly shorter than the currently running process. As the number of such situations increases, the number of context switches increases, causing the reduction in performance of the system. In this paper, we modify the traditional SRTF to intelligent SRTF, by changing the decision of the preemption, to decrease the number of context switches. The main idea of our proposed algorithm is to make a context switch only if the next process plus context switch over head is shorter than the currently running process. By this we can reduce the number of context switches and thereby the performance of the system is improved.
Details
- ISBN :
- 978-981-10-2470-2
- ISBNs :
- 9789811024702
- Database :
- OpenAIRE
- Journal :
- Advances in Intelligent Systems and Computing ISBN: 9789811024702
- Accession number :
- edsair.doi...........925130314fa0055053ab06635335fd26
- Full Text :
- https://doi.org/10.1007/978-981-10-2471-9_37