• edited by
12,635 views
30 30 votes

Consider a virtual memory system with FIFO page replacement policy. For an arbitrary page access pattern, increasing the number of page frames in main memory will

  1. always decrease the number of page faults
  2. always increase the number of page faults
  3. sometimes increase the number of page faults
  4. never affect the number of page faults

5 Answers

Best answer
38 38 votes

Answer is (C).

Belady anomaly is the name given to the phenomenon in which increasing the number of page frames results in an increase in the number of page faults for certain memory access patterns. This phenomenon is commonly experienced when using the First in First Out (FIFO) page replacement algorithm

• edited by
0 0 votes
Due to belady's anomaly, the Increase in number of frames does not always implies Less page faults in memory. It occurs in FIFO and FIFO Based replacement techniques which are Non stack based algorithms.

Ans is (C).

Other algorithms which shows belady's anomaly are :
1. Random Page replacement
2. Second chance LRU approximation when all of the Reference bits are 1.
0 0 votes
Its belady's anamoly. Here by increasing the no of page frames we expect the page fault to decrease but it actually increases. this happens extensively in FIFO but not in optimal, lru, lfu etc.. Hope u all like this answer
0 0 votes
As usual we know that increases of page frames  the page faults rate decreases but in FIFO suffers from belady anamoly , so sometimes it increases the page fault along the increases of the frames .
Answer:
Position:
Show:

Related questions

83 83 votes
7 answers 7 answers
85.9k
85.9k views
Kathleen asked Sep 14, 2014
85,908 views
Consider a machine with $64$ MB physical memory and a $32$-bit virtual address space. If the page size is $4$ KB, what is the approximate size of the page table?$\text{16...
12 12 votes
4 answers 4 answers
4.3k
4.3k views
go_editor asked Feb 8, 2018
4,289 views
Consider a relation examinee (regno, name, score), where regno is the primary key to score is a real number.Write an SQL query to list the regno of examinees who have a s...
12 12 votes
3 3 answers
4.3k
4.3k views
go_editor asked Feb 8, 2018
4,322 views
Consider a relation $\text{examinee (regno, name, score)},$ where regno is the primary key to score is a real number.Suppose the relation $\text{appears (regno, centr_cod...
22 22 votes
2 answers 2 answers
7.5k
7.5k views
Kathleen asked Sep 14, 2014
7,477 views
Consider a relation examinee (regno, name, score), where regno is the primary key to score is a real number.Write a relational algebra using $( \Pi, \sigma, \rho, \times)...