GATE - 2006 | OS | In the working-set strategy, which of the following is done by the

GATE - 2006 | OS | In the working-set strategy, which of the following is done by the
Posted on 18-02-2022

GATE - 2006 [Operating System]

Question:

In the working-set strategy, which of the following is done by the operating system to prevent thrashing?

  1. It initiates another process if there are enough extra frames.
  2. It selects a process to suspend if the sum of the sizes of the working-sets exceeds the total number of available frames.

 

A

1 only

B

2 only

C

Neither 1 nor 2

D

Both 1 and 2

   

Solution:

Option (D) is Correct.

According to the concept of thrashing both statement (1) and (2) are true.

Thank You