edited by
929 views
0 votes
0 votes

edited by

2 Answers

0 votes
0 votes

 

          Request     Allocated    Needed

   R1    R2   R3  R1     R2   R3  R1    R2    R3
P1  2      1      0  1        0     0    1       1     0
P2  1      3      2   0        1     1   1       2     1 
P3   0      0      2   0        0     1   0       0     1

 

After Above allocations, system has R1,R2 and R3 has 2,3 and 2 instances available Respectively.

So all available resources can be used......

 Using FCFS : First complete process P1 then P2 and in last  P3.

 

 

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
4