Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer any four questions of the following list: 1- How do clustered systems differ from multiprocessor systems? What is required for two machines belonging to

Answer any four questions of the following list:

1- How do clustered systems differ from multiprocessor systems? What is required for two machines belonging to a cluster to cooperate to provide a highly available service?

2- What are the two models of interprocess communication? What are the strengths and weaknesses of the two approaches?

3- What resources are used when a thread is created? How do they differ from those used when a process is created?

4- Under what circumstances does a multithreaded solution using multiple kernel threads provide better performance than a single-threaded solution on a single-processor system?

5- Suppose that the following processes arrive for execution at the times indicated. Each processwill run for the amount of time listed. In answering the questions, use nonpreemptive scheduling, and base all decisions on the information you have at the time the decision must be made.

Process Arrival Time Burst Time P1 0.0 8 P2 0.4 4 P3 1.0 1

a. What is the average turnaround time for these processes with the FCFS scheduling algorithm?

b. What is the average turnaround time for these processes with the SJF scheduling algorithm?

6- Consider the following set of processes, with the length of the CPU burst time given in milliseconds:

Process Burst Time Priority P1 2 2 P2 1 1 P3 8 4 P4 4 2 P5 5 3

The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0.

a. Draw a Gantt chart that illustrate the execution of these processes using Round Robin Algorithm (quantum = 2).

b. What is the turnaround time of each process?

c. What is the waiting time of each process?

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_2

Step: 3

blur-text-image_3

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

c. What groups were least represented? Why do you think this is so?

Answered: 1 week ago