Question: Consider the 3 processors with different cache configurations a . Cache 1 : Direct - mapped with one - word blocks b . Cache 2
Consider the processors with different cache configurations
a Cache : Directmapped with oneword blocks
b Cache : directmapped with word blocks
c Cache : Twoway set associative with word blocks
The following are the miss rates
a Instruction miss rate is and data miss rate is
b Instruction miss rate is and data miss rate is
c Instruction miss rate is and data miss rate is
For the processors, onehalf of the instructions contain a data reference. Assume
that the cache miss penalty is Block size in words. The CPI for this workload was
measured on a processor with cache and was found to be Determine which
processor spends the most cycles on the cache miss.
points If the cache access time determines the processors clock cycle time,
which is often the case, AMAT may not correctly indicate whether one cache
organization is better than another. If the processors clock cycle time must be
changed to match that of a cache, is this a good tradeoff? Assume the processors
are identical except for the clock rate; assume references per instruction and a
CPI without cache misses of The miss penalty is cycles for both processors.
a What is the AMAT for the original machine with a MHz clock which takes a
clock cycle for cache hit with a miss rate of
b What is the AMAT for the new machine that doubles the cache size to reduce the
miss rate to but causes the hit time to increase by
c What is the impact on the execution time if the new hit time is the clock cycle
time?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
