ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > zstu-(2021-2022)-1 > student homework directories > 2019329621182刘辰萱 >
2019329621182刘辰萱homework3 Version 0
👤 Author: by rootfreanjacn 2021-10-01 08:48:38
What's cpu schedule criteria?

CPU scheduling is a process that allows one process to use the CPU while the execution of another process is on hold(in waiting state) due to unavailability of any resource like I/O etc, thereby making full use of CPU. The aim of CPU scheduling is to make the system efficient, fast, and fair.

Whenever the CPU becomes idle, the operating system must select one of the processes in the ready queue to be executed. The selection process is carried out by the short-term scheduler (or CPU scheduler). The scheduler selects from among the processes in memory that are ready to execute and allocates the CPU to one of them.

 

 

What are cpu burst time and  I/O burst time?

CPU Burst : It is the amount of time required by a process or can be said the amount of time required by the process to finish. We can not estimate the time taken by the process before running it. So most of the problem is related to the burst time.
Burst Time= Turn around Time(Completion Time)-Waiting Time


I/O Burst : While the process is in the running state, it may ask for i/o , thus the process goes to the block or wait state, where the i/o will be processed and then it will be sent back to the ready state.


 

Please login to reply. Login

Reversion History

Loading...
No reversions found.