全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Optimal replacement, clock algorithm, second-chance bit?

又称: optimal replacement · clock algorithm · second-chance bit

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

在原文中阅读 →