CPU Scheduling Flashcards
A process under execution in the CPU that can be interrupted by other process.
Preemptive Scheduling
A process with CPU allocated to it can keep the CPU until it releases it by terminating or switching to waiting state.
Nonpreemptive Scheduling
The percentage of time the CPU is busy.
CPU Utilization
The number of process that complete their excution per time unit.
Throughput
The amount of time it takes a process to excute.
Turnaround Time
The amount of time the process spends in the ready queue.
Waiting Time
The amount of time it takes a process to produce its first response since it submitted a request.
Response Time
The processes are based on their arrival times FIFO.
First Come First Serve - FCFS
The process cannot be preempted until it completes its CPU Brust Time.
Nonpreemptive Shortest Job First - Nonpreemptive SFJ
A process is put on pause if another one with a Brust Time less than the Remaining Time of the currently executing process is requesting execution.
Preemptive Shortest Job First - SFJ OR Shortest Remaining Time First - SRTF
Each process gets a Quantum Time, after that time elapses (ends), the process is preempted and added to the end of the Ready Queue.
Round Robin - RR
Based on the Priority Number the process was assigned, it executes and cannot be preempted until it completes its CPU Brust Time.
Nonpreemptive Priority
Based on the Priority Number the process was assigned, it executes and can be preempted if a new process with a higher priority arrives.
Preemptive Prority
It is the most optimal amoung all the nonpreemptive algorithms.
Nonpreemptive SJF
It is the most optimal amoung all the preemtive algorithms.
Preemptive SJF (SRTF)