Memory Hierarchy Isolated Time (ns) Cumulative Time (ns) Global Hit Rate Weighted Time…
- User
Memory Hierarchy Isolated Time (ns) Cumulative Time (ns) Global Hit Rate Weighted Time (ns) L1 Cache 10 10 8.74 L2 Cache 28 5.50% L3 Cache 29 57 1.71 RAM 45 3.28% 3.3456 Disk 7380 0.82% 61.3524 AMAT: (Rewrite the table first. Don't fill in any blanks yet. Do that after your arithmetic) Complete the blanks on your own, and report your value for AMAT. Please note that the units are already defined at the top of the column, and you therefore do not need to specify it again in your answer. As far as the number of digits of significance to use, you should match that of the weighted time with the most digits of significance, which are the ones for RAM and Disk. In other words, your answer should specify four digits past the decimal point. No more, no less.
Outline a solution in steps first, then actually implement it piece by piece. Show all your work explicitly (write out all the arithmetic explicitly)
In the AMAT question above, if you are asked to redesign L1 cache to cut 10% off the total memory access time, it is technically possible? Never mind how hard it might be, does the math say you could do it?
a) Yes
b) No
- Assistant
To determine if it's possible to cut 10% off the total memory access time, we first need to calculate the current Average Memory Access Time (AMAT).
Step 1: Calculate the hit rate for each level of the cache hierarchy. For L1 Cache: Global hit rate is not given, so it remains blank for now. For L2 Cache: Global hit rate is 5.50%. For L3 Cache: We need to subtract the sum of L1 Cache and L2 Cache hit rates from the next level hit rate (RAM). L3 Cache Global Hit Rate = RAM Hit Rate - (L1 Cache Hit Rate + L2 Cache Hit Rate) L3 Cache Global Hit Rate = 3.28% - (0% + 5.50%) = 3.28% - 5.50% = -2.22% Since the calculated hit rate is negative, it means there is an error in the given hit rates, and we can't complete this step.
Step 2: Calculate cumulative time for L2 Cache and L3 Cache. For L2 Cache: Cumulative time is given as 28 ns. For L3 Cache: Cumulative time is not given, so it remains blank for now.