Question: CPU sets up VO Operation CPU makes VO call Program A Executing Program A executes VO CPU Walts for completion of CPU resumes execution of

 CPU sets up VO Operation CPU makes VO call Program A

CPU sets up VO Operation CPU makes VO call Program A Executing Program A executes VO CPU Walts for completion of CPU resumes execution of VO command command Program A This problem is more tedious than difficult so please bear with me. The diagram above shows a timeline for a program performing an 1/0 operation is a system that does not use interrupts. Assume the following timings: Program A has a total execution time of 1000 time units The CPU requires 10 time units to setup and initiate an 1/0 operation The I/O operation takes 100 time units to complete. Program A begins execution at time t = 0 and invokes an 1/0 operation at time t = 200. a) At what time does Program A complete its execution? Please show your work. b) The time required to setup the I/O operation and initiate the VO operation is considered to be "real" work whereas the time spent being idle is obviously wasted computational time. What percentage of the total time required to complete the execution of Program A is wasted computation time? Please show your work

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!