Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

That's all the information about the question that teacher give me for the homework 2. (24 points) Consider a system where there are 3 processes,

That's all the information about the question that teacher give me for the homeworkimage text in transcribed

2. (24 points) Consider a system where there are 3 processes, A, B, and C. Their details are as follows: A: Arrival time = 0, CPU-I/O cycle = B: Arrival time = 2, CPU-I/O cycle = C: Arrival time = 4, CPU-I/O cycle = Assuming the access to I/O devices is concurrent: Show their execution under Round Robin (RR), time quantum = 2 Show their execution under SPN Show their execution under HRRN For each of these runs, identify waiting time for each process. (Recall waiting time = [time when process completes]-[time when process would have completed if there were no competing processes].) Make the following assumptions: 1. Regarding SPN, use the NEXT CPU time to decide the process to be selected. For example, if process A and B are considered to be executing and both are about to execute their first CPU cycle then the time for which they run is 6 and 3, respectively. 2. Regarding HRRN, use the 'total time waiting so far' and 'total service time' in computing HRRN. 3. Note that with round robin, even if the time quantum is 2, if the process starts I/O or finishes after 1 time unit then another process will start immediately

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

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions

Question

=+j Explain the relationship between unions and MNEs.

Answered: 1 week ago

Question

=+Have they changed the way employees view IP?

Answered: 1 week ago