Given the following page table and assuming 64-word pages. and assume that the T
ID: 3678788 • Letter: G
Question
Given the following page table and assuming 64-word pages.
and assume that the TLB for the above page table is 2-way associative and contains the following entries:
How large (in words) is each of the virtual address space and the physical address space?
For each of the following memory references (virtual addresses) determine whether the reference results in a TLB hit or miss, and whether it results in a page fault or not. Also determine the physical address for each reference that does not result in a page fault:
Show the content of both the page table and the TLB after the above 4 references. Assume LRU replacement for the TLB and assume that physical pages not referenced in the page table are free and can be allocated on page faults.
valid physical page # 0 0 1 110 0 1 001 0 0 1 000 1 111 1 101 0 0 0 0 0 0Explanation / Answer
Offset for both pages and frames is the same to comply with design. In the problem, offset is 64, so offset for page = offset for frame = 2^6.
No of pages-2^4
Total bits needed to give logical address to each word of each page = 4+6=12 where 16 are the total pages in the page table so 2^4 so 4+6
Since there are 5 bits needed to uniquely define each frame,the Physical address will require 5+6 = 11bits.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.