Scheduling Flashcards

1
Q

First job to arrive is ran. Arriving job put onto queue and ran in order of arrival. If running process blocks, switch to next process

A

First-Come-First-Serve

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

Given a queue of jobs at some time, pick job that runs for shortest amount of time. Optimal solution

A

Shortest job first

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

Pick process with least remaining runtime. If new job arrives with shorter runtime, switch to it

A

Shortest remaining time next

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

Each process assigned a time interval, called quantum, to run in. Each quantum switches the current process

A

Round robin

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

Quantums can be too short, causing excessive switching, or too long, wasting extra time

A

Round robin issues

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

Run each process with highest priority first. RR each quantum if shared priority.

A

Priority scheduling

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

Use weighted average to estimate a job runtime.

A

Shortest process next

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

aT_0 + (1 - a)T_1

A

Shortest process next weight average

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

Requires knowing past behaviors of running

A

Shortest process next

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

Assign higher number of tickets to process with higher priority

A

Lottery scheduling

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