Part II: 5.CPU Scheduling Flashcards
1
Q
What is a dispatcher, and what is dispatch latency?
A
2
Q
What are the differences between preemptive and non-preemtive scheduling?
A
Preemptive: CPU can be taken away from a process
Non-preemptive: A process must voluntarily resigncontrol of the CPU.
( Preemptive most common in modern OS)
3
Q
What are the critieria used to measure various process scheduling algorithms?
A
1: CPU utilization
2: Throughput
3: Turnaround time
4: Waiting time
5: Response time
4
Q
How to compare different scheduling algorithms based on one or more criteria?
A
5
Q
First come, first serve
A
6
Q
Shortes job first
A
7
Q
Round robin
A
8
Q
How do you schedule a thread?
A