[理工] 作業系統問題

作者: 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