Question

In: Computer Science

2. What is the cause of thrashing? 3. How does the system detect thrashing? 4. Once...

2. What is the cause of thrashing? 3. How does the system detect thrashing? 4. Once it detects thrashing, what can the system do to eliminate this problem?

Solutions

Expert Solution

Solution for the problem is provided below, please comment if any doubts:

2.

Thrashing cause:

  • Thrashing is an Operating system abnormality that is related with virtual address.
  • Thrashing is mainly occurred because of excessive paging operations happening in the OS.
  • The excessive paging operations happens because of the insufficient locality of reference, that is all the pages are needed to be loaded from the secondary memory. This results in excessive page operations and ultimately results in thrashing.

3.

Detection of thrashing:

  • Thrashing can be detected by either a halted system due to dead lack of the page replacement algorithms or by a very low system with low responsibility.
  • The excessive paging operating results in less process usage and also some times the system even crash since there will not be sufficient memory to perform the activities properly.

4.

To eliminate thrashing:

  • Increase the primary memory available.
  • Decrease the number of process that can be run simultaneously in the system.
  • Swap file and page size should be adjusted to eliminate thrashing.

Related Solutions

1. What is supply? 2. What is demand? 3. How does the price system address the...
1. What is supply? 2. What is demand? 3. How does the price system address the problem of alternative uses of time and labor?
1. What are the causes of the common cold? 2. How does a virus cause a...
1. What are the causes of the common cold? 2. How does a virus cause a disease?
MULTICOLLINEARITY - definition, what cause M, how to detect M, example, effect if ignored M
MULTICOLLINEARITY - definition, what cause M, how to detect M, example, effect if ignored M
3. Explain the process of how the nervous system can cause the release of a hormone...
3. Explain the process of how the nervous system can cause the release of a hormone and provide an example of the process.
4) a) What is the cavity inside the blastula called and how does it form? (3%)...
4) a) What is the cavity inside the blastula called and how does it form? (3%) b) What happens during gastrulation in the amphibian embryo? (3 %) c) What are the tissue layers and the cavities present in the amphibian embryo after end of gastrula? (6 %) d) How does the neural tube form and what does it become in the adult? (4%) 5) a) How are axes determined in the amphibian embryo? (10%) b) Describe an experiment that can...
how does atherosclerosis cause vasospasm?
how does atherosclerosis cause vasospasm?
2. What is the agency problem? 3. What is meant by financial managernent? 4. How are...
2. What is the agency problem? 3. What is meant by financial managernent? 4. How are the IFRS implemented in Oman?
what type of mutation causes cancer? and how does it cause cancer?
what type of mutation causes cancer? and how does it cause cancer?
How does SARS_COV2 attack the immune system? How does it affect the pulmonary system? What makes...
How does SARS_COV2 attack the immune system? How does it affect the pulmonary system? What makes this disease so devastating for some, resulting in 'cytokine storm', the need for a ventilator, and death? For survivors, what are the long term effects of having this disease? Finally, after doing some research, what questions do you have about this disease?
(2) What is “Brainbow”? How does the system work? If you wanted to understand the neuronal...
(2) What is “Brainbow”? How does the system work? If you wanted to understand the neuronal connections that are responsible for coordinating voluntary motor function which cell type would you label with brainbow? What specific transgenes would you use?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT