Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 1 : Consider a machine with a byte addressable main memory of 6 4 Kbyte with 8 byte Block size. Assume that direct mapped
Q: Consider a machine with a byte addressable main memory of Kbyte with byte Block size.
Assume that direct mapped cache consisting lines. Write answer of the following questions Marks
aHow Kbyte Main memory address divided into tag, blockline number, and byte number
b Into what line would bytes with each of the following addresses be stored?
:
:
:
:
FA:
ECF:
cSuppose the byte with address is stored in the cache. What
are the addresses of other bytes stored along with it
dHow many total bytes of memory can be stored in the cache?
Q: Assume a way set associative cache of size KB each block having four
bit words. The system is based on bit physical address and uses byte addressing.
Find the total number of offsets, index and tag bits. Marks
Main Memory Size :
Tag Bits:
Offset Bits:
Index Bits:
Q: Assume a directmapped cache of Byte and data access sequence given below where the
memory and its contents are shown in the table on the right. Assume byte addresses and a
byte data block. You are required to design a cache and calculate a Cache Hit and Miss
Operations Address
Read xB
Read xC
Read x
Read x
Read x
Read x
Read xC
Read x
Read x
Read xA
Read xCC
Read xA
Read x
Read xCC
Read x
Hits: Hit Rate:
Miss: Miss Rate:
Q: computer system has a twolevel cache hierarchy consisting of a Level L cache and a Level
L cache. The system services memory requests with the following characteristics:
L cache serves memory requests, out of which requests result in a cache hit.
L cache serves memory requests, out of which requests result in a cache hit.
L cache access time: nanosecond ns
L cache access time: ns
Main memory access time miss penalty: ns
Calculate the following:
The percentage of memory accesses that result in a cache hit in the L cache.
The percentage of memory accesses that result in a cache hit in the L cache.
The number of memory accesses that result in a cache miss in both the L and L caches.
The effective access time EAT for this cache hierarchy.
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