ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Operating Systems >> Operating Systems General Concepts
 
 


 

 
 Windows interview questions  Windows Interview Questions (339)
 Linux interview questions  Linux Interview Questions (451)
 Unix interview questions  Unix Interview Questions (455)
 Solaris interview questions  Solaris Interview Questions (781)
 RTOS interview questions  RTOS Interview Questions (43)
 Bulnex interview questions  Bulnex Interview Questions (4)
 Operating Systems General Concepts interview questions  Operating Systems General Concepts Interview Questions (261)
 Data Structures interview questions  Data Structures Interview Questions (67)
 Operating Systems AllOther interview questions  Operating Systems AllOther Interview Questions (48)
Question
What is Thrashing?
 Question Submitted By :: Operating-Systems-General-Concepts
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
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 ?    162 Yes 12 No
Ravi Shikhar
 
Answer
# 2
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 ?    131 Yes 16 No
Vkin
 
 
 
Answer
# 3
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 ?    39 Yes 11 No
Nisha
 
Answer
# 4
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 ?    23 Yes 4 No
Manmeet Kaur
 
Answer
# 5
thrashing is a process in which process spent more time in
paging rather then execution...it generate low cpu
utilization ..
 
Is This Answer Correct ?    23 Yes 5 No
Shalini Sharma
 
Answer
# 6
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 ?    16 Yes 2 No
Dev Gariya
 
Answer
# 7
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 ?    14 Yes 2 No
Sanjeev Ranjan Tiwari
 
Answer
# 8
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 ?    15 Yes 3 No
Sekhar Kumar Patra
 
Answer
# 9
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 ?    17 Yes 6 No
Saba Parveen
 
Answer
# 10
A process may not have enough frame.there is some number of
pages in active use.if process does not have this number of
frame,it will quickly page faults.at this point it must
replace some page.this high paging activity is thrashing.
 
Is This Answer Correct ?    12 Yes 7 No
Pradeep Patel
 

 
 
 
Other Operating Systems General Concepts Interview Questions
 
  Question Asked @ Answers
 
Difference between multi threading and multi tasking?   1
Which one is not suitable for client-server application? 1. tcp/ip 2. message passing 3. rpc 4. none of the above   1
What is an interrupt? How are multiple interrupts dealt with?   1
How is the process address space handled during process migration?   1
What has triggered the need for multitasking in PCs?   1
In a compiler there is 36 bit for a word and to store a character 8bits are needed. IN this to store a character two words are appended .Then for storing a K characters string, How many words are needed. [a] 2k/9 [b] (2k+8)/9 [c] (k+8)/9 [d] 2*(k+8)/9 [e] none Wipro 1
What is the Difference between Loading and Linking ? CTS 2
What are the basic functions of an Operating system?   1
What is multi-tasking, multi-programming,multi-threading? TCS 9
What is NV-RAM?   3
which is best among pipes, queues, shared memory and why? HP 1
What is 2 tier and 3 tier?   2
 
For more Operating Systems General Concepts Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com