Ch. 6 - Scheduling Flashcards

1
Q

Scheduling

A

A set of policies and mechanisms to control the order of work to be performed by a computer system.

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

I/O Bound

A

Lots of I/O, Short CPU bursts (eg. interactive jobs)

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

CPU Bound

A

Little I/O, Long CPU bursts

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

How can one classify a process as I/O bound or CPU bond?

A

Need to extrapolate process execution to determine the duration of the next CPU burst. Can use a Simple Moving Average (SMA) or an Exponential Moving Average (EMA)

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

Long-Term Scheduling

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

Medium-Term Scheduling

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

Short-Term Scheduling

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

How can we eliminate starvation of jobs that don’t get the CPU?

A

Add an age factor. Jobs that have been waiting for a long time are prioritized over newer jobs.

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