Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A system is composed of CPU, Disk and Network. The execution of a process proceeds as follows: 1. The process uses the CPU and then

image text in transcribedimage text in transcribed

A system is composed of CPU, Disk and Network. The execution of a process proceeds as follows: 1. The process uses the CPU and then with probability 0.2 proceeds to step 2, with probability 0.3 proceeds to step 3, and with probability 0.5 proceeds to step 4 2. The process performs Disk I/O and then with probability 0.3 proceeds to step 1, and with probability 0.7 proceeds to step 4 3. The process performs Network I/O and then with probability 0.4 proceeds to Step 1 and with proba bility 0.6 proceeds to step 4. 4. The process is leaves the system (perhaps due to an I/O error) The following information is known about this system: Processes arrive according to a Poisson process with an average rate of 40 processes per second The service time of the CPU is exponentially distributed with an average of 15 msec. The service time of the Disk is exponentially distributed with an average of 50 msec The service time of the Network is exponentially distributed with an average of 60 msec. All buffers are of infinite sizes Answer the following questions [3 points each: (a) Draw a queuing diagram depicting the system above. (b) Which resource is the bottleneck resource? (c) What is the average total turnaround time for a process submitted to the above system? (d) What is the probability that a process would not experience any waiting time once it gets submitted to the CPU? (e) What arrival rate would render this system unstable! A system is composed of CPU, Disk and Network. The execution of a process proceeds as follows: 1. The process uses the CPU and then with probability 0.2 proceeds to step 2, with probability 0.3 proceeds to step 3, and with probability 0.5 proceeds to step 4 2. The process performs Disk I/O and then with probability 0.3 proceeds to step 1, and with probability 0.7 proceeds to step 4 3. The process performs Network I/O and then with probability 0.4 proceeds to Step 1 and with proba bility 0.6 proceeds to step 4. 4. The process is leaves the system (perhaps due to an I/O error) The following information is known about this system: Processes arrive according to a Poisson process with an average rate of 40 processes per second The service time of the CPU is exponentially distributed with an average of 15 msec. The service time of the Disk is exponentially distributed with an average of 50 msec The service time of the Network is exponentially distributed with an average of 60 msec. All buffers are of infinite sizes Answer the following questions [3 points each: (a) Draw a queuing diagram depicting the system above. (b) Which resource is the bottleneck resource? (c) What is the average total turnaround time for a process submitted to the above system? (d) What is the probability that a process would not experience any waiting time once it gets submitted to the CPU? (e) What arrival rate would render this system unstable

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

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

Students also viewed these Databases questions

Question

Explain strong and weak atoms with examples.

Answered: 1 week ago

Question

Explain the alkaline nature of aqueous solution of making soda.

Answered: 1 week ago

Question

Comment on the pH value of lattice solutions of salts.

Answered: 1 week ago