Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Optimal replacement, clock algorithm, second-chance bit?

Ook bekend als: optimal replacement · clock algorithm · second-chance bit

Definition 11.5 University Computer Science — Year 3 · Hoofdstuk 11 — Virtual Memory

Optimal replacement (OPT) evicts the page whose next use lies furthest in the future. The clock algorithm keeps the frames in a circle with a hand; each frame has a second-chance bit, set when its page is used. To evict, the hand advances: a frame with the bit set has it cleared and is passed over; the first frame with the bit clear is evicted.

Lees in het hoofdstuk →