


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.
Translation lookaside buffers (TLBs) are widely used to speed up the process of translation from virtual to physical addresses. Consider an architecture with 64-bit virtual addresses <V 63 V 62 .......V 1 V 0 > and 16K-byte pages. Assume that a TLB has 256 entries.
Show how the bits of a virtual address are used to access the TLB if the TLB is fully associative. Do the same if the TLB is 4-way set associative.
How many bytes of virtual memory are mapped by the fully associative TLB? By the 4-way set associative TLB?
Suppose you wanted to support 2 different page sizes: a 16Kbyte page size and a 1Mbyte page size, in the fully-associative TLB. Discuss options and trade-offs for both modifying the TLB or adding additional structures/mechanisms.
Suppose you wanted to support 2 different page sizes: a 16Kbyte page size and a 1Mbyte page size, in the 4-way set-associative TLB. Discuss options and trade- offs for both modifying the TLB or adding additional structures/mechanisms.
While shared memory programs can share information in arbitrary ways, there can be value in a taxonomy of sharing patterns, such as Weber and Gupta’s classification of sharing into read-only, migratory, mostly-read, frequently read/written, and synchronization.
Describe memory reference characteristics for each of Weber and Gupta’s classification (or another classification of your choosing).
How might cache coherence protocols be adapted to target reference patterns from part (a)?
How might other memory systems aspects be adapted to target reference patterns from part (a)?
Computer designers have for long proposed special-purpose architectures that are very effective at carrying out a specific function, but are less adept than general-purpose processors for running of variety of different applications. Today, with semiconductor technology providing plentiful transistor resources, many are proposing to integrate special-purpose accelerators alongside general-purpose processors. Others are arguing against special-purpose accelerators.
Argue why and under what conditions, if any, special-purpose accelerators are a good idea going forward.
Argue why and under what conditions, if any, special-purpose accelarators are not a good idea going forward.