作者garnettooo (絕代風華賈奈特)
看板Grad-ProbAsk
標題[理工] 作業系統問題
時間Wed May 17 12:50:03 2017
大家好,我在研讀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!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.115.219.23
※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1494996606.A.2CD.html
推 TWkobe: 他的意思是考慮兩種情境: 1)真實平行計算, 兩個job是同時 05/17 18:56
→ TWkobe: 開始 2)切換兩個job交叉獲得cpu time執行 05/17 18:57
→ garnettooo: 感謝kobe大 05/18 14:50