Scheduling Flashcards
What are the different types of scheduling?
Long Term
The decision to add to the pool of processes to be executed
Medium Term
The decision to add to the number of processes that are partially or fully in main memory
Short Term
The decision as to which available process will be executed by the processor
I/O Scheduling
The decision as to which process awaiting i/o request will be sent to an available i/o device
What is the aim of processor scheduling ?
The aim is to assign processes to a processor or processes that meet system objectives such as response time, throughput and processor efficiency
Differenciate between user oriented criteria and system oriented criteria
User oriented criteria deals with the system behavior as perceived by the user
System oriented criteria deals with efficient and effective utilization of the processor
Define Turn around time
The time between the submission of the request and its completion.
actual execution time + time waiting for resources
Define response time
The time from the submission of the request until the request begins to be received
what is throughput ?
the number of processor executed per unit of time
a measure of how much work is being done
Explain the concept of Round Robin
Round Robin also known as time slicing is a process inwhich a clock interrupt interval is generated at specific intervals and when the interrup occurs, the currently running process is placed in the ready queue.
Explain the concept of shortest process next (spn)
Nonpreemptive policy in which the process with the shortest expected processing time is selected next
State disadvantages of spn
possibility of longer processes starving
need to know an estimated processing time before hand