Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Plese explain the output ( attached ) why using SWITCH _ ON _ IO and IO _ RUN _ IMMEDIATE will have this result in

Plese explain the output (attached)why using SWITCH_ON_IO and IO_RUN_IMMEDIATE will have this result in deatil as i am so confuse of what the command do.Also, please answer the question below. Thankyou!
output:Time PID: 0 PID: 1 PID: 2 CPU IOs
1 RUN:io-start READY READY 1
2 WAITING RUN:cpu READY 11
3 WAITING RUN:cpu READY 11
4 WAITING RUN:cpu READY 11
5 WAITING RUN:cpu READY 11
6* RUN:io-start READY READY 1
7 WAITING RUN:cpu READY 11
8 WAITING DONE RUN:cpu 11
9 WAITING DONE RUN:cpu 11
10 WAITING DONE RUN:cpu 11
11* RUN:io-start DONE READY 1
12 WAITING DONE RUN:cpu 11
13 WAITING DONE RUN:cpu 11
14 WAITING DONE DONE 1
15 WAITING DONE DONE 1
16* DONE DONE DONE
Stats: Total Time 16
Stats: CPU Busy 13(81.25%)
Stats: IO Busy 12(75.00%)
Question:Now run the same processes process-run.py, but with -I
IO_RUN_IMMEDIATE set, which immediately runs the process that issued the I/O.
How does this behavior differ? Why might running a process that just completed an
I/O again be a good idea?
image text in transcribed

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

More Books

Students also viewed these Databases questions