Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Optimal replacement, clock algorithm, second-chance bit?

Dikenal juga sebagai: optimal replacement · clock algorithm · second-chance bit

Definition 11.5 University Computer Science — Year 3 · Bab 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.

Baca dalam konteks →