Operating Systems Concepts - Engineering

Q1:

The problem of thrashing is affected significantly by:

A program structure

B program size

C primary-storage size

D all of the above

E None of the above

ANS:A - program structure

A) Program Structure.

Reason: Thrashing occurs when page fault rate increases which in turn increases the page fault rate which results in less amount of productive work.

It depends on which type of page replacement algorithm we use, if we use global page replacement algorithm then thrashing will occur. We can minimize the effects of thrashing by using local page replacement.