全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 Belady’s anomaly, stack algorithm?

又称: Belady's anomaly · stack algorithm

Definition 11.6 University Computer Science — Year 3 · 第 11 章 — Virtual Memory

Belady’s anomaly is a reference string on which a policy makes more faults with f+1f + 1 frames than with ff. A policy is a stack algorithm if, on every reference string and at every moment, the set of pages it holds with ff frames is contained in the set it holds with f+1f + 1 frames.

Faults on Belady’s string 1 2 3 4 1 2 5 1 2 3 4 5, from . LRU and OPT never fault more with more frames; FIFO, and clock with it, fault once more with 4 frames than with 3.
Faults on Belady’s string 1 2 3 4 1 2 5 1 2 3 4 5, from Output 11.4. LRU and OPT never fault more with more frames; FIFO, and clock with it, fault once more with 4 frames than with 3.
在原文中阅读 →