知识卡片
并行度是工作量与跨度之比
T₁ 是总工作量,T∞ 是关键路径长度,两者之比 T₁/T∞ 称为并行度,表示每个关键路径时间单位平均可并行的工作量。因为 P 核加速比 T₁/T_P 同时受 P 和跨度律约束,所以 T₁/T_P≤min(P,T₁/T∞)。
当处理器数 P 超过并行度时,关键路径已成为上限,不可能达到 P 倍理想线性加速;并行度描述的是算法执行迹可提供的并行机会,而不是机器实际拥有的核心数。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第26章 并行算法 · 查看原书依据
The ratio T1/T∞ of the work to the span gives the parallelism of the parallel computation. We can view the parallelism from three perspectives. As a ratio, the parallelism denotes the average amount of work that
参考来源
- 位置:《算法导论(第4版)》第26章《并行算法》(OEBPS/chapter026.xhtml,文本字符[20000,25000))。
- 结论依据:原文给出并行度三种解释及处理器上限。
- 原始内容:The ratio T 1 / T ∞ of the work to the span gives the parallelism of the parallel computation. We can view the parallelism from three perspectives. As a ratio, the parallelism denotes the average amount of work that