


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Answer all of the following SIX questions. The questions are quite specific. If, however, some confusion should arise, be sure to state all your assumptions explicitly.
The Exam Committee tries to proofread the exam as carefully as possible. Nevertheless, the exam sometimes contains misprints and ambiguities. If you are convinced a problem has been stated incorrectly, mention this to the proctor. If necessary, the proctor can contact a representative of the area to resolve problems during the first hour of the exam. In any case, you should indicate your interpretation of the problem in your written answer. Your interpretation should be such that the problem is non-trivial.
Most L1 caches today are physical : indexed and tagged with physical addresses.
(a) How do most L1 caches today avoid the latency penalty of logically performing address translation before an L1 cache lookup? Under what constraints?
(b) What are the pros and cons with switching to a virtual L1 cache? Be sure to consider single-core and multicore issues.
(c) What are the pros and cons with switching from physical to virtual for (i) a private L2, (ii) an L2 shared among a few cores, or (iii) a last-level cache (LLC) among all cores on a chip?
In the 1990’s, microprocessors went from having no memory error detection or correction, to using parity to detect single-bit memory errors, to using SECDED ECC codes to detect double and correct single bit memory errors. Similarly, over the past decade, microprocessors have gone through the same progression for L2 caches. Some systems are even using ECC codes for L1 caches and registers.
(a) Discuss the tradeoffs with using no coding, parity codes only, and SECDED ECC codes at different levels of a uniprocessor cache hierarchy.
(b) How does the choice of code and/or code word size interact with other cache hierarchy management policies, e.g., writethrough vs. writeback and inclusion vs. exclusion.
(c) Conventional ECC codes are designed to tolerate errors that arise while values are stored in the memory hierarchy. However, errors may also arise while communicating values between levels of the memory hierarchy (or between the processor and L1 cache). Discuss how these two problems—tolerating memory and communication errors—are similar and how they are different.
RISC/CISC instruction sets have been the dominant class of ISAs in the literature and commercially. In these ISAs, intruction-level parallelism or other forms of parallelism has been extracted by the underlying microarchitecture.
However, it has been argued over the years in academic work and in some commercial products that exposing parallelism in the ISA has many benefits and can provide power efficient execution, lower complexity processors, or higher performance.
a) Explain one technique that has been proposed for exposing more information in the ISA and how it allowed obtain higher performance than RISC/CISC based machines.
b) Argue that instruction set design and exposing more information in the ISA has a big role in the future in addressing the challenges of power efficiency.