presentation

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

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:13 AM on 7/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

5 Terms

1
New cards

Def

Now I will explain Preemptive Priority Scheduling.

This is a CPU scheduling algorithm where each process is assigned a priority. The CPU always runs the process with the highest priority. If a new process with a higher priority arrives, it can interrupt the current process and take control of the CPU

2
New cards

Adv

The main advantages are that it provides fast response times for important tasks, making it suitable for real-time systems, and ensures critical processes get CPU time quickly.

3
New cards

Disadv

However, it also has some disadvantages. It can cause more overhead because of frequent context switching, and maintaining priority information requires extra processing.

4
New cards

Starvation

A major problem is starvation, where low-priority processes may wait for a very long time because higher-priority processes keep running.

5
New cards

Aging

To solve this, we use aging. Aging gradually increases the priority of waiting processes, allowing them to eventually get CPU time and preventing indefinite waiting.