Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( a ) ( i ) What is Principle of Locality for memory access? ( ii ) Discuss if data access ( global and local
ai What is Principle of Locality for memory access?
ii Discuss if data access global and local variables satisfies this principle.
iii Explain why way set associative cache always has a smaller cache miss
rate.
Why directmapped cache is still used?
b Consider a hypothetical machine with words of cache memory. They are
in twoway set associative organization, with cache block size of words, using
FIFO replacement algorithm. The cache hit time is ns Suppose the machine
can access words of memory in parallel, and the time to transfer the first
words from main memory to cache is while each subsequent words
require ns
Consider the following read pattern in blocks of words, and block id starts
from
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