A program contains a single loop that executes 50 times. The loop includes a computation that lasts
Fantastic news! We've Found the answer you've been seeking!
Question:
A program contains a single loop that executes 50 times. The loop includes a computation that lasts 50 ms followed by an I/O operation that consumes 200 ms. Ten independent executions of this program are started at the same time. The scheduling overhead of the kernel is 3 ms. Compute the response time of the first process in the first and subsequent iterations if
a. The time slice is 50 ms.
b. The time slice is 20 ms.
Related Book For
Process Dynamics And Control
ISBN: 978-0471000778
2nd Edition
Authors: Dale E. Seborg, Thomas F. Edgar, Duncan A. Mellich
Posted Date: