Scheduling Algorithms
How to guess the length of a CPU burst
It is only possible to estimate,
so it would be a good idea to look at previous bursts by that process
This is can be done using an equation
Exponential averaging
Note: alpha is normally set to 0.5, also note alpha is the weighting of nth burst in the calculation

Time Quantum
Time Quantum q - time allocated to each process (about 10-100ms)
Note too much context switching will slow things down, too little and then process response time is too low...
How do I pick the size of q?
80% of bursts should be shorter than q.
Different Algorithms
FCFS
SJF
SRJF (preemptive SJF)
RR









