Computer Science - Operating Systems Concepts - Discussion

Discussion Forum : Operating Systems Concepts - Section 3 (Q.No. 3)
3.
The problem of thrashing is affected significantly by:
program structure
program size
primary-storage size
all of the above
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
11 comments Page 1 of 2.

Harsh said:   7 years ago
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.

Karan said:   9 years ago
Can anyone explain. How is this possible?

Logically we can say that all this can affect directly or indirectly the problem of thrashing. Bcos if program size is larger then more page blocks required. In the same way, if primary storage is significantly smaller then there is also the problem of thrashing.

Krishna said:   9 years ago
In virtual memory systems, thrashing may be caused by programs or workloads that present insufficient locality of reference, if the working set of a program or a workload cannot be effectively held within physical memory, then constant data swapping, i.e., thrashing, may occur.

Hayat hussien said:   1 year ago
All three factors—program structure, program size, and primary storage size—can significantly impact the occurrence and severity of thrashing in a computer system.

Therefore, the correct answer is "all of the above. ".

Zaeema said:   1 decade ago
Why program structure?

There is no link of thrashing with program structure it should be primary storage size.

Akshi said:   1 decade ago
Why program structure? thrashing is affected by paging.

Sumit said:   1 decade ago
I think this will be for lower primary-storage size.

Prince Srivastava said:   1 decade ago
Yes it will be affected by primary storage size.

Naresh Sosa said:   10 years ago
Yes it depends on the Primary Storage.

Rajat said:   8 years ago
I too think C is the right answer.


Post your comments here:

Your comments will be displayed after verification.