抑郁症为什么会想死| 1995年出生属什么| 盐酸二甲双胍缓释片什么时候吃| 关节外科主要看什么| 齐人之福什么意思| 阴虚湿热吃什么中成药| 奶茶有什么危害| 帕金森病是什么病| 磨玻璃影是什么意思| red什么颜色| 静脉曲张挂号挂什么科| 全身瘙痒是什么原因| 古力娜扎全名叫什么| 背痛去医院挂什么科| aj和nike什么关系| 肴肉是什么肉| 韭黄和韭菜有什么区别| 违和感是什么意思| 牙龈疼是什么问题| 哺乳期吃什么水果好| 女人血虚吃什么补最快| 胆汁淤积症有什么症状| 脂肪球是什么意思| 什么龙什么凤| 腿抽筋是什么原因| c3是什么车型| 为什么感冒会全身酸痛| 眼睛视物模糊是什么原因| 梦见抓了好多鱼是什么意思| 柱状上皮外移什么意思| 水痘是什么样的| 宁字五行属什么| 人体左边肋骨下疼是什么原因| 经常上火口腔溃疡是什么原因| 红枣为什么要炒黑再泡水喝| 老婆的妹妹叫什么| 虾青素是什么| 胡子为什么长得快| 压抑什么意思| 为什么会有头皮屑| 做肉丸用什么淀粉最佳| 孕期小腿抽筋什么原因| 唐僧的袈裟叫什么| 回族不吃什么肉| 水五行属什么| 李莫愁的徒弟叫什么| 红萝卜和胡萝卜有什么区别| 木元念什么| 总维生素d偏低会导致什么| 梦见山体滑坡是什么意思| 脂溢性皮炎头皮用什么洗发水| 孩子过敏性咳嗽吃什么药好| 4月是什么星座| 灵芝孢子粉有什么作用| 84属什么生肖| 朝鲜钱币叫什么| 爆菊什么意思| 亲额头代表什么意思| 征兵初检检查什么| 眼角下面长斑是什么原因引起的| 易烊千玺原名叫什么| 车厘子什么季节吃| 梦见木头是什么意思| 尿路感染吃什么药消炎| 安享晚年是什么意思| 大臂疼痛怎么什么原因| 神经性皮炎用什么药膏好| 婚检男性检查什么项目| 颈椎病挂什么科最好| 泌乳素什么时候查最准确| 子痫是什么病| 闫和阎有什么区别| 小儿安现在叫什么名| 水泻拉肚子吃什么药| b型血和o型血生的孩子是什么血型| 撰稿是什么意思| 心脾两虚吃什么药| 贫血要注意些什么| 妈妈的妈妈叫什么| 肠胃不好吃什么药好| 鸡蛋炒什么菜谱大全| 内膜薄吃什么补得最快| 吃西红柿有什么好处| 肾脏彩超能检查出什么| 97年是什么生肖| 卡路里是什么意思| 文旦是什么| 月经来黑色是什么原因| 吃什么有助于骨头恢复| 小产和流产有什么区别| 尿酸高是什么原因导致的| 舌苔厚有齿痕吃什么药| 小腹左边疼是什么原因| 什么是捞女| 困水是什么意思| 吃什么食物可以降低胆固醇| 2007年属什么生肖| 心火旺失眠吃什么药| 梦见纸钱是什么预兆| 什么是长孙| 猫咪踩奶是什么意思| 梦见丧尸是什么预兆| 吃面是什么意思| 男士背心什么牌子好| soldier是什么意思| 锁骨中间的窝叫什么| doro什么意思| 九三年属鸡是什么命| 手脱皮是缺什么| 卵泡是什么| 属狗适合佩戴什么饰品| 肌肉型肥胖是什么意思| 北齐是什么朝代| 中指和无名指发麻是什么原因| 风起云涌是什么意思| 大钱疮抹什么药膏好使| 夏天适合吃什么| 喝红茶有什么好处| 单独玉米粉能做什么| 为什么会有月经| 抽动症是什么原因造成的| 未加一笔是什么字| 吃什么可以提高免疫力和抵抗力| 多巴胺是什么意思| 害是什么意思| 什么颜色衣服显白| 什么三什么四| 大暑什么时候| 小便清长是什么意思| 舌头热灼是什么原因| 左心室舒张功能减退是什么意思| 双修是什么意思| 拔罐紫色说明什么| 越南有什么特产| 鹿吃什么| 肺部结节吃什么药| 肺结节是什么| 独具一格是什么意思| AB型血型有什么优势| 手机NFC什么意思| 文爱是什么| 房颤吃什么药好| 说风就是雨什么意思| 经常性偏头疼是什么原因| 什么是捞女| 名侦探柯南什么时候完结| 莆田医院是什么意思| 半熟芝士是什么意思| 菊花和什么一起泡最好| 问羊知马是什么生肖| 如如不动什么意思| 男人左手有痣代表什么| 分娩是什么意思| 红肉是什么| 腹水是什么病| 喝红茶对身体有什么好处| 3月25日什么星座| 热休克蛋白90a检查高是什么原因| 床上什么虫子夜间咬人| 嘛哩嘛哩哄是什么意思| 苯酚是什么| 11月12号是什么星座| 异常灌注是什么意思| 吃什么对头发有好处| 地中海贫血是什么意思| 银925是什么意思| 体育总局局长什么级别| 武汉属于什么地区| 吉页读什么| 非萎缩性胃炎吃什么药| 牛肉馅饺子配什么菜| 孕早期吃什么好| 谷胱甘肽是什么| 红男绿女是什么生肖| 荷花什么时候种植| 月柱金舆是什么意思| 脊柱侧弯拍什么片子| 胰岛素是什么器官分泌的| ipa啤酒是指什么| 牛骨煲什么汤对儿童好| electrolux是什么牌子| 云仓是什么| 小孩咳嗽吃什么药效果最好| 负氧离子是什么| 外阴裂口用什么药| 慢性阑尾炎吃什么药| 落户是什么意思| 肠溶片和缓释片有什么区别| 皮肤长斑是什么原因引起的| 下场是什么意思| 好吧是什么意思| 来例假头晕是什么原因| 风向是什么意思| 糖尿病人能喝什么饮料| 李咏什么病| 上海为什么叫申城| 男性尿道炎是什么原因引起的| 里脊肉炒什么好吃| 蝉联的意思是什么| 缺硒有什么症状| 血常规检查什么项目| 什么是相向而行| 大战三百回合是什么意思| 怀孕前三个月需要注意什么| 十月二十六是什么星座| 灰色鞋子搭配什么颜色裤子| 嘴唇起泡是什么火| 怀孕吃什么| 2050年是什么年| 厦门房价为什么那么高| 一个金字旁一个川读什么| 蛋白质用什么试剂鉴定| 五七是什么意思有什么讲究| 浑身瘙痒是什么原因| 梦到跟人吵架是什么意思| 三叉神经痛看什么科| 什么是脑中风| 痛风反复发作什么原因| 关照是什么意思| 舌头伸不出来是什么原因| 淋巴结节吃什么药最好| 鼻子下面长痘什么原因| 梦见蛇吃蛇是什么预兆| 最好的红酒是什么牌子| 钠尿肽高是什么原因| 大三阳是什么意思| 气短吃什么药效果好| 肝风内动吃什么中成药| 小米粥和什么搭配最好| 小便有点刺痛是什么原因引起的| b是什么元素| 胃潴留是什么意思| 熊猫属于什么科| 酒店五行属什么| 戾气什么意思| 什么东西软化鱼刺最快| 异地结婚登记需要什么证件| 绯色是什么颜色| 什么样的人容易得抑郁症| 逆商是什么| 什么是生物制剂药| 睡觉就做梦是什么原因| 心慌吃什么药好| 外出是什么意思| 松鼠尾巴有什么作用| 胃溃疡a1期是什么意思| 什么时候锻炼身体最佳时间| 十月二十二什么星座| 什么是癔病| 门静脉增宽是什么意思| 耳朵蝉鸣是什么原因引起的| 排骨炖山药有什么功效| 扁桃体长什么样子| 做梦是什么原因造成的| 明五行属什么| 轻奢什么意思| 无花果什么味道| 痛风打什么针| 旅长是什么级别| 腹泻拉水是什么原因| 荷字五行属什么| 氧饱和度是什么意思| 荷花什么时候开| 胸导联低电压什么意思| 百度Jump to content

全国政协十三届一次会议新闻中心

From Wikipedia, the free encyclopedia
百度 强化技术标准规范对安全和服务的保障和引领作用,以保障建设质量和安全运行为重点,进一步修订完善城市轨道交通工程建设标准体系。

In computer science, analysis of parallel algorithms is the process of finding the computational complexity of algorithms executed in parallel – the amount of time, storage, or other resources needed to execute them. In many respects, analysis of parallel algorithms is similar to the analysis of sequential algorithms, but is generally more involved because one must reason about the behavior of multiple cooperating threads of execution. One of the primary goals of parallel analysis is to understand how a parallel algorithm's use of resources (speed, space, etc.) changes as the number of processors is changed.

Background

[edit]

A so-called work-time (WT) (sometimes called work-depth, or work-span) framework was originally introduced by Shiloach and Vishkin [1] for conceptualizing and describing parallel algorithms. In the WT framework, a parallel algorithm is first described in terms of parallel rounds. For each round, the operations to be performed are characterized, but several issues can be suppressed. For example, the number of operations at each round need not be clear, processors need not be mentioned and any information that may help with the assignment of processors to jobs need not be accounted for. Second, the suppressed information is provided. The inclusion of the suppressed information is guided by the proof of a scheduling theorem due to Brent,[2] which is explained later in this article. The WT framework is useful since while it can greatly simplify the initial description of a parallel algorithm, inserting the details suppressed by that initial description is often not very difficult. For example, the WT framework was adopted as the basic presentation framework in the parallel algorithms books (for the parallel random-access machine PRAM model) [3] and, [4] as well as in the class notes .[5] The overview below explains how the WT framework can be used for analyzing more general parallel algorithms, even when their description is not available within the WT framework.

Definitions

[edit]

Suppose computations are executed on a machine that has p processors. Let Tp denote the time that expires between the start of the computation and its end. Analysis of the computation's running time focuses on the following notions:

  • The work of a computation executed by p processors is the total number of primitive operations that the processors perform.[6] Ignoring communication overhead from synchronizing the processors, this is equal to the time used to run the computation on a single processor, denoted T1.
  • The depth or span is the length of the longest series of operations that have to be performed sequentially due to data dependencies (the critical path). The depth may also be called the critical path length of the computation.[7] Minimizing the depth/span is important in designing parallel algorithms, because the depth/span determines the shortest possible execution time.[8] Alternatively, the span can be defined as the time T spent computing using an idealized machine with an infinite number of processors.[9]
  • The cost of the computation is the quantity pTp. This expresses the total time spent, by all processors, in both computing and waiting.[6]

Several useful results follow from the definitions of work, span and cost:

  • Work law. The cost is always at least the work: pTpT1. This follows from the fact that p processors can perform at most p operations in parallel.[6][9]
  • Span law. A finite number p of processors cannot outperform an infinite number, so that TpT.[9]

Using these definitions and laws, the following measures of performance can be given:

  • Speedup is the gain in speed made by parallel execution compared to sequential execution: Sp = T1 / Tp. When the speedup is Ω(p) for p processors (using big O notation), the speedup is linear, which is optimal in simple models of computation because the work law implies that T1 / Tpp (super-linear speedup can occur in practice due to memory hierarchy effects). The situation T1 / Tp = p is called perfect linear speedup.[9] An algorithm that exhibits linear speedup is said to be scalable.[6] Analytical expressions for the speedup of many important parallel algorithms are presented in this book.[10]
  • Efficiency is the speedup per processor, Sp / p.[6]
  • Parallelism is the ratio T1 / T. It represents the maximum possible speedup on any number of processors. By the span law, the parallelism bounds the speedup: if p > T1 / T, then:[9]
  • The slackness is T1 / (pT). A slackness less than one implies (by the span law) that perfect linear speedup is impossible on p processors.[9]

Execution on a limited number of processors

[edit]

Analysis of parallel algorithms is usually carried out under the assumption that an unbounded number of processors is available. This is unrealistic, but not a problem, since any computation that can run in parallel on N processors can be executed on p < N processors by letting each processor execute multiple units of work. A result called Brent's law states that one can perform such a "simulation" in time Tp, bounded by[11]

or, less precisely,[6]

An alternative statement of the law bounds Tp above and below by

.

showing that the span (depth) T and the work T1 together provide reasonable bounds on the computation time.[2]

References

[edit]
  1. ^ Shiloach, Yossi; Vishkin, Uzi (1982). "An O(n2 log n) parallel max-flow algorithm". Journal of Algorithms. 3 (2): 128–146. doi:10.1016/0196-6774(82)90013-X.
  2. ^ a b Brent, Richard P. (2025-08-06). "The Parallel Evaluation of General Arithmetic Expressions". Journal of the ACM. 21 (2): 201–206. CiteSeerX 10.1.1.100.9361. doi:10.1145/321812.321815. ISSN 0004-5411. S2CID 16416106.
  3. ^ JaJa, Joseph (1992). An Introduction to Parallel Algorithms. Addison-Wesley. ISBN 978-0-201-54856-3.
  4. ^ Keller, Jorg; Kessler, Cristoph W.; Traeff, Jesper L. (2001). Practical PRAM Programming. Wiley-Interscience. ISBN 978-0-471-35351-5.
  5. ^ Vishkin, Uzi (2009). Thinking in Parallel: Some Basic Data-Parallel Algorithms and Techniques, 104 pages (PDF). Class notes of courses on parallel algorithms taught since 1992 at the University of Maryland, College Park, Tel Aviv University and the Technion.
  6. ^ a b c d e f Casanova, Henri; Legrand, Arnaud; Robert, Yves (2008). Parallel Algorithms. CRC Press. p. 10. CiteSeerX 10.1.1.466.8142.
  7. ^ Blelloch, Guy (1996). "Programming Parallel Algorithms" (PDF). Communications of the ACM. 39 (3): 85–97. CiteSeerX 10.1.1.141.5884. doi:10.1145/227234.227246. S2CID 12118850.
  8. ^ Michael McCool; James Reinders; Arch Robison (2013). Structured Parallel Programming: Patterns for Efficient Computation. Elsevier. pp. 4–5.
  9. ^ a b c d e f Cormen, Thomas H.; Leiserson, Charles E.; Rivest, Ronald L.; Stein, Clifford (2009) [1990]. Introduction to Algorithms (3rd ed.). MIT Press and McGraw-Hill. pp. 779–784. ISBN 0-262-03384-4.
  10. ^ Kurgalin, Sergei; Borzunov, Sergei (2020). The discrete math workbook: a companion manual using Python. Texts in Computer Science (2nd ed.). Cham, Switzerland: Springer Naturel. ISBN 978-3-030-42220-2.
  11. ^ Gustafson, John L. (2011). "Brent's Theorem". Encyclopedia of Parallel Computing. pp. 182–185. doi:10.1007/978-0-387-09766-4_80. ISBN 978-0-387-09765-7.
石花膏是什么做的 执行标准是什么意思 孕期血糖高有什么症状 第二视角是什么意思 阴虚吃什么药效果最好
梦到女朋友出轨是什么意思 凶狠的反义词是什么 酱油什么时候发明的 什么是毒龙 p2大于a2什么意思
狗懒子是什么意思 熟络是什么意思 流产后吃什么 咳白色泡沫痰是什么病 脾虚吃什么水果
鳄鱼的天敌是什么 嗓子疼吃什么 干疮是什么样子的图片 夏天吃姜有什么好处 为什么会流鼻涕
为什么拉屎会有血hcv8jop7ns4r.cn 弓箭是什么时候发明的hcv9jop3ns4r.cn 什么南瓜hcv7jop9ns5r.cn 麾下什么意思adwl56.com 什么男什么女的成语hcv9jop3ns2r.cn
每天吃葡萄有什么好处和坏处zhiyanzhang.com 2002年出生属什么hcv8jop4ns4r.cn 喝黑苦荞茶有什么好处和坏处hcv9jop2ns6r.cn 什么是健康证hcv9jop1ns6r.cn 一什么杨桃hcv8jop6ns7r.cn
风调雨顺的下联是什么hcv8jop3ns2r.cn 灶性肠化是什么意思cl108k.com 排卵试纸阴性是什么意思hanqikai.com 常熟有什么好玩的地方hcv8jop4ns2r.cn 石膏的主要成分是什么hcv9jop5ns1r.cn
0a是什么意思hcv9jop1ns0r.cn 月经不调吃什么luyiluode.com 脾五行属什么hcv9jop6ns8r.cn 小妾是什么意思hcv8jop4ns5r.cn 老炮是什么意思hcv8jop9ns7r.cn
百度