Question: Suppose a processor has access to three levels of cache memory. Level 1 and 2 are exclusive to the processor and level 3 is shared
Suppose a processor has access to three levels of cache memory. Level and are
exclusive to the processor and level is shared with other processors. The processor
also has access to the computer main memory. Level has an access time of
microseconds, level has an access time of microseconds and level has an access
time of microseconds. Main memory has an access time of microseconds. Level
contains a subset of the bytes contained in level and level contains a subset
of the bytes contained in level Level contains a subset of the bytes contained in
main memory. It is estimated that of all requested bytes are contained in level
of all requested bytes are contained in level and of all requested bytes
are contained in level of all requested bytes are contained in main memory.
If a byte to be accessed is in level then the processor will directly access it from
level If a byte to be accessed is not in level but in level then the processor
will directly access it from level If a byte to be accessed is not in level and not
in level but in level then the processor will first transfer the block containing
the byte from level to level and then access the byte from level If a byte to be
accessed is not in cache memory at all, then the processor will first transfer the block
containing the byte from main memory to level and then access it from level
For simplicity, ignore the time it takes to transfer bytes between the memory levels.
Moreover, ignore the time that is required for the processor to determine whether a
byte can be found in cache or main memory.
What is the average access time of this system? Write down all intermediate
steps.
What is the hit ratio of level
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
