operating-systems scheduling

Definition

Highest Response Ratio Next (HRRN)

Highest Response Ratio Next (HRRN) is a scheduling strategy that selects the process with the highest response ratio, defined as:

where is the time spent waiting in the Ready Queue and is the estimated service time.

Characteristics

  • Selection Function: The process with the maximum is chosen.
  • Decision Mode: Non-preemptive.

Advantages

  • Fairness: Unlike SPN, HRRN prevents starvation. As a process waits, its numerator increases, eventually ensuring that even a long process will have the highest ratio.
  • Efficiency: Favours shorter processes (smaller ) while gradually increasing the priority of longer-waiting processes.
  • Overhead: Like SPN, it requires the estimation of service times.