Question: 5.16 As described in Section 5.7, virtual memory uses a page table to track the mapping of virtual addresses to physical addresses. This exercise shows

 5.16 As described in Section 5.7, virtual memory uses a page

5.16 As described in Section 5.7, virtual memory uses a page table to track the mapping of virtual addresses to physical addresses. This exercise shows how this table must be updated as addresses are accessed. The following data constitute a stream of virtual byte addresses as seen on a system. Assume 4 KiB pages, a four- entry fully associative TLB, and true LRU replacement. If pages must be brought in from disk, increment the next largest page number. Decima1 4669 22 hex 2 227 13916 34587 48870 12608 49225 0x123d0x08b3 0x365c 0x871b |0xbee6 0x3140 0xc049 Physical Page Number Time Since Last Access Valid Tag 0x7 0 Page table Valid Physical Page or in Disk 5 Index 0 0 5 0 0 12 5.16.1 [10] For each access shown above, list whether the access is a hit or miss in the TLB, whether the access is a hit or miss in the page table, whether the access is a page fault, the updated state of the TLB 5.16.2 [ 15] Repeat Exercise 5.16.1, but this time use 16 KiB pages instead of 4 KiB pages. What would be some of the advantages of having a larger page size? What are some of the disadvantages? 5.16 As described in Section 5.7, virtual memory uses a page table to track the mapping of virtual addresses to physical addresses. This exercise shows how this table must be updated as addresses are accessed. The following data constitute a stream of virtual byte addresses as seen on a system. Assume 4 KiB pages, a four- entry fully associative TLB, and true LRU replacement. If pages must be brought in from disk, increment the next largest page number. Decima1 4669 22 hex 2 227 13916 34587 48870 12608 49225 0x123d0x08b3 0x365c 0x871b |0xbee6 0x3140 0xc049 Physical Page Number Time Since Last Access Valid Tag 0x7 0 Page table Valid Physical Page or in Disk 5 Index 0 0 5 0 0 12 5.16.1 [10] For each access shown above, list whether the access is a hit or miss in the TLB, whether the access is a hit or miss in the page table, whether the access is a page fault, the updated state of the TLB 5.16.2 [ 15] Repeat Exercise 5.16.1, but this time use 16 KiB pages instead of 4 KiB pages. What would be some of the advantages of having a larger page size? What are some of the disadvantages

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!