Draw a scheduling chart to show how the io and cpu are


Consider a system running two CPU-bound Cl and C2, and four I/O bound jobs 01, 02, 03, 04. Each I/O bound task issues an I/O operation once every 1 millisecond of CPU.

Each I/O operation takes 3 milliseconds. Assume that there is only one I/O device (so multiple I/O requests may have to queue). Assume that the context switch takes 0.2 milliseconds.

Assume that each CPU bound requires 15 milliseconds of CPU to complete and each I/O-bound task requires 4 milliseconds of CPU time. Assume that all jobs are in the Ready queue at time 0, in the order Cl, C2, 01, 02, 03, 04.

Draw a scheduling chart to show how the I/O and CPU are allocated and compute the average turnaround times for the CPU-bound and I/O bound task. Use the following table to keep track of all events and Ready/Blocked (I/O) queues.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Draw a scheduling chart to show how the io and cpu are
Reference No:- TGS01132458

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)