知识卡片

普通读书笔记卡 · 5376

协同开销可能反噬扩展

理解等级:高级

USL在串行瓶颈之外考虑coherency,即线程、进程或节点为共享状态通信付出的协调开销。更多执行者并非只带来递减收益,图3.3青色曲线在峰值后还下降。优化时不仅减小串行区,也要减少共享变量和不必要通信;不能根据原文混入Amdahl曲线的50/80倍数字预测实际容量。

相关:[[串行部分限制并行收益]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 理解性能的心智模型 · 查看原书依据

      Universal Scalability Law says that actual speedup is even worse than Amdahl’s law due to shared variables. USL defines a new parameter coherency, which is the overhead added by communication between multiple processes, threads, or nodes.

    参考来源

    - 位置:《Software Architecture and Decision-Making》第3章《理解性能的心智模型》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch03.xhtml) - 结论依据:原文的定义、比较或例子支持“USL在串行瓶颈之外考虑coherency,即线程、进程或节点为共享状态通信付出的协调开销”;正文据此说明用途和边界。 - 原始内容:Universal Scalability Law says that actual speedup is even worse than Amdahl’s law due to shared variables. USL defines a new parameter coherency, which is the overhead added by communication between multiple processes, threads, or nodes.