Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Both the machines MS1 and MS2 have same cache hit ratio of 4/7=57.14% Answer only (f) Two otherwise identical memory systems, MS1 and MS2, have
Both the machines MS1 and MS2 have same cache hit ratio of 4/7=57.14%
Answer only (f)
Two otherwise identical memory systems, MS1 and MS2, have slightly different cache configurations. Both systems have an 8MB memory that is byte-addressable, and a unified single-level cache that is divided into 8 lines. However, the cache in the first memory system (MS1) is: direct-mapped, 64-bit lines, no-write-allocate, write-through, while the cache in the second memory system (MS2) is: 4-way set- associative, 64-bit lines, LRU, write-allocate, write-back. 1st 2nd 3rd 4th 5th 1 st 2nd 3rd 4th 5th F F E F E F F F F E F E F R R 000FFO MS: Iteration Instruction 1st 2nd Eetch/Execute (F/E) F Read/Write (R/W) R Address (Hex) 000FF0000FF2 Line (Hex) Tag (Hex) Hit/Miss (H/M) Allocate line? (Y/N) Set (Hex) Tag (Hex) Hit/Miss (H/M) MS2 Allocate line? (Y/N) Write back? (Y/N) Free Lines (Set 0) Free Lines (Set 1) f) Suppose in this benchmarking experiment, the average access time of MS and MS2 turns out to be 20 ns and 25 ns respectively. Calculate the access time of the cache used in MS1 and MS2 given that the access time of the main memory is known to be 150 ns
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