1. Consider a small direct-mapped cache with 256 blocks, cache is initially empty, Block size = 32 bytes. The following
Posted: Fri May 20, 2022 11:41 am
1. Consider a small direct-mapped cache with 256 blocks, cache is initially empty, Block size = 32 bytes. The following memory addresses are referenced: 0x01FFF8AC, 0x01FFF8AA, Ox01EFESAC, 0x01 EFE8BC, 0x01 EEE8BC, Ox01EEE8BC. Map addresses to cache blocks and indicate whether hit or miss 2. Consider a program with the given characteristics a. Instruction count (I-Count) = 106 instructions b. 300000 of instructions are loads and stores c. Cache access time (Hit time) of 1 cycle = 2 ns d. D-cache miss rate is 5% and I-cache miss rate is 1% e. Miss penalty is 100 clock cycles for instruction and data caches • Compute combined misses per instruction and memory stall cycles • Find the AMAT