subject
Engineering, 21.02.2020 19:39 wyattmiller

(Operating Systems)

Consider a program that performs the following steps repeatedly:
1. Use the CPU for 2 milliseconds.
2. Issue in I/O to disk for 7 milliseconds.
3. Use the CPU for 5 milliseconds.
4. Issue an I/O to the network for 9 milliseconds.
Assume that each step depends on data obtained from the previous step. Also, assume that it takes 1
millisecond to execute the device driver code for both the disk and the network at the beginning of the I/O.

Answer the following questions:

(a) Draw a time-line diagram that illustrates the utilizations of the CPU, disk, and network over the execution of two iterations of the program above.

(b) What are the utilizations of the CPU, disk and network over these two iterations?

(c & d) Assume that there are two processes of the program above running concurrently, answer parts (a) and (b) for this case showing which part belong to which process.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
Answers: 1
question
Engineering, 04.07.2019 18:10
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
question
Engineering, 04.07.2019 18:10
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
You know the right answer?
(Operating Systems)

Consider a program that performs the following steps repeatedly:
Questions
question
Mathematics, 07.04.2021 18:50
question
History, 07.04.2021 18:50
question
Computers and Technology, 07.04.2021 18:50
question
Advanced Placement (AP), 07.04.2021 18:50
question
Mathematics, 07.04.2021 18:50
Questions on the website: 13722359