Scheduling: FCFS + Round Robin Flashcards
(6 cards)
1
Q
FIFO Scheduling
A
- CPU Utilisation (max 100%, often given as number 0..1)– Percentage of time CPU running application code
- Throughput– Number of processes completed per unit time (obv. depends on size)
- Turnaround time– Time between process submission and completion
- Waiting time– Sum of time waiting in Ready Queue (i.e. it could run/ use CPU)
- Response time– Time between submission and start of first output/ interaction
2
Q
what is Round Robin
A
Round Robin scheduling gives each process a fixed time slot (quantum) to run on the CPU. If a process doesn’t finish during its turn, it’s paused and moved to the back of the queue, and the next process gets its turn.
3
Q
Time Quantum
A
A fixed time slice given to each process
4
Q
Fairness
A
Every process gets an equal opportunity
5
Q
Preemptive
A
If a process exceeds its time quantum, it’s interrupted and re-queued
6
Q
A