Home CPU Scheduling Disk Scheduling Page Replacement Deadlock


Longest Job First (LJF)

Longest Job First (LJF) is a non-preemptive scheduling algorithm. This algorithm is based upon the burst time of the processes. The processes are put into the ready queue based on their burst times i.e., in a descending order of the burst times. As the name suggests this algorithm is based upon the fact that the process with the largest burst time is processed first. The burst time of only those processes is considered that have arrived in the system until that time.

Lets try to Run and Understand how this Algorithms actually WORK