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

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.

主站蜘蛛池模板: 赤峰市| 绿春县| 清丰县| 普格县| 沙坪坝区| 双峰县| 黎城县| 平塘县| 肇州县| 临安市| 牟定县| 宝鸡市| 阿拉善右旗| 隆安县| 绥江县| 岳普湖县| 金乡县| 江永县| 横山县| 东港市| 玉树县| 桐柏县| 五峰| 囊谦县| 金平| 镇康县| 绥芬河市| 法库县| 凤冈县| 昌黎县| 中山市| 贵港市| 乐亭县| 襄城县| 四川省| 新竹县| 宝鸡市| 沁源县| 晋州市| 浮山县| 侯马市|