Question: 2. (12 pts) Cache Performance: For the following cache memory system, Parameter Number of cache lines Line size Cache access time Main memory access time

2. (12 pts) Cache Performance: For the following cache memory system, Parameter Number of cache lines Line size Cache access time Main memory access time Main memory address space Cache hit rate Value 2048 16 words (i.e., 64 bytes) 2 ns/line 10 ns/word 1GB (i.e., 256Mwords) 90% (a) What is the effective access time of a cache memory system? (b) In case the cache is direct-mapped cache, label the fields of the memory address below used to access the cache and indicate the name and size of each field (in number of bits). Assume that memory is byte- addressed. bits _ _bits bits (c) In case the cache is 4-way set-associative cache, label the fields of the memory address below used to access the cache and indicate the name and size of each field in number of bits). Assume that memory is byte-addressed. bits bits bits (d) In case the cache is fully-associative cache, label the fields of the memory address below used to access the cache and indicate the name and size of each field (in number of bits). Assume that memory is byte-addressed. L :_bits _ bits _: __bits - :__bits |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
