A computer with a single CPU, i.e. one core, has to process 5 batch processes, A through E. Suppose their estimated running times are 10, 6, 2, 4, and 8 minutes respectively, e.g. process A is estimated to take 10 minutes to complete. If the priority system is first come - first served, at what times will each process be finished?
A computer with a single CPU, i.e. one core, has to run 5 batch processes, A through E. Suppose their estimated running times are 10, 6, 2, 4, and 8 minutes respectively, e.g. process A is estimated to take 10 minutes to complete, B takes 6 minutes, etc.
If the priority system is round robin, at what times will each process be finished?
What is the CPU utilization if there are 4 processes running at the same time, and on average the CPU spends 20% of its time waiting on I/O completion?
Using the CPU utilization formula on page 96, solve the following problem. Suppose the CPU has to wait 40% of its time on I/O completion, and there are two processes that need to run: A and B. If A and B takes 10 minutes each of CPU time, then how long will it take for them to run sequentially? How much time in parallel?