Highest response ratio next

Highest response ratio next (HRRN) scheduling is a non-preemptive discipline.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

Highest response ratio next (HRRN) scheduling is a non-preemptive discipline. It was developed by Brinch Hansen as modification of shortest job next or shortest job first (SJN or SJF) to mitigate the problem of process starvation.

In HRRN, the next job is not that with the shortest estimated run time, but that with the highest response ratio defined as response\ ratio = \frac{waiting\ time\ of\ a\ process\ so\ far + estimated\ run\ time}{estimated\ run\ time} = 1 + \frac{waiting\ time\ of\ a\ process\ so\ far}{estimated\ run\ time} This means, the jobs that have spent a long time waiting compete against those estimated to have short run times. As you can see in the above equation of response ratio, if the waiting time of a process increases, its response ratio increases making the long-awaited process to execute next.

So, this algorithm solves the starvation problem that exists in SJN scheduling algorithm.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1174365661 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001174365661 · captured 2023-09-07 · not yet sealed in the ledger · verify the chain · version history

Cite this page as: encyclopegia.org, “Highest response ratio next”, snapshot enwiki-001174365661. https://encyclopegia.org/a/highest-response-ratio-next

Sources cited in this revision

No external citation was extracted for this revision. That is a statement about the source, not a claim that none exists.