Examlex

Solved

Consider an Architecture That Uses Virtual Memory, a Two-Level Page

question 18

Essay

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.


Definitions:

Nondisjunction

A genetic anomaly during cell division where chromosomes fail to separate properly, leading to gametes with abnormal numbers of chromosomes.

XY Pair

Refers to the male sex chromosomes in humans and most other mammals where XY denotes a male genotype.

Reciprocal Translocation

A genetic phenomenon where parts of two different chromosomes exchange places without changing the total amount of genetic material.

Homologous Chromosomes

Pairs of chromosomes in a diploid organism that are similar in shape, size, and genetic content but may carry different alleles.

Related Questions