Consider an architecture that uses virtual memory, a two-level page table for address translation, as well as a TLB to speed up address translations. Further assume that this machine uses caches to speed up memory accesses. Recall that all addresses used by a program are virtual addresses. Further recall that main memory in the microarchitecture is indexed using physical addresses. The virtual memory subsystem and cache memories could interact in several ways. In particular, the cache memories could be accessed using virtual addresses. We will refer to this scheme as a virtually indexed, virtually tagged cache. The cache could be indexed using virtual addresses, but the tag compare could happen with physical addresses (virtually indexed, physically tagged). Finally, the cache could be accessed using only the physical address. Describe the virtues and drawbacks for each of these systems. Be sure to consider the case where two virtual addresses map to the same physical address.
Correct Answer:
Verified
Q23: Caching. "One of the keys to happiness
Q24: You are given an empty 16K 2-way
Q25: Assume an instruction cache miss rate for
Q26: Invalidation vs. Update-based Protocols.
(a) As miss latencies
Q27: Caches: Misses and Hits
int i;
int a[1024*1024]; int
Q28: Virtual Memory
(a) 32-bit Virtual Address Spaces. Consider
Q30: How many total SRAM bits will be
Q31: TLB's are typically built to be fully-associative
Q32: Describe the general characteristics of a program
Q33: (a) What is the hit and miss
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents