Question: Using the provided picture: Assume that the processes have the following page referencing trace Pr 1 has ( P 1 , P 2 , P

Using the provided picture:
Assume that the processes have the following page referencing trace
Pr1 has (P1, P2, P3) allocated to RAM (Pg1, Pg2, P3); and (Pg4, Pg5 on Disk).
Pr1 reference trace:: P1, P2, P2, P3, P4, P1, P1, P2
Pr2: Has (P1-P5) allocated to memory pages (Pg4-Pg8) and (Pages Pg6,7 and 8 on Disk)
Pr2 page reference trace: p1, p2, p3, p4, p4, p5, p6, p1, p7, p8, p8
Pr3 has (P1) allocated to RAM (Pg9) and (Pg2 on Disk).
Pr3 reference trace:: P1, P1, P2, P2, P1
Pr4: has P1 allocated to P10.
Assume that the time required to reference a page in RAM =100 millisecondsl
And the transfer time (disk to memory)=2000 milliseconds.
When you need to replace a page for a particular process, always use the first page in memory which belongs to the same process; for example for Pr1 always replace pg1; for Pr2, always replace pg 4 and so on.
Question:
For each process find the total execution time;
Show the final memory allocation schema.
 Using the provided picture: Assume that the processes have the following

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!