retagged by
1,904 views
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?

1 Answer

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 

edited by
Position:
Show:

Related questions

0 0 votes
0 0 answers
553
553 views
dd asked Dec 18, 2016
553 views
A computer has a cache, main memory, and a disk used for virtual memory. If a referenced word is in the cache, 20 ns are required to access it. If it is in main memory bu...
2 2 votes
0 0 answers
1.4k
1.4k views
Shubhanshu asked Aug 5, 2017
1,372 views
According to my calculation, the time required in write back is 240ns and for write through it should be 1920ns. Is it correct or not?
1 1 vote
0 0 answers
492
492 views
Shubhanshu asked Aug 5, 2017
492 views
Figure 4.10Figure 4.12Figure 4.15Fora) 24, 2^16, 4 words, 2^22, 2^14, 8b) 24, 2^16, 4 words, 2^22, 2^14, 22And for c give your answer and verify these answer?
7 7 votes
0 0 answers
3.6k
3.6k views
dd asked Jul 13, 2016
3,618 views
Solution : Some one please explain with correct sequence of steps in each mode and a rough timing diagram.