



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!




School of Computer Science Georgia Institute of Technology
CS4803DGC, Spring 2009 Prof. Hyesoon Kim
Sample Exam, Feb 5, 2009
Name :
Problem 1 (15 points):
Problem 2 (10 points):
Problem 3 (10 points):
Problem 4 (10 points):
Problem 5 (10 points):
Problem 6 (10 points):
Total (65 points):
Note: Please be sure that your answers to all questions (and all supporting work that is required) are contained in the space provided.
Note: Please be sure your name is recorded on each sheet of the exam.
Problem 1 (15 points):
A byte-addressable computer has a small data cache capable of holding eight 32-bit words. Each cache block consists of one 32-bit word. When a given program is executed, the processor reads data from the following sequence of hex addresses:
This pattern is repeated two times.
Part a. Show the contents of the cache at the end of each pass throughout this loop if a direct-mapped cache is used. Compute the hit rate for this example. Assume that the cache is initially empty.
Part b. Repeat part (a) for a fully-associative cache that uses the perfect LRU-replacement algorithm.
Part c. Repeat part (a) for a four-way set-associative cache that uses the perfect LRU-replacement algorithm.
Problem 3 (10 points):
Part a (5 pts) List at lest 2 hardware structures that must be replicated in a data path to support SMT architectures.
Part b. (5 pts) Discuss at least two major differences between designing game console architectures and desktop processors.
Problem 4 (10 points):
A computer has a 4KB write back cache. Each cache block is 4B, the cache is 2-way set associative and uses the true LRU replacement policy. Assume 16-bit address space and byte-addressable memory. How big (in bits) is the tag store? You do not need to worry about space for cache coherence state.
Problem 6 (2*5 = 10 points)
For each of the following statements, indicate whether it is true or false. (Please assume design choices that we discussed in the class. )