3 3 votes Consider a $\color{maroon}{\text{single-level cache}}$ with an access time of $2.5$ ns, a line size of $64$ bytes, and a hit ratio of $\large\color{maroon}{\text{H } = 0.95}$. Main memory uses a block transfer capability that has a first word ($4$ bytes) access time of $50$ ns and an access time of $5$ ns for each word thereafter. A. What is the access time when there is a cache miss? Assume that the cache waits until the line has been fetched from main memory and then re-executes for a hit. b. Suppose that increasing the line size to $128$ bytes increases the $\large\color{marron}{\text{H}}$ to $0.97$. Does this reduce the average memory access time? CO & Architecture co-and-architecture cache-memory + – dd 1.9k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
2 2 votes A. What is the access time when there is a cache miss? Assume that the cache waits until the line has been fetched from main memory and then re-executes for a hit. Directly given there is miss. Total Words=64B/4B = 16 So Total Time = 2.5ns +[ 1*50ns + 15*5ns ] + 2.5 = 130ns For part B. https://gateoverflow.in/11135/consider-the-following papesh answered Dec 18, 2016 • edited Dec 18, 2016 by papesh papesh comment Share Follow See all 5 Comments 5 5 Comments reply Show 2 previous comments joshi_nitish commented May 12, 2017 reply Follow flag @papesh why are you adding 2.5 two times... first time it will only search cache and second time it will access a cache.. according to you, cache search time = cache access time, but genrally we neglect cache search time?? 0 0 replyShare reena_kandari commented Oct 18, 2017 reply Follow flag It will be added only one time. 0 0 replyShare Swarnava Bose commented Jan 22, 2022 reply Follow flag Why did you include 2.5 ns two times ? Why did you not include the miss ratio or hit ratio ? 0 0 replyShare Please log in or register to add a comment.