Awesome q2a theme
0 votes
95 views
Formula 1
 
EAT with page fault in demand paging =
Page fault rate * {Effective Access Time without page fault + Page fault service time} + (1 - Page fault rate) * {Effective Access time without page fault}
 
Where,
Effective Access Time without page fault =
Hit ratio of TLB * {Access time of TLB + Access time of main memory}
+ Miss ratio of TLB * {Access time of TLB + (L + 1)* Access time of main memory}
 
and,
 
= Number of levels of page table.

Formula 2

EAT =
TLB hit ratio(TLB AT + MMAT)
+
TLB miss ratio[ page hit ratio * (TLB AT + 2*MMAT))
                      +
                       page fault ratio * (PFST) ]

Can we use both formulas while solving questions ? I am getting confused when to apply which formula. According to me we should always use formula 1.

in Operating System by (4.1k points) | 95 views
0

@srestha

Please explain.

0

@Satbir

I told u , how much I got.

That try with some numerical question.

Otherwise, only theory is not enough for these question.

So much I think.

0

https://gateoverflow.in/238144/test-series?show=238174#a238174

https://gateoverflow.in/110724/demand-paging?show=110987#a110987

@srestha

Please tell me what is difference in these 2 questions and why have you considered page fault in case of TLB hit.

0
No idea bro, Just stick with the basic formula of paging, all previous year questions are based on that only
0

@Satbir

yes, no difference

but, one is for single level page table and another 3-level page table. So, some calculation difference will be there.

And where r u getting mistake?

Please log in or register to answer this question.

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
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Jul 2020
  1. Shaik Masthan

    39 Points

  2. hiteshpujari

    9 Points

  3. fazin

    7 Points

  4. srestha

    7 Points

  5. gaurav2697

    6 Points

  6. Venkatesh Akhouri

    6 Points

  7. Meghana518

    6 Points

  8. athenahermes

    6 Points

  9. bittujash

    6 Points

  10. Pawan_k

    6 Points

7,557 questions
1,783 answers
10,868 comments
90,491 users