CH6 - CPU Scheduling

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

CPU-I/O Burst Cycle

Process execution consists of a cycle of CPU execution and I/O wait

2
New cards

_______ distribution is of the main concern

CPU Burst

3
New cards

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

Short-term scheduler

4
New cards

CPU scheduling decision when a process

  1. Switches from running to waiting state

  2. Switches from running to ready state

  3. Switches from waiting to ready

  4. Terminates

5
New cards

Scheduling under 1 and 4 is ____________

nonpreemptive

6
New cards

Dispatcher

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

7
New cards

Dispatcher includes _________

  • switching context

  • switching to user mode

  • jumping to the proper location in the user program to restart that program

8
New cards

Dispatch latency

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

9
New cards

Scheduling Critieria

  1. CPU utilization

  2. Throughput

  3. Turnaround time

  4. Waiting time

  5. Response time

10
New cards

CPU utilization

keep the CPU as busy as possible

11
New cards

Throughput

# of processes that complete their execution per time unit

12
New cards

Turnaround time

amount of time to execute a particular process

turnaround time=completion time-arrival time

13
New cards

Waiting time

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

waiting time=turnraround time-burst time

14
New cards

Response time

amount of time it takes from when a request was submitted until the first response is produced, not output (for time-sharing environment)

15
New cards

Convoy effect  

Short process first and then long process

16
New cards

Starvation

low priority processes may never execute

17
New cards

Aging

as time progresses increase the priority of the process