403 views
3 votes
3 votes
Which of the following is correct, regarding thrashing? (Mark all the appropriate choices)
  1. Increasing the degree of multiprogramming can help in reducing thrashing
  2. Priority page replacement can limit the effects of thrashing
  3. Thrashing can be avoided by allocating maximum number of page frames to the process needing the maximum amount of memory
  4. Thrashing decreases the CPU utilization

1 Answer

4 votes
4 votes
Thrashing occurs when the size of all locality (set of pages used together) across all the running processes exceeds the memory size. So, increasing the degree of multiprogramming can only worsen thrashing. Option A is false.

Option C is also false as even if the process needing the maximum number of page frames gets the maximum number of page frames, it might need further page frames causing page replacements and thus can lead to thrashing.

Options B and D are TRUE.
Answer:

Related questions

2 votes
2 votes
2 answers
1
gatecse asked Dec 7, 2020
307 views
In a stack page replacement algorithm, the set of pages in a $k$-frame memory is always a subset of pages in a _________ frame memory (Mark all the appropriate choices)$k...
2 votes
2 votes
1 answer
2
gatecse asked Dec 7, 2020
206 views
Which of the following page replacement algorithms exhibit Belady's anomaly? (Mark all the appropriate choices)Optimal page replacementFirst in First out (FIFO)Least rece...