Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a pre-emptive priority processor scheduler. There are three processes P1, P2, and P3 in the job mix that have the following characteristics: Process Arrival

Consider a pre-emptive priority processor scheduler. There are three processes P1, P2, and P3 in the job mix that have the following characteristics:

Process

Arrival

Time

Priority

Activity

P1

0 sec

1

8 sec CPU burst followed by

4 sec I/O burst followed by

6 sec CPU burst and quit

P2

2 sec

3

64 sec CPU burst and quit

P3

4 sec

2

2 sec CPU burst followed by

2 sec I/O burst followed by

2 sec CPU burst followed by

2 sec I/O burst followed by

2 sec CPU burst followed by

2 sec I/O burst followed by

2 sec CPU burst and quit

Diagram showing process execution:

image text in transcribed

1) What is the turnaround time for each of P1, P2, and P3?

Solution:

2) What is the average waiting time for this job mix?

Solution:

CPU P1 I/O Time 64 P3 Pl P3 P1 P3 P1 P3 Pl 2 2 2 2 2 2 2 6 P3 P3 P3 P1 2 2 2 2 2

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

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions

Question

The FSM below contains _ _ _ _ _ states.

Answered: 1 week ago

Question

=+What is the nature of the plant or site-level role of unions?

Answered: 1 week ago