0 0 votes CO & Architecture cache-memory + – Shivangi Parashar 2 1.5k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes System is like CPU ->LEVEL1 CACHE -> LEVEL2 CACHE So effective memory access time =Hit of level 1 *(Access time of level 1) + (Miss of level 1)(Access of level 1 + access of level 2) =.95*(10) + 0.05 *(100+10)=15 sec But in question they asked for AVERAGE ACCESS TIME FOR WORD so its = Total time /Number of words. total time = 100*10 + 4900*110= 540000 number of words are 5000 so time = 540000/5000=108.nano sec SHUBHAM SHASTRI answered Sep 6, 2018 • edited Sep 7, 2018 by SHUBHAM SHASTRI SHUBHAM SHASTRI comment Share Follow See all 10 Comments 10 10 Comments reply Shivangi Parashar 2 commented Sep 7, 2018 reply Follow flag why 0.5 is taken it should be 0.05? 0 0 replyShare SHUBHAM SHASTRI commented Sep 7, 2018 reply Follow flag oh!! yes i went wrong there 0 0 replyShare Magma commented Sep 7, 2018 reply Follow flag SHUBHAM SHASTRI Is this is a correct answer ?? I don't think so here , they didn't given that number of words = 5000 words they say that L2 holds : 5000 words 0 0 replyShare SHUBHAM SHASTRI commented Sep 7, 2018 reply Follow flag but number of words in Level 2 cache are 5000 and we are supposed to access them .. Definately i agree with you but thing is like..they have mention that only ..so we should take that 0 0 replyShare himanshu19 commented Sep 7, 2018 reply Follow flag @shubham I think 110 should be multiplied by 5000 and overall division. By 5100 0 0 replyShare Shivangi Parashar 2 commented Sep 7, 2018 reply Follow flag Should we consider word level transfer or block transfer? 0 0 replyShare SHUBHAM SHASTRI commented Sep 7, 2018 reply Follow flag @himanshu19 i also thought the same that there are 5100 Words ...but as you know that Level 1 cache conaitns those words which are in Level 2 .. because we always copy words/Blocks from lower level memory to upper level memory ... correct me i am wrong 0 0 replyShare SHUBHAM SHASTRI commented Sep 7, 2018 reply Follow flag i have edited answer please check once 0 0 replyShare himanshu19 commented Sep 7, 2018 reply Follow flag @shubham I find nothing wrong in your explanation .....answer should be mentioned for such questions .... 0 0 replyShare SHUBHAM SHASTRI commented Sep 7, 2018 reply Follow flag @shivangi can you share the solution ?? 0 0 replyShare Please log in or register to add a comment.