1 1 vote Consider a system with 2-levels of paging and a TLB with hit rate of 95% and TLB access time of 1ns. Find the effective memory access time if there’s a data cache whose hit rate is 85% and cache access time is 1ns, and main memory access time is 100ns. 100ns. 27ns 25ns 30ns 20ns Operating System operating-system translation-lookaside-buffer paging hit-ratio + – Neal Caffery 4.4k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
3 3 votes method "1" EMAT=TLB HIT( Cache Hit( TLB A.T + Cache A.T) + Cache Miss( TLB A.T + Cache A.T + M/M A.T) +TLB Miss( Cache Hit( TLB A.T + 2*M/M A.T + Cache A.T) + Cache Miss(TLB A.T + 2*M/M A.T + Cache A.T + M/MAT =.95[.85*(1+1)+.15(1+1+100)] + .05[.85(1+200+1) +.15(1+200+1+100) = 26.99 =27 Method "2" EMAT=.95[1+.85(1)+.15(1+100)] + .05[1+200+.85(1)+.15(1+100) ] =27 similar example :- https://gateoverflow.in/100831/operating-system-cache?show=100831#q100831 Prateek kumar answered Apr 23, 2017 Prateek kumar comment Share Follow See 1 comment 1 1 comment reply sachin486 commented Sep 7, 2020 reply Follow flag i can see that you have solved the question in assumption that page table is not in cache, only pages are in the cache and page table is in main memory.. since it is two level paging wouldn’t it better to have page tables in cache and pages in memory for better access time. can anyone clear my doubt? 0 0 replyShare Please log in or register to add a comment.
0 0 votes Is it 17.35 nsec? nandini gupta answered Jan 17, 2017 nandini gupta comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes Answer 1. 27ns Ram Swaroop answered Jun 29, 2019 Ram Swaroop comment Share Follow 0 reply Please log in or register to add a comment.