Question discussion

Thrashing in a virtual-memory system occurs when

2339Medium DSSSB TGT Computer Science 0 replies 1 views
0

Thrashing in a virtual-memory system occurs when

  • Athe disk becomes full of swapped-out processes
  • Bthe CPU is idle because no process is ready
  • Ctwo processes wait for each other's resources forever
  • Da process spends more time in paging than in executing
Correct answer: D

Explanation

With too few frames per process, page faults become so frequent that the system spends most of its time swapping pages in and out and the useful work falls sharply.

Discussion 0

Nobody has replied yet. Start the discussion!