查看“︁加速比”︁的源代码
←
加速比
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{noteta |G1=IT }} 在[[并行计算]]领域,'''加速比'''用于表示当[[并行算法]]与对应的顺序执行[[算法]]相比较时,速度快了多少。 ==定义== 加速比以如下公式定义: :<math>S_p = \frac{T_1}{T_p}</math> 其中: *<math> p </math>指CPU数量 *<math> T_1 </math>指顺序执行[[算法]]的执行时间 *<math> T_p </math>指当有p个[[CPU|处理器]]时,[[并行算法]]的执行时间 当<math> \,S_p = p </math>时,<math> \,S_p </math>便可称为“线性加速比”({{lang-en|linear speedup}},又名“理想加速比”)。当某一并行算法的加速比为理想加速比时,若将处理器数量加倍,执行速度也会加倍,即如“理想”之意,有“优秀的[[可扩展性]]”。 === “效率” === 由加速比衍生出的效率({{lang-en|efficiency}})则是量度性能的指标,并如下定义: :<math>E_p = \frac{S_p}{p} = \frac{T_1}{pT_p}</math>. 效率<math> E_p </math>的值一般介于0~1之间,用于表示在解决问题时,相较于在通信与同步上的花费,参与计算的处理器得到了什么程度的充分利用。由定义易见,拥有线性加速比的算法与在单处理器上执行的算法的效率为1。 ==超线性加速比== 在[[并行计算]]过程中,有时会遇到加速比<math> \,S_p </math>比处理器数<math> p </math>更大的情况,此时求得的加速比即称超线性加速比({{lang-en|superlinear speedup}})。超线性加速比很少出现,且由于初学者常以为理论上加速比的最大值应与参与计算的处理器的总数<math> p </math>相等,这一情况常使初学者迷惑不已。 超线性加速比有几种可能的成因,如现代计算机的[[存储层次]]不同所带来的“[[高速缓存]]效应”;具体来说,较之顺序计算,在并行计算中,不仅参与计算的处理器数量更多,不同处理器的高速缓存也集合使用。而有鉴于此,集合的缓存便足以提供计算所需的存储量,算法执行时便不必使用速度较慢的内存,因而存储器读些时间便能大幅降低,这便对实际计算产生了额外的加速效果<ref>{{cite conference | conference = Parallel Computational Fluid Dynamics | booktitle = Parallel Computational Fluid Dynamics 2007: Implementations and Experiences on Large Scale and Grid Computing | title = Parallel Three Dimensional Direct Simulation Monte Carlo for Simulating Micro Flows | author = John Benzi | coauthors = M. Damodaran | publisher = Springer | url = http://books.google.com/books?id=MOiZ2NJ8pywC | year = 2007 | page = 95 | accessdate = 2013-03-21}}</ref>。 == 参考资料 == {{reflist}} *{{cite book | title = Parallel and Distributed Computing | chapter = Scalable Parellel Computational Geometry | author = Frank Dehne | editor = Michel Cosnard, Afonso Ferreira, Joseph Peters | date = 1994-06-10 | publisher = Springer | url = http://books.google.com/books?id=ssXLH-9PeVUC | accessdate = 2013-03-20}} [[Category:并发计算]]
该页面使用的模板:
Template:Cite book
(
查看源代码
)
Template:Cite conference
(
查看源代码
)
Template:Lang-en
(
查看源代码
)
Template:Noteta
(
查看源代码
)
Template:Reflist
(
查看源代码
)
返回
加速比
。
导航菜单
个人工具
登录
命名空间
页面
讨论
不转换
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息