Suppose a multi-programming operating system is allotting time slices of 50 milliseconds.?

2014-11-05 2:25 pm
If it normally takes 8 milliseconds to position a disk's read/write head over the desired track and another 17 milliseconds for the desired data to rotate around to the read/write head, how much of a program's time slice can be spent waiting for a read operation from a disk to take place? If the machine is capable of executing ten instructions each microsecond, how many instructions can be executed during this waiting period? Show the details of all calculations.

回答 (1)

2014-11-05 3:00 pm
well 8+17 = 25 ms so how much of 50 ms is 25ms ... half

25ms / (0.001ms * 10 inst) = 25 / 0.01 = 2500 instructions


收錄日期: 2021-04-15 17:12:11
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20141105062527AAa86Xe

檢視 Wayback Machine 備份