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
2
Q
Preemptive Resource
A
- A resource that can be temporarily interrupted to serve a different request
3
Q
Scheduling Overhead
A
- Any extra computation done while scheduling
4
Q
Processor-Bound Applications
A
- Applications with relatively long jobs and brief interactions with I/O devices
5
Q
I/O-Bound Applications
A
- Applications with short jobs and relatively long intervals of I/O waiting time
6
Q
Job
A
- An interval of execution that can be entirely conducted on the processor
7
Q
Task
A
- A sequence of jobs
8
Q
Scheduler Invocation
A
- Describes when the scheduler is invoked
9
Q
Scheduling Policy
A
- Describes the function according to which a job is selected to run
10
Q
Response Time (Scheduling)
A
- Process-centric
- The time between job release and completion
11
Q
Fairness (Scheduling)
A
- Process-centric
- The difference between the quality of service provided to different classes of jobs
12
Q
Utilization (Scheduling)
A
- System-centric
- The utilization of the resource with the considered scheduler
13
Q
Throughput (Scheduling)
A
- System-centric
- The rate at which requests are completed
14
Q
Complexity (Scheduling)
A
- System-centric
- The difficulty of correctly implementing and analyzing a scheduling algorithm
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
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