Question: 9 . Consider a generic byte addressable memory hierarchy consisting of the following: a 6 4 - bit virtual address space, a direct - mapped

9. Consider a generic byte addressable memory hierarchy consisting of the following: a 64-bit virtual address space, a direct-mapped L1 I-cache containing 512 blocks with each block containing 64 bytes, and a 16K byte 2-way set associative L1 D-cache with each block containing 128 bytes; a 3M byte 3-way set-associative L2 cache with a block size of 512 bytes; a 10M byte fully-associative L3 cache with a block size of 512 bytes; a segmented-paged virtual memory (48GB physical memory space, 64 segments, 8K pages, using an LRU page replacement policy , and a 8GB swap disk); and a hypervisor re-mapping of physical pages to actual pages (also 8K) that uses nested page tables. Assume that the caches all use real addresses. (a)(4 points) Illustrate the address translation process. (b)(9 points) Define the sizes of the fields in the (i) virtual, (ii) physical, and (iii) real addresses. Document how these sizes are determined. (c)(6 points) Document how these sizes of the virtual, physical, and real addresses are determined. (d)(15 points) Show the decomposition of the cache addresses for cache lookup (you should be showing the decomposition of 4 addresses). Basically Im asking you to draw a rectangle for each address and show how the bits in each address (rectangle) are separated and used to lookup/process that address.

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 Programming Questions!