Question: Question 3 . [ 3 marks ] Considering a virtual memory system with paging: Assume that the page size is bytes ) , and each
Question marks
Considering a virtual memory system with paging:
Assume that the page size is bytes and each physical and virtual address is
represented by a bit binary or equivalently a digit hexadecimal number. So the
relationship between virtual memory address and virtual page number should be as follows:
A process was assigned physical frames with frame numbers and by the system. This
means that no matter how many virtual pages the process has, all its virtual pages must be
mapped into only the three frames assigned above.
Now it is time spot a larger time value indicates a later point in time The current content
of the page table is shown below with Table in which the "Access time" column shows the
time of the most recent visit to the virtual page in the corresponding row eg indicates that
virtual page is visited most recently at time spot
Page numbers are given in decimal format. The symbol in the virtual page column indicates
that no virtual page has been mapped to the frame that is listed in the same row as the virtual
page. The symbol in the "Access time" column indicates that this physical page is not visited
yet.
Assume that LRU replacement is used for page replacement. This means if all the physical
pages have been mapped with virtual pages, and a different virtual page is accessed, among
the mapped virtual pages, the one with the oldest smallest "access time" will be replaced by
the new virtual page.
From now on the following virtual addresses will be accessed sequentially:
xxFxxABxD at time and respectively.
Please complete the page table after the above four accesses, by filling in the blanks in Table
Note that you are required to input the page numbers in decimal format.
Table : The original page table
Virtual page number Physical page number Access time
Answer:
Table : The page table after the five accesses
Virtual page number Physical page number Access time
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
