Lecture_13-CSCIU511-Jahangir_Majumder-Spring_2025

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/13

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:46 AM on 3/1/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

14 Terms

1
New cards
What does FCFS stand for in scheduling algorithms?
First Come, First Served
2
New cards
What is the main disadvantage of the FCFS scheduling method?
Long jobs can delay every subsequent job.
3
New cards
What is the Shortest Job First (SJF) scheduling algorithm’s goal?
To execute the task that has the shortest remaining amount of work first.
4
New cards
What is the preemptive form of SJF called?
Shortest Remaining Time First (SRTF)
5
New cards
What defines Round Robin (RR) scheduling?
It assigns a fixed time quantum to each process in a cyclic order.
6
New cards
What is a key issue in selecting a time quantum for Round Robin scheduling?
If too short, too many context switches occur; if too long, response to interactive requests is delayed.
7
New cards
What is the effect of starvation in scheduling algorithms?
Longer processes may be indefinitely delayed if shorter processes keep arriving.
8
New cards
What is Max-Min Fairness in scheduling?
It aims to maximize the minimum allocation given to a task to ensure fairness.
9
New cards
How does priority scheduling work?
Processes are assigned priorities, and the highest priority process is allowed to run.
10
New cards
What is the main advantage of Multi-level Feedback Queue (MFQ)?
It provides responsiveness for short tasks, low overhead, and fairness among equal priority tasks.
11
New cards
How does FIFO handle tasks of different sizes?
FIFO has poor average response time if tasks are variable in size, but is optimal if tasks are equal in size.
12
New cards
What is one potential problem when using MFQ on a multiprocessor system?
Contention for a central scheduler spinlock can become a bottleneck.
13
New cards
What is the benefit of per-processor affinity scheduling?
It maximizes cache reuse by keeping threads on the same processor they most recently ran on.
14
New cards
What happens to processor allocation in oblivious scheduling?
Each processor time-slices its ready list independently of others, which can lead to uneven resource distribution.