reshown by
1,092 views
3 votes
3 votes

To calculate EMAT in case of page fault we used:

EMAT= page fault rate*(page fault service time)  + (1-page fault rate)*(memory access time)

My doubt is:

In case of NO PAGE FAULT, why we considered only one memory access time .

Why not two memory accesses, one for page table + one for accessing actual byte. ?

That is:

Why not this formula:

EMAT= page fault rate*(page fault service time)  + (1-page fault rate)* (2 * memory access time)

@arjun sir 

https://gateoverflow.in/318/gate2004-47

Here, in TLB + Page Fault type question,

You considered (VA -> PA time) + memory access time.

 

Then why not we consider address translation time in questions involving only pagefault?

 

reshown by

1 Answer

1 votes
1 votes

This GATE question is similar to your doubt :

https://gateoverflow.in/669/gate2000-2-22

Now, see when only the page fault rate given in the question then we consider that the TLB hit ratio is 100% and we will assume that TLB access time is negligible.

This is Arjun sir Comment on the same question: https://gateoverflow.in/669/gate2000-2-22?show=5230#c5230

Now, this thing arise a question: Is TLB hit lead to the page fault? that answer also you will get in the same comment of Arjun sir.

Related questions