Chapter 7, Deadlock and Indefinite Postponement, suggests a scheme for avoiding indefinite postponement. Suggest an appropriate modification to the SSTF scheme to create a “nonstarving SSTF.” Compare this new version with regular SSTF with regard to throughput, mean response time, and variance of response times.

What will be an ideal response?


Incorporate an aging mechanism so that the priority of waiting requests increases as
the requests wait. Eventually, the priority will become higher than that of any other request,
and the waiting request will be serviced. Nonstarving SSTF will have a slightly smaller
throughput, a slightly larger mean response time, and a lower variance of response times.

Computer Science & Information Technology

You might also like to view...

When a function returns a value of true or false, it acts as a condition.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Sorted data can be ordered

A) from lowest to highest value. B) from highest to lowest value. C) using a bubble sort algorithm. D) using a selection sort algorithm. E) in all of the above ways.

Computer Science & Information Technology

Which of the following statements is true?

a. Methods and instance variables can both be either public or private. b. Information hiding is achieved by restricting access to class members via keyword public. c. The private members of a class are directly accessible to the clients of a class. d. None of the above is true.

Computer Science & Information Technology

Is it possible to have several return statements in a function? Does a return statement have to return a value? Explain both answers.

What will be an ideal response?

Computer Science & Information Technology