Scheduling Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Scheduler

A

A program that manages the processing time different instructions have

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

Pre - emptive

A

Can respond to a changing circumstance
Can interrupt jobs for other jobs

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

First come first served

A

Creates queue for jobs in order from first to last
Order of these jobs can not be changed
Good for jobs which require no interactivity
Non- pre-emptive

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

Pros / cons of First come first served

A

Pros:
- Simple
- No need to estimate job times

Cons:
- No real time response
- Can have high wait time

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

Shortest job first

A

Estimates job length
Orders jobs from shortest to longest
Non Pre-emptive

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

Pros / Cons of Shortest job first

A

Pros:
- minimises average wait time

Cons:
- Have to estimate job length
- Larger jobs have higher wait time
- Non pre-emptive
- Not simple

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

Shortest remaining time

A

Estimates job length
Places jobs in order of shortest remaining time first
A new job can be added and change the order
Pre - emptive

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

Pros / Cons of shortest remaining time

A

Pros:
- Pre - emptive
- Shortens average wait time

Cons:
- Have to estimate job length
- Long jobs can have higher wait time
- Complex

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

Round robin

A

Each job is allocated a quantum of processing time
If job is not completed in the quantum it will loop to the back of the queue
This will repeat untill job is completed

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

Pros / Cons of round robin

A

Pros:
- Pre emptive
- Don’t need to estimate job length
- Fair in allocating processor time
- Has interactivity

Cons:
- Complex
- If a job is not finished in the first quantum , its data will have to be stored in memory , this is inefficient

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

Multi-level feedback

A

Uses many other algorithms in combination

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

Pros / Cons of Multi-level feedback

A

Pros:
- Real time response
- Can give priority to a job

Cons:
- Complex
- Expensive
- Lots of memory

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