CS FundamentalsHardGATE CS
A system thrashes at 50 processes. Which of these will reduce thrashing? 1. Using local page replacement 2. Adding more physical memory 3. Increasing the degree of multiprogramming 4. Suspending some processes
- A. 1, 2 and 4
- B. 2 and 3
- C. 3 only
- D. 1 and 3
Correct answer: A. 1, 2 and 4
More frames per process (more RAM or fewer processes) cures thrashing, and local replacement limits its spread. Admitting more processes only makes each one's share smaller.
More Operating Systems questions
- Why is pure LRU rarely implemented exactly in hardware, and what is used instead?
- The aging algorithm keeps an 8-bit counter per page; every tick it shifts the counter right by one and puts the page's reference bit into…
- Which is a disadvantage of a very large page size (e.g. 1 GB pages for all memory)?
- Kernel same-page merging (KSM) / page deduplication scans for identical pages across VMs and maps them to one frame. What makes this safe…
- Writes of at most PIPEBUF bytes to a pipe have which guarantee when several writers share the pipe?
- A process reads a file sequentially, and the OS detects this. Which buffer-cache policy is most appropriate?