1,482 views
–1 votes
–1 votes
TLB lookup time ($t_h$) = 20 ns

TLB hit ratio ($h_t$) = 99%

Memory access time ($t_s$) = 100ns

Page fault rate ($h_p$) = 0.05%

Swap page time (in or out) ($t_p$) = 5000,000 ns

What is the effective access time (EAT) if we assume that all pages currently in main memory are dirty?

1. 5118.91 ns

2. 51.21 ns

3. 5120.9 ns

4. None of the above.

1 Answer

0 votes
0 votes
EAT=No PageFault(TLB hit+TLB miss)+Page Fault(TLB hit+TLB miss+Page swap time)

     $=0.9995\left ( 0.99\left ( 100+20 \right )+0.01\left ( 100+100+20 \right ) \right )+

0.0005\left (  0.99\left ( 100+20 \right )+0.01\left ( 100+100+20 \right )+5000000 \right )$

=2621ns

Related questions

2 votes
2 votes
0 answers
2
2 votes
2 votes
1 answer
3
3lurryface asked Jan 9, 2019
1,053 views
If there is 2 or more level paging for processes, is it possible to have more than 1 page fault while accessing any single addressable unit(byte or word) ?