官术网_书友最值得收藏!

Amdahl's Law's relationship to the law of diminishing returns

Amdahl's Law is often conflated with the law of diminishing returns, which is a rather popular concept in economics. However, the law of diminishing returns is only a special case of applying Amdahl's Law, depending on the order of improvement. If the order of separate tasks in the program is chosen to be improved in an optimal way, a monotonically decreasing improvement in execution time will be observed, demonstrating diminishing returns. An optimal method indicates first applying those improvements that will result in the greatest speedups, and leaving those improvements yielding smaller speedups for later.

Now, if we were to reverse this sequence for choosing resources, in which we improve less optimal components of our program before more optimal components, the speedup achieved through the improvement would increase throughout the process. Furthermore, it is actually more beneficial for us to implement system improvements in this reverse-optimal order in reality, as the more optimal components are usually more complex, and take more time to improve.

Another similarity between Amdahl's Law and the law of diminishing returns concerns the improvement in speedup obtained through adding more processors to a system. Specifically, as a new processor is added to the system to process a fixed-size task, it will offer less usable computation power than the previous processor. As we discussed in the last section, the improvement in this situation strictly decreases as the number of processors increases, and the total throughout approaches the upper boundary of 1/B.

It is important to note that this analysis does not take into account other potential bottlenecks, such as memory bandwidth and I/O bandwidth. In fact, if these resources do not scale with the number of processors, then simply adding processors results in even lower returns.

主站蜘蛛池模板: 陆河县| 梁平县| 毕节市| 杭锦后旗| 平邑县| 定边县| 清水县| 勐海县| 延庆县| 陆丰市| 永定县| 厦门市| 靖江市| 高淳县| 固原市| 呼和浩特市| 安达市| 龙胜| 奉贤区| 富源县| 西昌市| 维西| 胶南市| 龙井市| 台山市| 彰化市| 澄城县| 滦平县| 上饶市| 平山县| 鹤岗市| 孟津县| 南皮县| 喀喇沁旗| 泌阳县| 藁城市| 新巴尔虎左旗| 兴业县| 张掖市| 南充市| 南城县|