What is Thrashing?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is banker's algorithm?

575


List advantages and disadvantages of dynamic memory allocation vs. static memory allocation.?

679


What is the best page size when designing an operating system?

655


Describe Banker’s algorithm

602


Tell me what are the rings in windows nt?

588






Give some benefits of multithreaded programming.

664


Describe Inter Machine Communication?

670


How long should a chkdsk take?

502


How do I recover files from my usb?

541


Explain the positioning time for a disk.

569


How does yahoo handles billions of requests, does it create a thread per request or a process?

606


What are the two main types of files?

546


Is non-pre-emptive scheduling frequently used in a computer? Why?

529


What is long term scheduler in operating system (os)?

545


What are the 3 categories of operating systems?

592