[理工] 作业系统问题

楼主: garnettooo (绝代风华贾奈特)   2017-05-17 12:50:03
大家好,我在研读CPU schedule的时候看到以下问题,想请问大家会如何解?
1.Multiple jobs can be run in parallel and finish faster than if they
had run sequentially.Suppose that two jobs, each needing 10 minutes of
CPU time, start simultaneously.How long will the last one take to
complete if they run sequentially?How long if they run in parallel.
Assume 50% I/O wait.
thanks!
作者: TWkobe (中华柯比)   2017-05-17 18:56:00
他的意思是考虑两种情境: 1)真实平行计算, 两个job是同时开始 2)切换两个job交叉获得cpu time执行https://goo.gl/dKQdvc
楼主: garnettooo (绝代风华贾奈特)   2017-05-18 14:50:00
感谢kobe大

Links booklink

Contact Us: admin [ a t ] ucptt.com