Highest Ratio Response Next

HRRN stands for Highest Ratio Response Next. HRRN is basically the modification of shortest Job First (SJF) in order to reduce the problem of starvation. Starvation means that a process waits for a process very long time without getting the CPU. In HRRN, CPU is assigned to the next process has the highest response ratio and not the process having less burst time. However, the highest ratio response next is non pre-emptive scheduling in nature. Therefore the criteria of highest ratio response next is response ratio (RR).

Formula of HRRN

  • HRRN = (WT+BT) \ BT

Where,

W = Waiting Time

B = Burst Time or Service Time

Example of HRRN Scheduling

Suppose there are five processes P1, P2, P3, P4 and P5 having different burst time.

Note: If you have trouble understanding the above table or its calculations, read our detailed guide on First Come First Serve (FCFS), where each column, formula, and calculation is explained step by step in easy words.

Advantages of HRRN

  • Every process gets a chance to execute.
  • Reduce average waiting time.
  • It gives fair chance to all process.

Disadvantages of HRRN

  • In this method, requires calculating response ratios.
  • A running process can not be interrupted.
  • HRRN requires estimated burst time of each process.