CS FundamentalsHardGATE CS
Assertion (A): Local page replacement can reduce thrashing caused by one misbehaving process affecting others. Reason (R): With local replacement a process can take frames only from its own allocation.
- A. Both A and R are true, but R is not the correct explanation of A
- B. A is true but R is false
- C. A is false but R is true
- D. Both A and R are true, and R is the correct explanation of A
Correct answer: D. Both A and R are true, and R is the correct explanation of A
Under global replacement a thrashing process steals frames from others and spreads the problem. Local replacement confines the damage, at the cost of possibly under-using free memory.
More Operating Systems questions
- Copy-on-write after fork(): the parent has 1000 resident pages. The child immediately calls exec(). Roughly how many page copies does COW…
- What is the main advantage of memory-mapped files (mmap) over read()/write() for random access to a large file?
- Which statement about the page-fault rate versus the number of allocated frames is generally correct for a process with locality?
- The working-set model chooses a window Δ. What happens if Δ is too small and if it is too large?
- Page-fault-frequency (PFF) control sets an upper and a lower bound on each process's fault rate. If a process's rate exceeds the upper…
- Which of the following increase TLB reach without enlarging the TLB? 1. Using larger (huge) pages 2. Supporting multiple page sizes 3…