0 votes 0 votes Operating System effective-memory-access operating-system co-and-architecture ace-test-series + – Na462 asked Jan 21, 2019 • edited Mar 3, 2019 by I_am_winner Na462 1.1k views answer comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments Shaik Masthan commented Jan 22, 2019 reply Follow Share the given answer is correct ! By default we have to assume sequential access. 0 votes 0 votes Na462 commented Jan 23, 2019 reply Follow Share @Shaik Masthan brother How sequential by default it is hierarchical access of memory 0 votes 0 votes Shaik Masthan commented Jan 23, 2019 reply Follow Share hierarchical or sequential are synonyms parallel or simultaneous are synonyms 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes If you don't assume hierchical structure, then it will be like TLB1 access time+(miss rate of TLB1 * TLB2 access time)+(miss rate of TLB1 * miss rate of TLB2 *MAIN memory access time) =10+0.9*20+0.9*0.8*1000=7228 Priyadrasta Raut answered Jan 21, 2019 Priyadrasta Raut comment Share Follow See all 4 Comments See all 4 4 Comments reply Na462 commented Jan 21, 2019 reply Follow Share What you have done is basically hierarical , One doubt Why you didnt take TLB search time ? 0 votes 0 votes Priyadrasta Raut commented Jan 21, 2019 reply Follow Share In hierarchical we have to add sequential memory access time as access time. The formula will be hit rate of TLB 1*TLB1 access time+(miss rate of TLB1 * hit rate of TLB2(TLB1access time+TLB2 access time))+(miss rate of TLB1 * miss rate of TLB2 *(TLB1 access time +TLB2 access time +MAIN memory access time)) 0 votes 0 votes Na462 commented Jan 21, 2019 reply Follow Share Why didnt you add the TLB search time why only access time ?? any reason for that 0 votes 0 votes newdreamz a1-z0 commented Jan 21, 2019 reply Follow Share it is given that L1 and L2 for caches for most of the questions i have seen whenever they are talking about levels it refers to hiearachial structure : you can use any formulae: hit rate of L1 cache=h1 hit rate of L1 cache=h2 access time of L1 cache=t1 access time of L2 cache=t2 access time of MM=t3 h1*(t1)+(1-h1)*h2(t1+t2)+(1-h1)*(1-h2)*(t1+t2+t3) or t1+(1-h1)*{ t2+(1-h2)*t3 } solving by 1: 0.1*10+0.9*0.2*(10+20)+0.9*0.8*(10+20+10000). all units are in ns =7228 ns for 1000 logical address it will take 1000*7228ns==7228 micro sec [P.S - answer will be 7228000 in ns please check the question again and correct me if i am wrong] 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes L1 hit + L1 miss then (L2 hit + L2 miss (Page Table access)) => 0.1 (10) + 0.9(0.2*(10+20) + 0.8*(10+20+10000)) = 7228 ns smsubham answered Mar 18, 2020 smsubham comment Share Follow See all 0 reply Please log in or register to add a comment.