The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
64 views

Page fault rate = p

Main memory access time  = m

Page fault service time = PS

EMAT = (1-p) (m) + (p) (PS + m)

OR

EMAT = (1-p) (m) + (p) (PS)


which one is right ...if page fault occurs should we consider [ Page fault service time + MM ]  OR [  Page fault service time only  ]

 

asked in Operating System by Loyal (6.4k points) | 64 views
0
+1

it's depend upon definition of page fault service.

if page fault service means, Accessing the page in secondary memory + Loading the page in main memory + Accessing the page in Main memory

then your second formula EMAT = (1-p) (m) + (p) (PS) is right 

 

if page fault service means, Accessing the page in secondary memory + Loading the page in main memory

then your first formula EMAT = (1-p) (m) + (p) (PS+M) is right 

 

but it is not mentioned clearly which one is correct !

while solving the answer, apply Both formulas, one of them should be in the answer,

if both answers in the options, go with you preffered one !

0

WHat about numerical answer type..mostly EMAT questions are numerical answer type

Can you please Check this :

EMAT  =  [ VA  --> PA ] + Memory access after getting PA

 

1) VA --> PA ==> Ht( tlb time ) + (1-Ht)(tlb time + k* m )

After this we will get Page table entry ...At that very moment we can figure out Page fault / not by looking V / I bit \

 

2) If no page fault ==> Memory access after getting PA ==> m

 

3) If page fault Memory access after getting PA =>(1-p) (m) + p(Page fault service time)

| PS = Accessing the page in secondary memory + Loading the page in main memory + Accessing the page in Main memory

 

+1
i also follow this method only

Please log in or register to answer this question.

Related questions

+3 votes
1 answer
2
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
48,411 questions
52,746 answers
183,341 comments
68,213 users