839 views
1 votes
1 votes
Suppose: TLB lookup time = 20 ns

TLB hit ratio = 80%

Memory access time = 75 ns

PFST = 500,000 ns

50% of the pages are dirty

OS uses a single level page table

What is the approximated effective access time (EAT) if we assume the page fault rate is 10%? Assume the cost to update the TLB, the page table, and the frame table (if needed) is negligible.

1 Answer

1 votes
1 votes
we have a simple formulae for this but before that few thing to say:-

dirty means that the page is modified
tlb hit=tlb access time+main memory access time
tlb miss=tlb access time+k(k is number of levels of page table)*main memory access time+(1-p)*main memory access time{if no page fault}+p(PFST).
if PFST is not given then d(m+2D)+(1-d)(m+D) d is probability of dirty pages and D is Secondary memory access time
emat=tlb hit ratio(2)+tlb miss ratio(3)

calculate and find answer

Related questions

0 votes
0 votes
0 answers
1