Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consider virtual addressing of 32 bits. Assume that the page size is 16 MB. YOU

ID: 642070 • Letter: C

Question

Consider virtual addressing of 32 bits. Assume that the page size is 16 MB. YOU have 2 GB of RAM. a. How many entries do you need in the page table? b. How many bits are needed to index the page table? c. Assume that Table 1 lists all the virtual pages that are currently in physical memory. ifa virtual page is not listed in Table 1, it implies any address in that range will result a page fault. Translate the virtual addresses below to the physical address using Table 1 and mention which will be hit and which will cause a miss:

Explanation / Answer

a) number of entries in the page table = total RAM/page size

= 2GB/16MB

= 2X1024 MB/16MB

= 128

b) number of bits to index the page table = log 2 128 = 7

c)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote