What is Thrashing?

Answers were Sorted based on User's Feedback

What is Thrashing?..

Answer / ravi shikhar

Thrashing is a high paging activity.A process is thrashing
if it is spending more time with paging rather than execution.
Caused by:-
* global replacement algorithm.
* under allocation of the minimum
number of pages required by a process.
* very high degree of multiprogramming.
Eliminated by:-
*reducing level or degree of multiprogramming.
*use local replacement algorithm.
*while allocating check minimum sufficient frame required
for a process.

Is This Answer Correct ?    183 Yes 13 No

What is Thrashing?..

Answer / vkin

Thrashing is caused by under allocation of the minimum
number of pages required by a process, forcing it to
continuously page fault. The system can detect thrashing by
evaluating the level of CPU utilization as compared to the
level of multiprogramming. It can be eliminated by reducing
the level of multiprogramming.

Is This Answer Correct ?    140 Yes 17 No

What is Thrashing?..

Answer / nisha

If the number of frames allocated to a low priority process
is lower than the minimum number required by the computer
architecture then in this case we must suspend the
execution of this low priority process.After this we should
page out all of its remaining pages and freeing all of its
allocated frames.This provision introduces a swap in,swap-
out level of intermediate CPU scheduling.Let take a example
of a process that does not have enough number of frames.If
the process does not have the number of frames it needs to
support pages in active use, it will quickly page fault.The
oly option remains here for process is to replace some
active pages with the page that requires a
frame.However,since all of its pages are in active use,it
must replace a page that will be needed again right
away.Consequently,it quickly faults again and again that
mean replacing pages that it must bring back in
immediately.This high paging activity is called
Thrashing.Or we can say that a process is Thrashing if it
is spending more time in paging then executing.Thrashing
results in severe performance problems.

Is This Answer Correct ?    42 Yes 12 No

What is Thrashing?..

Answer / manmeet kaur

Thrashing is the process of encountering frequent page
faults on replacing the existing pages in the main memory
with the new ones being referenced by the process.In this
the process on a system require more memory than it has.
- Each time one page is brought in,another page, whose
contents will soon be referenced, is thrown out.
-Processes will spend all of their time blocked, waiting for
pages to be fetched from disk.
-I/O devices at 100% utilization but system not getting much
of useful work done.

Is This Answer Correct ?    24 Yes 4 No

What is Thrashing?..

Answer / shalini sharma

thrashing is a process in which process spent more time in
paging rather then execution...it generate low cpu
utilization ..

Is This Answer Correct ?    24 Yes 5 No

What is Thrashing?..

Answer / dev gariya

It's a phenomenon in virtual memory schemes when the
processor spends most of its time swapping pages,rather than
executing instruction. This is due to inordinate number of
page faults.

Is This Answer Correct ?    18 Yes 2 No

What is Thrashing?..

Answer / saba parveen

thrashing is said to occur when the system spends a large
amount of time transferring shared data blocks from one
node to another ,compared to the time spent doing the
useful work of executing application processes.

Is This Answer Correct ?    20 Yes 6 No

What is Thrashing?..

Answer / sanjeev ranjan tiwari

Thrasing occours when a system spends more time
processingpage fault than executing transsction.thrashing
has negative effect on the system that's why it becomes a
greater threat. CPU utilization reaches maximun before a
swift decline as the degree of multiprogramming increases
and thrasing occours in overextended system.
there are two technique for avoiding thrashing:
1.Working-set model
2.page fault rate

Is This Answer Correct ?    15 Yes 2 No

What is Thrashing?..

Answer / sekhar kumar patra

Thrashing is a concept in which a process spends its time in
searching of pages rather then execution the page required
so, A large process assigned a less no of frames
CAUSEes of thrashing:
as we increase the degree of multiprogramming the cpu
utilization is increasing and decrease after certain time

Is This Answer Correct ?    16 Yes 4 No

What is Thrashing?..

Answer / aanchal

if the number of frames allocated to a low priority process falls bellow minimum number required by the computer architecture ,we must suspend the process execution.we should then page out its remaining pages,freeing all its allocates frames.this high paging activity is called thrashing......

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Operating Systems General Concepts Interview Questions

Explain what is meant by heap?

0 Answers   BPL,

What is ThreadPool?

0 Answers  

List reasons why a Mode switch between threads may be cheaper than a Mode switch between processes.

1 Answers  

What is dlm?

0 Answers  

What is the difference between af_inet and pf_inet?

0 Answers  

What are the 7 layers of networking?

0 Answers  

How do I make a bootable usb drive?

0 Answers  

What is virtual memory?

4 Answers   Satyam, HCL,

What are the different phases of compiler? What happens in lexical phase?

0 Answers   Accenture,

What is page cannibalizing?

1 Answers   HCL, Wipro,

Is 100 cpu usage bad?

0 Answers  

How are the wait/signal operations for monitor different from those for semaphores?

0 Answers