Calculate Cache Hit or Miss?
imalizain
Question
A program that you are running has following memory access pattern
0x04, 0x08, 0x16, 0x24, 0x04, 0x08, 0x016, 0x024
assuming 1 word per block, least recently used (LRU) replacement policy and an empty cache at the start determine if each memory access is a hit or miss and calculate the miss rate for the entire memory access pattern if the processor has:
a) 8-word direct mapped cache
b) 16-word direct mapped cache
c) 8-word 2-way set associat5e cache
d) 16-word 2-way set associat5e cache
e) 32-word fully associative cache
Details
Attachments
Purchase An Answer Below