SJF Scheduling

Schedule the job whose next CPU burst is the shortest

Two schemes:

Non-preemptive

SJF gives the minimum average waiting time for a given set of processes

Limitations

SJF doesn’t always minimize the average turnaround time

Estimate CPU burst length based on past bursts

Use exponentially weighted average