7,918 views
4 votes
4 votes

Which of the following are the likely causes of thrashing?

  1. Page size was very small.
  2. There are too many users connected to the system.
  3. Least recently used policy is used for page replacement.
  4. First in First out policy is used for page replacement.

6 Answers

1 votes
1 votes
Thrashing is a condition  when  excessive paging are taken place .

For Option a : If they say page size is too small , Then for a process running It can bring more number of pages in memory . SO you dont have excessive paging . You have majority of pages in memory

For optio D and C : FIFO and LRU cant solve Thrashing problem . I think priority based algorithm can solve this problem . Hence it is wrong

For option b : There are many user connect to the system . mean many process are simultaneously running in the system.

For more process less number of pages for each process would be in memory . So now for majority of new page request by a process it has to replace its exists page . Hence the process of paging is done every now and then .

So b is answer
0 votes
0 votes

ans is (a)

Thrashing is a state in which the CPU performs 'productive' work less, and 'swapping' more. The CPU is busy in swapping pages so much that it can not respond to users' programs and interrupts as much as required. Thrashing occurs when there are too many pages in memory, and each page refers to another page

Answer:

Related questions

8 votes
8 votes
9 answers
1
6 votes
6 votes
2 answers
2
makhdoom ghaya asked May 2, 2016
5,893 views
In a $64$- bit machine, with $2$ GB RAM, and $8$ KB page size, how many entries will be there in the page table if its is inverted?$2^{18}$$2^{20}$$2^{33}$$2^{51}$
5 votes
5 votes
2 answers
3
makhdoom ghaya asked May 2, 2016
32,977 views
Consider a logical address space of $8$ pages of $1024$ words each, mapped onto a physical memory of $32$ frames. How many bits are there in the physical address and logi...