Computer Science - Operating Systems Concepts - Discussion


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

Answer: Option A


No answer description available for this question.

Akshi said: (Aug 24, 2013)  
Why program structure? thrashing is affected by paging.

Sumit said: (Apr 1, 2015)  
I think this will be for lower primary-storage size.

Zaeema said: (Jun 14, 2015)  
Why program structure?

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

Prince Srivastava said: (Jun 26, 2015)  
Yes it will be affected by primary storage size.

Naresh Sosa said: (Jan 15, 2016)  
Yes it depends on the Primary Storage.

Karan said: (Jan 20, 2017)  
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: (Jan 26, 2017)  
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.

Saurav said: (Jun 16, 2017)  
I think the answer Should be C.

Rajat said: (Jun 25, 2017)  
I too think C is the right answer.

Harsh said: (Apr 22, 2018)  
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.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.