10 – Multiprocessor Scheduling

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

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:11 AM on 8/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

29 Terms

1
New cards

Multicore Processor

the source of multiprocessor-scheduling proliferation

2
New cards

Multicore

multiple CPU cores are packed onto a single chip

3
New cards

Does not, threads

adding more cores _ _ make that single application run faster, you’ll have to rewrite the application to run in parallel, using _

4
New cards

Cache

small, fast memories

5
New cards

Cache

hold copies of popular data that is found in the main memory

6
New cards

Cache

utilize temporal and spatial locality

7
New cards

Main Memory

holds all of the data

8
New cards

Main Memory

access to this is slower than cache

9
New cards

Bus Snooping

each cache pays attention to memory updates by observing the bus

10
New cards

Bus Snooping

when a CPU sees an update for a data item it holds in its cache, it will notice the change and either invalidate its copy or update it

11
New cards

Mutual Exclusion

when accessing shared data across CPUs, _ _ primitives should likely be used to guarantee correctness

12
New cards

Cache Affinity

keep a process on the same CPU if at all possible

13
New cards

Cache Affinity

a multiprocessor scheduler consider _ _ when making its scheduling decision

14
New cards

Single Queue Multiprocessor Scheduling

put all jobs that need to be scheduled into a single queue

15
New cards

Globally shared queue

SQMS, each CPU simply picks the next job from the _ _ _

16
New cards

Lack of Scalability

cons of Single Queue Multiprocessor Scheduling (1)

17
New cards

Cache Affinity Issue

cons of Single Queue Multiprocessor Scheduling (2)

18
New cards

Preserve affinity for most processes

solution to the cache affinity issue

19
New cards

Multi Queue Multiprocessor Scheduling

consists of multiple scheduling queues

20
New cards

Exactly one

MQMS, when a process enters the system, it is placed on _ _ scheduling queue

21
New cards

Information sharing and synchronization

MQMS, avoids the problems of _ _ _ _

22
New cards

Round Robin

with this, MQMS provides more scalability and cache affinity

23
New cards

Migration

how to deal with load imbalance?

24
New cards

Work Stealing

move processes between queues

25
New cards

Low on processes

a source queue that is _ _ _ is picked, work stealing implementation (1)

26
New cards

Peeks

the source queue occasionally _ at another target queue, work stealing implementation (2)

27
New cards

More full, steal

if the target queue is _ _ than the source queue, the source will _ one or more processes from the target queue

28
New cards

High overhead and trouble scaling

cons of work stealing

29
New cards