in Operating System edited by
3,843 views
3 votes
3 votes

Suppose it takes $100$ ns to access a page table and $20$ ns to access associative memory with a $90$% hit rate, the average access time equals :

  1. $28$       
  2. $20$       
  3. $90$      
  4. $100$
in Operating System edited by
3.8k views

2 Comments

28??
2
2
shouldn't it be .9 x 20 + .1 x 120

 

as we are going to look at page table after looking in TLB and founding nothing there.
1
1

1 Answer

4 votes
4 votes
Best answer

access time = time for associative memory * hit ratio + time for main memory 
= 20*0.9 + 100(1-0.9)
=28ns
 

selected by

1 comment

shouldn't it be .9 x 20 + .1 x 120

 

as we are going to look at page table after looking in TLB and founding nothing there.
1
1

Related questions