Questions: Thrashing and the Working Set Model

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

An OS notices CPU utilization has dropped to 3% despite having many active processes. Processes are constantly blocked waiting for I/O. What is the most likely cause, and what is the correct response?

AThe CPU is mostly idle — admit more processes to increase utilization and throughput
BThrashing — too many processes competing for too few frames; suspend some processes to free their frames for the remaining ones
CThe page replacement algorithm is choosing poor eviction victims; switch to LRU
DThe disk is the bottleneck; upgrading to an SSD will solve the problem
Question 2 Multiple Choice

The working set model defines a process's working set W(t, Δ) as...

AAll pages the process has ever accessed during its entire lifetime
BThe maximum number of frames the OS should ever allocate to this process
CThe set of pages referenced by the process within the last Δ time units
DPages currently loaded in physical memory that belong to this process
Question 3 True / False

When a system is thrashing, the correct response is to reduce the degree of multiprogramming by suspending processes, not to switch to a better page replacement algorithm.

TTrue
FFalse
Question 4 True / False

During thrashing, CPU utilization is very high because the CPU is constantly busy handling page fault interrupts.

TTrue
FFalse
Question 5 Short Answer

A system begins thrashing. Explain why reducing the degree of multiprogramming solves the problem when better page replacement algorithms cannot.

Think about your answer, then reveal below.