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

The formula for Amdahl's Law

Now, let B denote the fraction of the program that is strictly serial, and consider the following:

  • B * T(1) is the time it takes to execute the parts of the program that are inherently sequential.
  • T(1) - B * T(1) = (1 - B) * T(1) is the time it takes to execute the parts of the program that are parallelizable, with one processor:
    • Then, (1 - B) * T(1) / N is the time it takes to execute these parts with N processors
  • So, B * T(1) + (1 - B) * T(1) / N is the total time it takes to execute the whole program with N processors.

Coming back to the formula for the speedup quantity, we have the following:

This formula is actually a form of Amdahl's Law, used to estimate the speedup in a parallel program.

主站蜘蛛池模板: 伊宁县| 宁津县| 庆安县| 双柏县| 巴南区| 东阿县| 亚东县| 衡南县| 松溪县| 滦南县| 潼关县| 石门县| 二连浩特市| 道孚县| 祁阳县| 轮台县| 祁阳县| 柞水县| 淳安县| 乳山市| 顺义区| 海口市| 同德县| 黄浦区| 任丘市| 东兰县| 科技| 贺州市| 东源县| 马山县| 九龙坡区| 益阳市| 新建县| 蛟河市| 浦江县| 嫩江县| 临沭县| 黄山市| 招远市| 美姑县| 孝感市|