0 0 votes CO & Architecture + – Ashwani Kumar 2 706 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes 0.7 -Miss Ratio 0.3- Hit Ratio Smriti012 answered Feb 5, 2017 Smriti012 comment Share Follow See all 2 Comments 2 2 Comments reply Ashwani Kumar 2 commented Feb 5, 2017 reply Follow flag Yeah..I also got this but answer given is different Answer is 0.1 0 0 replyShare Smriti012 commented Feb 5, 2017 reply Follow flag Yes its 0.1 , because they had used the concept of spatial locality. On referencing 100, the complete cache block will be available (1 MISS) Since, each cache block contains 4 32-bit words and we have 4 cache lines and four blocks per cache lines..(32 bit word = 4 eight bytes ) Hence on referencing to 100 ....blocks from 101-115 will be available So, on refering 104,108,.........108,103 . (all we be HIT) cache may look like this...: 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 Correct me If I am wrong somewhere!! 0 0 replyShare Please log in or register to add a comment.