Chapter 6 Flashcards

1
Q

What is a Short-Term scheduler?

A

It selects from among the processes in ready queue, and allocates the CPU to one of them.

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

When CPU scheduling may take place?

A
  1. Switches from running to waiting state
  2. Switches from running to ready state.
  3. Switches from waiting to ready
  4. Terminates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Scheduling under 1 and 4 is?

A

Nonpreemtive

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

When is scheduling preemptive?

A

When scheduling is not 1 and 4

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

What is a Dispatcher?

A

Dispatches module gives control of the CPU to the process selected by the short-term scheduler

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

What involves Dispatcher?

A

Switching context
Switching to user mode
Jumping to the proper location in the user program to restart that program

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

What is Dispatch Latency?

A

Time it takes for the dispatcher to stop one process and start another one

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

List Scheduling Criteria?

A
CPU Utilization
Throughput
Turnaround time
Waiting time
Response time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is CPU Utilization?

A

Keep the CPU as busy as possible

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

What is Throughput?

A

of processes that complete their execution per time unit

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

What is Turnaround Time?

A

Amount of time to execute a particular process

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

What is Waiting Time?

A

Amount of time a process has been waiting in the ready queue

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

What is Response Time?

A

Amount of time it takes from when a request was submitted until the first response is produced, not output.

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

Scheduling Algorithm Optimization Criteria?

A
Max CPU utilization
Max throughput
Min turnaround time
Min waiting time
Min response time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is FCFS Scheduling?

A

First-Come, First Served

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

What is Convoy effect?

A

Short process behind long process

17
Q

What is SJF?

A

Shortest Job First Scheduling

Associate with each process the length of its next CPU burst

18
Q

Priority Scheduling?

A

A priority number is associated with each process
The cpu is allocated to the process with the highest priority
Smallest int = highest priority

19
Q

What is the problem in Priority Scheduling?

A

Starvation - low priority processes may never execute

20
Q

What is Solution in priority scheduling?

A

Aging - as time progresses increase the priority of the process

21
Q

What is Round Robin?

A

Each process gets a small unit of CPU time. After the time has elapsed, the process is preempted and added to the end of the ready queue.

22
Q

Multilevel Queue?

A

Ready queue is partitioned into seperate queues

23
Q

Queues in Multilevel?

A

foreground (interactive) -RR

background (batch) - FCFS

24
Q

Highest to Lowest Priority?

A
System Processes
Interactive Processes
Interactive Processes
Interactive Editing Processes
Batch Processes
Student Processes
25
Q

Multilevel-feedback-queue scheduler is defined by?

A
Number of queues
Scheduling algorithms for each queue
Method for Upgrade process
Method for Demote process
Method used to determine which queue a process will enter when that process needs a service.
26
Q

Real - Time Scheduling?

A

Hard real-time systems

Soft real-time computing

27
Q

Hard real-time systems?

A

Required to complete a critical task within a guaranteed amount of time

28
Q

Soft real-time computing?

A

Requires that critical processes receive priority over less fortunate ones

29
Q

What is Analytic Evaluation?

A

Takes a particular predetermined workload and defines the performance of each algorithm for that workload.