P4-L7: non preemptive scheduling algorithms

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

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.

11 Terms

1
New cards

first come, first served (FCFS)

Processes are scheduled in the order they arrive. Simple but can cause convoy effect

2
New cards

shortest job first (SJF)

Runs the process with the shortest burst time first. Optimal for waiting time, but can cause starvation.

3
New cards

turnaround time

completion time - arrival time

4
New cards

waiting time

turnaround time - burst time

5
New cards

priority scheduling (non preemptive)

Each process has a priority number.
Lower value = higher priority.
If two processes have the same priority, use FCFS.

6
New cards

starvation

When low-priority processes never get to run because higher-priority ones keep coming in

7
New cards

aging

A technique to prevent starvation by gradually increasing a process’s priority the longer it waits.

8
New cards

convoy effect

Occurs in FCFS when a long process delays all others, especially I/O-bound ones

9
New cards

Transitional Scheduling: SRTF

Shortest Remaining Time First – preemptive version of SJF, where a running process can be interrupted by a shorter one.

10
New cards

gantt chart

A timeline diagram showing when each process runs and when it finishes. Often used to calculate turnaround/waiting times.

11
New cards

ready queue

The list of processes that are ready to run but waiting for CPU time