Bird
Raised Fist0

When a process's working set size grows beyond its allocated frames, which of the following sequences correctly describes the system behavior leading to thrashing?

easy🧾 Trace Q3 of Q15
Operating Systems - Thrashing - Working Set Model & Prevention
When a process's working set size grows beyond its allocated frames, which of the following sequences correctly describes the system behavior leading to thrashing?
AStable page faults -> No page replacements -> Thrashing
BDecreased page faults -> More CPU time for computation -> Thrashing
CIncreased page faults -> Frequent page replacements -> CPU spends more time paging -> Thrashing
DPage faults eliminated -> System idle -> Thrashing
Step-by-Step Solution
Solution:
  1. Step 1: Identify what happens when working set exceeds frames

    Page faults increase because needed pages are not in memory.
  2. Step 2: Understand system response

    Frequent page replacements occur to bring in missing pages.
  3. Step 3: Recognize CPU impact

    CPU spends excessive time handling page faults instead of executing processes.
  4. Final Answer:

    Option C -> Option C
  5. Quick Check:

    More faults cause paging overhead, leading to thrashing [OK]
Quick Trick: More page faults cause thrashing via paging overhead [OK]
Common Mistakes:
MISTAKES
  • Assuming decreased page faults cause thrashing
  • Thinking stable page faults still cause thrashing
  • Believing thrashing occurs when page faults are eliminated
Trap Explanation:
PITFALL
  • Decreased or stable faults do not cause thrashing, but increased faults do
Interviewer Note:
CONTEXT
  • Tests knowledge of system behavior when working set exceeds allocated frames
Master "Thrashing - Working Set Model & Prevention" in Operating Systems

2 interactive learning modes - each teaches the same concept differently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Operating Systems Quizzes