Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a memory system composed of a single cache and DRAM. The parameters of the memory system are given below: - Memory address: 1 6
Consider a memory system composed of a single cache and DRAM. The parameters of the memory
system are given below:
Memory address: bit
Cache line size: bytes
Cache capacity: bytes
Setassociativity:
Replacement policy: LRU
Writeback, writeallocate policy
Cache access latency: cycles
DRAM access latency: cycles
A points How many bits are required for a tag for a cache line in this cache?
B points What is the total storage overhead per cache line other than the tag bits if cache
coherence is not supported ie the cache is for a uniprocessor Examine the design
parameters carefully one by one and make sure that all the features are supported.
C points If MESI coherence protocol support is added to the cache, what is the minimal
amount of additional storage overhead per cache line required? Ignore the transient states
for this problem.
D Assume the cache is initially empty. Consider the following memory references given as byte
addresses where each reference is for a wordsized data:
xDDAC, xxAxDDAC, xFCxDAxAxAxFC
xAxDDA
Da points What is the cache miss rate?
Db points What is the average memory access time in cycles?
Dc points Let n be the number of conflict misses and let m be the number of capacity
misses. What is the value of n x m
Dd points Let n be the number of cache hits from the temporal locality and let m be the
number of cache hits from the spatial locality. What is the value of n x m
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started