Part II: 5.CPU Scheduling Flashcards

1
Q

What is a dispatcher, and what is dispatch latency?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to compare different scheduling algorithms based on one or more criteria?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

First come, first serve

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Shortes job first

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Round robin

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you schedule a thread?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly