Computer Science - Operating Systems Concepts - Discussion

Discussion Forum : Operating Systems Concepts - Section 1 (Q.No. 31)
31.
Thrashing can be avoided if
the pages, belonging to the working set of the programs, are in main memory
the speed of CPU is increased
the speed of I/O processor is increased
all of the above
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
4 comments Page 1 of 1.

Karishma said:   5 years ago
Thanks @Shekhar.

Sonali said:   7 years ago
Thanks @Shekhar.

Pavan said:   7 years ago
Thanks @Shekhar.

Shekhar said:   1 decade ago
For executing any program, CPU needs some data, it will 1st check main memory for that required data, if it present in main memory then CPU will use it, otherwise CPU retrieve the data (also called as page) from Secondary memory into primary memory and then execute the program.

When this page swapping (some pages transferred from 2nd memory to 1st and vice versa) occur in such an extent that CPU only do this swapping work and left all the necessary execution, then this state is called THRASHING.

So pages which are needed for execution, if already present in main memory (that is no need to swap from secondary memory) then thrashing can be avoided [that's why answer is A].

One best solution is -> Increase the size of main memory.
(4)

Post your comments here:

Your comments will be displayed after verification.