Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Operating system Assume a multiprogramming system (1 CPU) and 3 I/O processors. Assume only 3 processes will run on the system simultaneously. The use of

Operating system

Assume a multiprogramming system (1 CPU) and 3 I/O processors. Assume only 3 processes will run on the system simultaneously. The use of CPU and I/O by each process is shown below. All processes arrived in this order: A, B, C. Assume the O/S requires 2 cycles each invocation. No other processes will appear in the system until all processes are finished. Default Quantum is 5 units. Service requests are processed prior to time outs. All I/Os are started on second cycle just as in the example provided. What time units will each process finish? Assume first come first serve Round Robin in the ready state (INITIAL ORDER IS A,B,C). Note: The last 2 cycles are for O/S.

A: 5 cpu, 15 i/o, 10 cpu

B: 15 cpu

C: 5 cpu, 6 i/o, 4 cpu, 8 i/o, 5 cpu

Process

|

A |

|

B |

|

C |

|

O/S|

|

+....+....+....+....+....+....+....+....+....+....+....+....+....+....+

1 1 2 2 3 3 4 4 5 5 6 6 7

0 5 0 5 0 5 0 5 0 5 0 5 0 5 0

NOTE: Horizontal-line=CPU, Zig-Zag-line=I/O, |=End-Unit-Period, ]=Done

(1 Point each):

1) When will A finish: ___

2) When will B finish: ___

3) When will C finish: ___

4) How many cycles did the O/S get to process these processes: ___

5) Could the O/S itself be interrupted requiring more O/S cycles? _____

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

More Books

Students also viewed these Databases questions

Question

Discuss why unions exist.

Answered: 1 week ago

Question

4. What actions should Bouleau & Huntley take now?

Answered: 1 week ago