• retagged by
4,406 views
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.

  1.   27ns
  2.  ​​​​​​​ 25ns
  3.  ​​​​​​​ 30ns
  4.  ​​​​​​​ 20ns

3 Answers

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

Position:
Show:

Related questions

1 1 vote
0 0 answers
1.4k
1.4k views
Neal Caffery asked Jan 17, 2017
1,397 views
Consider a memory system consists of a single external cache with an access time of 30ns and a hit rate of 0.85, and a main memory with an access time of 80ns. Now we add...
0 0 votes
1 1 answer
2.1k
2.1k views
rahuljai asked Dec 3, 2018
2,110 views
Why the formula used here is not P(10) + (1-P)(50) = 20 ?;A computer keeps its page tables in memory. The time required to read a word from the pagetable is 50ns. To redu...
5 5 votes
1 answers 1 answer
1.4k
1.4k views
habedo007 asked Aug 8, 2017
1,397 views
A computer has a 128-entry $L_1$ TLB, 1024-entry $L_2$ TLB, and uses page size of 4KB. A program reads a 1MB array, one byte at a time from start to end, 10 times. Assumi...
0 0 votes
0 0 answers
2.0k
2.0k views
Abhipsa asked Jan 27, 2019
1,959 views
A demand paging uses a TLB and a single level page table stored in main memory. The memory access time is 5s. The page fault service time is 25s. If 70% of access is in T...