Question

10. (10 pts) A process runs on an average for T msec before blocking for some...

10. (10 pts) A process runs on an average for T msec before blocking for
some I/O activity. A context switch takes on an average S msec. For
round-robin scheduling with a quantum of Q msec (S not included in
Q), give a formula for CPU eciency for each of the following (de ne
CPU eciency as the fraction of time spent running the process):
(a) Q = 1.
(b) S < Q < T.
(c) Q is nearly 0.

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

Griven Avesage time that a pocess uns before blocking yo r 、T msec -) Context SultchTime, s msec if 0 msec, then to un theb) Given Date Avevage time that a PDs funs, before blocking for yo → Context Supitch time = ts m sec -) Time Quantum ะ 、6 mc sneasly o o, then almost there りeeds to te a context-satch. sl msec these ω、ll be a cm text[With Hence 0 Hence no cPo efft

Add a comment
Know the answer?
Add Answer to:
10. (10 pts) A process runs on an average for T msec before blocking for some...
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
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