14. Basic Resource Scheduling Flashcards

1
Q

Stateless Resource

A
  • The amount of time to service a given request is independent from the history of the requests that have been served before
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Preemptive Resource

A
  • A resource that can be temporarily interrupted to serve a different request
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Scheduling Overhead

A
  • Any extra computation done while scheduling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Processor-Bound Applications

A
  • Applications with relatively long jobs and brief interactions with I/O devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

I/O-Bound Applications

A
  • Applications with short jobs and relatively long intervals of I/O waiting time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Job

A
  • An interval of execution that can be entirely conducted on the processor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Task

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

Scheduler Invocation

A
  • Describes when the scheduler is invoked
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Scheduling Policy

A
  • Describes the function according to which a job is selected to run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Response Time (Scheduling)

A
  • Process-centric
  • The time between job release and completion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Fairness (Scheduling)

A
  • Process-centric
  • The difference between the quality of service provided to different classes of jobs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Utilization (Scheduling)

A
  • System-centric
  • The utilization of the resource with the considered scheduler
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Throughput (Scheduling)

A
  • System-centric
  • The rate at which requests are completed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Complexity (Scheduling)

A
  • System-centric
  • The difficulty of correctly implementing and analyzing a scheduling algorithm
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

First Come First Served (FCFS); First In First Out (FIFO)

A
  • Invocation: once the currently running job has been completed (non-preemptive)
  • Policy: select the job that has been waiting the longest in the queue
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Limitation of Any Non-Preemptive Scheduler

A
  • Once a long job is given control of the processor, all the other jobs need to wait a long time before having the chance to execute
17
Q

Round-Robin Scheduler

A
  • Invocation: at the expiration of a fixed time interval q (quantum) or if the currently running request completes (preemptive)
  • Policy: selects the job waiting the longest since the time time it was processed in the quantum
18
Q

Slowdown (Scheduling)

A
  • Response_time / requested_time
19
Q

When is the schedule produced by RR the same as the one produced by FIFO?

A
  • When q is greater than or equal to the longest job in the system
20
Q

When is RR not fair?

A
  • For I/O-bound tasks