ITS235 - Chapter 5: CPU Scheduling

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/38

encourage image

There's no tags or description

Looks like no tags are added yet.

39 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

short-term scheduler

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

3
New cards

nonpreemptive scheduling

once a process starts using the CPU, it runs until it finishes or moves to a waiting state

4
New cards

preemptive schedulingdis

OS can interrupt and pause a currently running process before it finishes, moving it back to the ready queue

5
New cards

dispatcher module

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

6
New cards

dispatch latency

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

7
New cards

CPU utilization

keep the CPU as busy as possible

8
New cards

throughput

number of processes that complete their execution per time unit

9
New cards

turnaround time

amount of time to execute a particular process

10
New cards

waiting time

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

11
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)

12
New cards

convoy effect

short process behind long process

13
New cards

shortest-job-first

associates with each process the length of its next CPU burst - use these lengths to schedule the process with the shortest time

14
New cards

priority scheduling

a priority number is associated with each process - the CPU is allocated to the process with the highest priority (smallest integer = highest priority)

15
New cards

starvation

problem = low priority processes may never execute

16
New cards

aging

solution = as time progresses increase the priority of the process

17
New cards

round robin

each process gets a small unit of CPU time - after this time has elapsed, the process is preempted and added to the end of the ready queue

18
New cards

multilevel queue

ready queue is partitioned into separate queues

19
New cards

foreground

(interactive)

20
New cards

background

(batch)

21
New cards

multilevel feedback queue

a process can move between the various queues; aging can be implemented this way

22
New cards

thread scheduling

23
New cards

process contention scope

scheduling competition is within the process

24
New cards

system contention scope

scheduling competition is among all threads in the system

25
New cards

asymmetric multiprocessing

only one processor accesses the system data structures, alleviating the need for data sharing

26
New cards

symmetric multiprocessing

each processor is self-scheduling, all processes in common ready queue, or each has its own private queue of ready processes

27
New cards

processor affinity

process has affinity for processor on which it is currently running

28
New cards

load balancing

attempts to keep the workload evenly distributed

29
New cards

push migration

periodic task checks load on each processor, and if found pushes task from overloaded CPU to other CPUs

30
New cards

pull migration

idle processors pulls waiting task from busy processor

31
New cards

soft real-time systems

no guarantee as to when critical real-time process will be scheduled

32
New cards

hard real-time systems

task must be serviced by its deadline

33
New cards

interrupt latency

time from arrival of interrupt to start of routine that services interrupt

34
New cards

target latency

interval of time during which task should run at least once

35
New cards

deterministic modeling

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

36
New cards

queueing models

describes the arrival of processes, and CPU and I/O bursts probabilistically

37
New cards

deterministic evaluation

for each algorithm, calculate minimum average waiting time

38
New cards

Little’s law

in steady state, processes leaving queue must equal processes arriving

39
New cards

simulations

programmed model of computer system