南京市徽为什么是貔貅| 什么车不能坐| 栗棕色是什么颜色| 月子里可以吃什么蔬菜| 等效球镜是什么意思| 果肉属于什么组织| 喉咙上火吃什么药| 红军为什么要长征| 引狼入室是什么意思| 马齿苋与什么食物相克| 心机boy什么意思| 焦糖色搭配什么颜色好看| 医的笔顺是什么| 安宫丸什么时候吃| 月经量少吃什么| 梦到装修房子是什么征兆| 儿童腿疼挂什么科| 红米是什么| 桂花代表什么生肖| 鲁班发明了什么东西| 嗓子痛吃什么消炎药| 软肋是什么意思| 欧豪资源为什么这么好| 肾阴虚是什么意思| 妈妈生日送什么| 什么奶不能喝| 手背肿胀是什么原因| 早上吃什么水果最好| 万人空巷是什么意思| 舌裂纹吃什么可以恢复| 董事长是什么职位| 屁股右边痛是什么原因| 寒凝血瘀吃什么中成药| 吃益生菌有什么好处| 毳毛是什么| 梦见狗咬我是什么意思| 6月18号什么星座| 咳嗽咳白痰是什么症状| 九牧王男装是什么档次| 血清铁蛋白是检查什么| 人五人六是什么意思| 梅子是什么| 片仔癀为什么这么贵| 血管疼是什么原因| 宇宙的中心是什么| 勿误是什么意思| pioneer是什么牌子| 吃什么对肝脏好| 99足银是什么意思| 精美的什么| cems是什么意思| 298什么意思| 收缩压是什么| 胎动频繁到什么程度说明缺氧| 口干口臭是什么原因引起的| 反应停是什么药| 男人吃海参有什么好处| 5月10日什么星座| 电起火用什么灭火器| 脖子下面的骨头叫什么| 专升本需要考什么| 胆红素升高是什么原因| 节肢动物用什么呼吸| 肝胆湿热用什么药| 什么叫二婚线| 专政是什么意思| 孩子干咳吃什么药效果好| 乳房发烫胀痛什么原因| 什么叫夏至| 伯母是什么意思| 廿年是什么意思| 朱砂是什么意思| 暗网里面有什么| ipa啤酒什么意思| 呕什么意思| 人为什么会死| 10.22是什么星座| 头孢不能和什么食物一起吃| 晚安安是什么意思| ntr是什么意思啊| 维生素b6是治什么的| 武汉市长是什么级别| 脐带血能治疗什么病| 丙肝抗体阳性是什么意思呢| 一什么树干| 拔完牙后能吃什么| 老专家药膏有什么功效| 什么食物补血效果最好最快| 属狗女和什么属相最配| 尿液中粘液丝高是什么原因| 戾气什么意思| 枸杞和什么搭配壮阳| phicomm是什么牌子| 减肥期间晚上吃什么| 甲沟炎去医院挂什么科| 爱出汗吃什么药好| 长沙有什么区| 卵巢早衰是什么意思| 失落是什么意思| 凉拖鞋什么材质的好| 银耳和什么一起煮最好| 阴道里面长什么样| 自诩是什么意思| 照影是什么意思| 嗯嗯什么意思| 阿堵物是什么意思| 双眼屈光不正是什么意思| 双子座女和什么星座最配| 吃什么对眼睛近视好| 家里为什么会进蝙蝠| 如鱼得水是什么意思| 梦见手机丢了又找到了是什么意思| 老鼠为什么不碰粘鼠板| 胃阴虚吃什么药| 乳腺化疗期间吃什么| 下午2点半是什么时辰| 狗到家里是什么预兆| 今天是什么节气| 戍怎么读音是什么| 休学需要什么条件| 谛听是什么| 阴枣是什么| 面料支数是什么意思| 肾结石什么症状| 早上起床想吐是什么原因| 连襟是什么意思| 什么的寒冷| 法令纹用什么填充效果最好| 女右眉毛跳是什么预兆| 什么是热射病| 今天是什么日子 农历| 老汉推车什么意思| 灌肠为什么能通输卵管| 女孩的英文是什么| 1963年属兔的是什么命| 小便多是什么原因男性| 常见的贫血一般是缺什么| 尿酮体是什么| 高铁跟动车有什么区别| 卫生纸属于什么垃圾| 骨质增生吃什么药效果好| 6代表什么| 愚孝什么意思| 五指姑娘是什么意思| 福鼎白茶属于什么茶| acei是什么| 穿堂风是什么意思| 请节哀是什么意思| 98年什么命| 9个月宝宝玩什么玩具| 9月13日是什么日子| 打喷嚏流清鼻涕吃什么药| 变化不著是什么意思| 赘疣是什么意思| 再接再励是什么意思| 业力是什么| 医德是什么| 变节是什么意思| 什么是转述句| 梦见洗碗是什么预兆| 妇科检查bv阳性是什么意思| 乳酸是什么东西| 娃娃鱼用什么呼吸| 几又念什么| 芦荟有什么功效与作用| 脚癣是什么原因引起的| 什么高什么低| prbpm是什么意思| 一度是什么意思| 脾胃是什么意思| 丛林之王是什么动物| 赤潮是什么| 抓拍是什么意思| 过敏是什么症状| 吃什么可以调理肠胃| 李白号称什么| 疱疹是什么病| 怀孕养猫对胎儿有什么影响| 头皮痒头皮屑多是什么原因| 彩金是什么| 起酥油是什么东西| 鼻子肿了又硬又疼是什么原因| 蝴蝶代表什么生肖| 甲状腺密度不均匀是什么意思| 血虚吃什么好| 什么时候普及高中义务教育| 眉下有痣代表什么| 2003年是什么命| 过敏性鼻炎用什么药| 勇气是什么| 发泡胶用什么能洗掉| 豆浆和豆奶有什么区别| 男人有卧蚕代表什么| 太阳出来我爬山坡是什么歌| 吃维生素b2有什么好处| 怀孕几天后有什么反应| 绿色加什么颜色是蓝色| 慢性非萎缩性胃炎是什么意思| 薄荷泡水喝有什么功效| 红细胞体积偏高是什么意思| 聚聚什么意思| 甘油三酯偏高说明什么| 日语一库一库是什么意思| 冬至广东吃什么| 碳足迹是什么| jhs空调是什么牌子| 静脉曲张有什么症状| 蔻驰和古驰有什么区别| 舌头有问题应该挂什么科| 什么卫什么海| 什么品牌油烟机好| 男性全身皮肤瘙痒是什么原因| spiderman是什么意思| lof是什么基金| 胃癌低分化是什么意思| 司局级是什么级别| pas是什么意思| 女性胃火旺吃什么药| 根是什么| 姨妈期吃什么| 心静自然凉是什么意思| 洗牙后要注意什么| 手脱皮用什么药好得快| 二尖瓣反流吃什么药| kitty是什么意思| 心率不齐是什么原因| 冲羊煞东是什么意思| 五月初六是什么星座| 紧急避孕药什么时候吃最好| 黑眼圈是什么原因| 肛门坠胀吃什么药最好| 胃肠道功能紊乱吃什么药| 阳性血是什么意思| 肛裂用什么药膏| 平均红细胞体积偏低是什么意思| 长一根白眉毛预示什么| 子宫内膜脱落是什么意思| 包皮炎吃什么消炎药| 海啸是什么| 办健康证挂什么科| eoa是什么意思| 脚踝水肿是什么原因| 长寿花用什么肥料最好| samsonite什么牌子| 1027是什么星座| 榴莲为什么那么臭| 早上八点多是什么时辰| 先父遗传是什么意思| 物色什么意思| 水手是干什么的| 孩子鼻子流鼻血是什么原因| 绽开什么| 一个大一个小念什么| 高粱是什么粮食| 脑梗挂什么科室| 玉米须煮水喝有什么好处| 5岁属什么| 发财树是什么树| 梦见和老公吵架是什么意思| 没晨勃说明什么问题| 夕颜是什么意思| 什么叫安置房| 麻醉剂是什么| 结膜炎用什么眼药水效果好| 百度Jump to content

军运会首批特许商品7月有望面世

From Wikipedia, the free encyclopedia
百度 林福敬说:我是一个喜欢聊天、爱笑的人,我想我外向的性格使我成为这份工作的合适人选。

In computer science, a parallel algorithm, as opposed to a traditional serial algorithm, is an algorithm which can do multiple operations in a given time. It has been a tradition of computer science to describe serial algorithms in abstract machine models, often the one known as random-access machine. Similarly, many computer science researchers have used a so-called parallel random-access machine (PRAM) as a parallel abstract machine (shared-memory).[1][2]

Many parallel algorithms are executed concurrently – though in general concurrent algorithms are a distinct concept – and thus these concepts are often conflated, with which aspect of an algorithm is parallel and which is concurrent not being clearly distinguished. Further, non-parallel, non-concurrent algorithms are often referred to as "sequential algorithms", by contrast with concurrent algorithms.

Parallelizability

[edit]

Algorithms vary significantly in how parallelizable they are, ranging from easily parallelizable to completely unparallelizable. Further, a given problem may accommodate different algorithms, which may be more or less parallelizable.

Some problems are easy to divide up into pieces in this way – these are called embarrassingly parallel problems. Examples include many algorithms to solve Rubik's Cubes and find values which result in a given hash.[citation needed]

Some problems cannot be split up into parallel portions, as they require the results from a preceding step to effectively carry on with the next step – these are called inherently serial problems. Examples include iterative numerical methods, such as Newton's method, iterative solutions to the three-body problem, and most of the available algorithms to compute pi (π).[citation needed] Some sequential algorithms can be converted into parallel algorithms using automatic parallelization.[3]

In many cases developing an effective parallel algorithm for solution of some task requires attraction of new ideas and methods comparing to creating a sequential algorithm version. These are, for instance, practically important problems of searching a target element in data structures, evaluation of an algebraic expression, etc.[4]

Motivation

[edit]

Parallel algorithms on individual devices have become more common since the early 2000s because of substantial improvements in multiprocessing systems and the rise of multi-core processors. Up until the end of 2004, single-core processor performance rapidly increased via frequency scaling, and thus it was easier to construct a computer with a single fast core than one with many slower cores with the same throughput, so multicore systems were of more limited use. Since 2004 however, frequency scaling hit a wall, and thus multicore systems have become more widespread, making parallel algorithms of more general use.

Issues

[edit]

Communication

[edit]

The cost or complexity of serial algorithms is estimated in terms of the space (memory) and time (processor cycles) that they take. Parallel algorithms need to optimize one more resource, the communication between different processors. There are two ways parallel processors communicate, shared memory or message passing.

Shared memory processing needs additional locking for the data, imposes the overhead of additional processor and bus cycles, and also serializes some portion of the algorithm.

Message passing processing uses channels and message boxes but this communication adds transfer overhead on the bus, additional memory need for queues and message boxes and latency in the messages. Designs of parallel processors use special buses like crossbar so that the communication overhead will be small but it is the parallel algorithm that decides the volume of the traffic.

If the communication overhead of additional processors outweighs the benefit of adding another processor, one encounters parallel slowdown.

Load balancing

[edit]

Another problem with parallel algorithms is ensuring that they are suitably load balanced, by ensuring that load (overall work) is balanced, rather than input size being balanced. For example, checking all numbers from one to a hundred thousand for primality is easy to split among processors; however, if the numbers are simply divided out evenly (1–1,000, 1,001–2,000, etc.), the amount of work will be unbalanced, as smaller numbers are easier to process by this algorithm (easier to test for primality), and thus some processors will get more work to do than the others, which will sit idle until the loaded processors complete.

Distributed algorithms

[edit]

A subtype of parallel algorithms, distributed algorithms, are algorithms designed to work in cluster computing and distributed computing environments, where additional concerns beyond the scope of "classical" parallel algorithms need to be addressed.

See also

[edit]

References

[edit]
  1. ^ Blelloch, Guy E.; Maggs, Bruce M. "Parallel Algorithms" (PDF). USA: School of Computer Science, Carnegie Mellon University. Retrieved 2025-08-06.
  2. ^ 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.
  3. ^ Megson G M; Chen Xian (4 January 1997). Automatic Parallelization For A Class Of Regular Computations. World Scientific. ISBN 978-981-4498-41-8.
  4. ^ 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.
[edit]
肥波是什么品种的猫 ppsu是什么材质 墨绿色大便是什么原因 咳嗽肺疼是什么原因 痛风石是什么
反刍是什么意思 睾酮高有什么影响 胸部检查挂什么科 月经颜色暗红色是什么原因 喉咙看什么科
什么鱼最好养不容易死 湿热体质适合喝什么茶 严密是什么意思 一根长寿眉预示什么 心驰神往是什么意思
殳是什么意思 男人结扎有什么好处 菜板买什么材质的好 什么牌子的学习机好 打激素有什么副作用
男人本色是什么意思hcv7jop4ns5r.cn 大便不成形吃什么食物好hcv7jop5ns3r.cn 脚筋疼是什么原因hcv9jop1ns7r.cn 为什么吃一点东西肚子就胀hcv8jop0ns2r.cn 2013年是什么命sscsqa.com
东成西就是什么生肖wuhaiwuya.com 什么的意思hcv8jop6ns6r.cn 蝉又叫什么名字hcv8jop4ns6r.cn 素什么意思hcv8jop2ns1r.cn 身心俱疲是什么意思hcv8jop5ns1r.cn
脂肪肝吃什么药hcv9jop3ns8r.cn 干咳无痰是什么原因hcv8jop1ns4r.cn 腰疼是什么原因引起的女性hcv9jop6ns4r.cn 右胸是什么器官hcv9jop7ns4r.cn 火碱是什么东西chuanglingweilai.com
男人第一次什么 感觉hcv8jop8ns1r.cn 牙龈肿吃什么药hcv8jop4ns8r.cn 钓鱼执法是什么意思hcv9jop6ns4r.cn 夏季什么时候最热hcv9jop1ns5r.cn 梅花鹿吃什么食物hcv9jop2ns3r.cn
百度