3 votes 3 votes Operating System effective-memory-access operating-system page-fault + – Parshu gate asked Nov 28, 2017 Parshu gate 1.1k views answer comment Share Follow See 1 comment See all 1 1 comment reply abhishek tiwary commented Nov 29, 2017 reply Follow Share 1.10ms?? 0 votes 0 votes Please log in or register to add a comment.
5 votes 5 votes EMAT= NoPageFault * m/m access time + PageFault * ( Modified * Service time + NotModified * ServiceTime) EMAT= $0.95*200*10^{-6}+0.05*(0.5*15+0.5*7)$ EMAT=$0.55019 \ msec$ 0.55019 msec is the correct answer Ashwani Kumar 2 answered Nov 29, 2017 • edited Nov 29, 2017 by Ashwani Kumar 2 Ashwani Kumar 2 comment Share Follow See all 4 Comments See all 4 4 Comments reply Parshu gate commented Nov 29, 2017 reply Follow Share If there is no page fault then why will it access the memory? 0 votes 0 votes Ashwani Kumar 2 commented Nov 29, 2017 reply Follow Share if there is no page fault then our page is in main memory, to get that page we need a memory access, if page fault occurs then then a new page is brought to main memory and some other page is replaced in place of it based on some page replacement policy, here two cases arise when we are are replacing the page we check either is modified or not. If a page is modified first its value is written into main m/m then a new page is replaced and if not modified we simply replaces it, this whole time comes under Page service time which comed into picture in case of page fault. 2 votes 2 votes saxena0612 commented Nov 29, 2017 reply Follow Share @Ashwani Kumar 2 how it will result 11 msec? 0 votes 0 votes Ashwani Kumar 2 commented Nov 29, 2017 reply Follow Share @saxena0612 by mistake :p 1 votes 1 votes Please log in or register to add a comment.