




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





1
Tevfik Koşar
February 1st, 2007
CPU Scheduling
2
Roadmap
3
Basic Concepts
4
Alternating Sequence of CPU And I/O Bursts
5
Histogram of CPU-burst Durations
6
CPU Scheduler
7
Dispatcher
8
Scheduling Criteria
9
Optimization Criteria
10
First-Come, First-Served (FCFS) Scheduling
11
FCFS Scheduling (Cont.)
12
Shortest-Job-First (SJR) Scheduling
19
Round Robin (RR)
Example of RR with Time Quantum = 20
21
Time Quantum and Context Switch Time
22
Turnaround Time Varies With The Time Quantum
23
Multilevel Queue
Multilevel Queue Scheduling
25
Multilevel Feedback Queue
26
Example of Multilevel Feedback Queue
27
Multilevel Feedback Queues
28
Multiple-Processor Scheduling
29
Real-Time Scheduling
30
Thread Scheduling
37
Linux Scheduling
38
39
List of Tasks Indexed According to Prorities
40
Algorithm Evaluation
41
Evaluation of CPU Schedulers
42
Any Questions?
Hmm.. Hmm..
43
Reading Assignment
44
Acknowledgements