Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

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

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago