知识卡片

普通读书笔记卡 · 3678

在线缓存缺失时决定淘汰块

理解等级:中级

缓存未命中且已满时,策略必须根据已见请求选择被逐出的块。

目标是让整个请求序列的未命中次数尽可能少;预取不在本章模型中,故不同策略只比较淘汰选择。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第27章 在线算法 · 查看原书依据

      Thus, a caching algorithm must decide which block to evict from the cache upon a cache miss when the cache is full. The goal is to minimize the number of cache misses over the entire request sequence. The caching algorithms considered in this

    参考来源

    - 位置:《算法导论(第4版)》第27章《在线算法》(OEBPS/chapter027.xhtml,文本字符[25000,30000))。 - 结论依据:原文分别定义逆序、势能比较或缓存策略及其成本模型;正文补充其用途与边界。 - 原始内容:Thus, a caching algorithm must decide which block to evict from the cache upon a cache miss when the cache is full. The goal is to minimize the number of cache misses over the entire request sequence. The caching algorithms considered in this