知识卡片

普通读书笔记卡 · 3679

最短剩余处理时间允许抢占

理解等级:中级

SRPT在每个时刻运行已到达任务中剩余处理时间最短者;新任务若更短,可以抢占正在运行的任务。

它是带释放时间调度问题中的可抢占基线,不能直接当作不可抢占版本的完整解。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

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

      In order to develop an online algorithm, consider the preemptive version of this problem, which is discussed in Problem 15-2(b). One way to schedule is to run the tasks according to the shortest remaining processing time (SRPT) order.

    参考来源

    - 位置:《算法导论(第4版)》第27章《在线算法》(OEBPS/chapter027.xhtml,文本字符[55000,60000))。 - 结论依据:第27章问题27-4在带释放时间的非抢占调度问题中引入可抢占版本,再定义 SRPT:任一时刻运行已到达且剩余处理时间最短的任务;问题要求进一步构造在线调度,不把 SRPT 直接等同于非抢占解。 - 原始内容:In order to develop an online algorithm, consider the preemptive version of this problem, which is discussed in Problem 15-2(b). One way to schedule is to run the tasks according to the shortest remaining processing time (SRPT) order.