Question: A processor accesses main memory with an average access time of T2. A smaller cache memory is interposed between the processor and main memory. The
a. For any single memory access, what is the theoretical speedup of accessing the word in the cache rather than in main memory?
b. Let T be the average access time. Express T as a function of T1, T2, and H. What is the overall speedup as a function of H?
c. In practice, a system may be designed so that the processor must first access the cache to determine if the word is in the cache and, if it is not, then access main memory, so that on a miss (opposite of a hit), memory access time is T1 + T2. Express T as a function of T1, T2, and H. Now calculate the speedup and compare to the result produced in part (b).
Step by Step Solution
3.43 Rating (162 Votes )
There are 3 Steps involved in it
a Speedup time to access in main memorytime to access in cache T 2 T 1 b The average access ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
896-C-S-S-A-D (2314).docx
120 KBs Word File
