Question

The SRPT scheduling policy is important because it minimizes mean response time. Runting suggests that the...

The SRPT scheduling policy is important because it minimizes mean response time. Runting suggests that the problem with SRPT is that it picks jobs with the shortest remaining time, whereas to minimize mean slowdown we want to choose jobs that have both short remaining time and also small original size. Runting proposes that we use the RS algorithm, which computes the product of a job's current remaining size (R) and its (original) size (S), and then runs that job whose product (RS) is smallest. Is Runting right?

(a) Explain the intuition behind the RS algorithm for minimizing mean slowdown.

(b) Prove or disprove that the RS algorithm minimizes mean slowdown on every arrival sequence. If it minimizes mean slowdown, provide a proof. If it does not minimize mean slowdown, provide a counterexample.

RS is also known as SPTP.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution: a) . The shortest remaining time algorithm will choose the process that has shortest remaining time to execute nextb) RS algorithm will not work on every arrival sequence. Counter example: Let the arriving sequence be 10(5),20(4), 30(10) wh

Add a comment
Know the answer?
Add Answer to:
The SRPT scheduling policy is important because it minimizes mean response time. Runting suggests that the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • FISCAL POLICY IN THEORY: March, 2020: we are on the verge of Congress and the President...

    FISCAL POLICY IN THEORY: March, 2020: we are on the verge of Congress and the President passing legislation that will empower the federal government to spend an unprecedented amount of EXTRA money not seen since World War 2 ---- in order to address the pandemic but also to help cushion the blow financially of perhaps ten or twenty million Americans --- or more --- losing their jobs, and thus suffering a drop in income. The scale of the 2020 recession...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT