Computational complexity when constructing rational plans for program execution in a given field of parallel computers

V. Bakanov
{"title":"Computational complexity when constructing rational plans for program execution in a given field of parallel computers","authors":"V. Bakanov","doi":"10.32362/2500-316x-2022-10-6-7-19","DOIUrl":null,"url":null,"abstract":"Objectives. The construction of rational plans (schedules) for parallel program execution (PPE) represents a challenging problem due to its ambiguity. The aim of this work is to create methods for developing such plans and specialized software for implementing these methods, which are based on the internal properties of algorithms, primarily on the property of internal (hidden) parallelism.Methods. The main method for developing PPE plans was the construction, analysis, and purposeful transformation of the stacked-parallel form (SPF) of information graphs of algorithms (IGA). The SPF was transformed by transferring operators from tier to tier of the SPF (this event was taken as an elementary step in determining the computational complexity of scenario execution). As a transformation tool, a method for developing transformation scenarios in the scripting programming language Lua was used. Scenarios were created by a heuristic approach using a set of Application Programming Interface (API) functions of the developed software system. These functions formed the basis for a comprehensive study of the parameters of the IGA and its SPF representation for the subsequent construction of a PPE plan applying to a given field of parallel computers.Results. Features of the internal properties of the algorithms that affect the efficiency of SPF transformations were identified during the course of computational experiments. Comparative indices of the computational complexity of obtaining PPE plans and other parameters (including code density, etc.) were obtained for various SPF transformation scenarios. An iterative approach to improving heuristic methods favors developing optimal schemes for solving the objective problem.Conclusions. The developed software system confirmed its efficiency for studying the parameters of hidden parallelism in arbitrary algorithms and rational use in data processing. The approach of using a scripting language to develop heuristic methods (scenarios) for the purposeful transformation of IGA forms showed great flexibility and transparency for the researcher. The target consumers of the developed methods for generating schedules for parallel execution of programs are, first of all, developers of translators and virtual machines, and researchers of the properties of algorithms (for identifying and exploiting the potential of their hidden parallelism). The developed software and methods have been successfully used for a number of years for increasing student competence in data processing parallelization at Russian universities.","PeriodicalId":282368,"journal":{"name":"Russian Technological Journal","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Russian Technological Journal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.32362/2500-316x-2022-10-6-7-19","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Objectives. The construction of rational plans (schedules) for parallel program execution (PPE) represents a challenging problem due to its ambiguity. The aim of this work is to create methods for developing such plans and specialized software for implementing these methods, which are based on the internal properties of algorithms, primarily on the property of internal (hidden) parallelism.Methods. The main method for developing PPE plans was the construction, analysis, and purposeful transformation of the stacked-parallel form (SPF) of information graphs of algorithms (IGA). The SPF was transformed by transferring operators from tier to tier of the SPF (this event was taken as an elementary step in determining the computational complexity of scenario execution). As a transformation tool, a method for developing transformation scenarios in the scripting programming language Lua was used. Scenarios were created by a heuristic approach using a set of Application Programming Interface (API) functions of the developed software system. These functions formed the basis for a comprehensive study of the parameters of the IGA and its SPF representation for the subsequent construction of a PPE plan applying to a given field of parallel computers.Results. Features of the internal properties of the algorithms that affect the efficiency of SPF transformations were identified during the course of computational experiments. Comparative indices of the computational complexity of obtaining PPE plans and other parameters (including code density, etc.) were obtained for various SPF transformation scenarios. An iterative approach to improving heuristic methods favors developing optimal schemes for solving the objective problem.Conclusions. The developed software system confirmed its efficiency for studying the parameters of hidden parallelism in arbitrary algorithms and rational use in data processing. The approach of using a scripting language to develop heuristic methods (scenarios) for the purposeful transformation of IGA forms showed great flexibility and transparency for the researcher. The target consumers of the developed methods for generating schedules for parallel execution of programs are, first of all, developers of translators and virtual machines, and researchers of the properties of algorithms (for identifying and exploiting the potential of their hidden parallelism). The developed software and methods have been successfully used for a number of years for increasing student competence in data processing parallelization at Russian universities.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
在给定的并行计算机领域中,为程序执行构造合理计划时的计算复杂性
目标。并行程序执行(PPE)的合理计划(进度表)的构造由于其模糊性而成为一个具有挑战性的问题。这项工作的目的是创建开发这些计划的方法和实现这些方法的专门软件,这些方法基于算法的内部属性,主要是基于内部(隐藏)并行性的属性。制定PPE计划的主要方法是对算法信息图(IGA)的堆叠-并行形式(SPF)进行构建、分析和有目的的转换。通过在SPF的各层之间传递算子对SPF进行变换(该事件作为确定场景执行计算复杂度的基本步骤)。作为转换工具,使用脚本编程语言Lua开发转换场景的方法。使用开发的软件系统的一组应用程序编程接口(API)功能,通过启发式方法创建场景。这些函数构成了对IGA参数及其SPF表示的综合研究的基础,为随后构建适用于给定并行计算机领域的PPE计划奠定了基础。在计算实验过程中,确定了影响SPF变换效率的算法的内部特性特征。得到了不同SPF转换场景下PPE平面图获取计算复杂度及其他参数(包括码密度等)的对比指标。改进启发式方法的迭代方法有利于开发解决客观问题的最佳方案。所开发的软件系统对于任意算法中隐含并行参数的研究和在数据处理中的合理使用证明了其有效性。使用脚本语言开发启发式方法(场景)以有目的地转换IGA表单的方法对研究人员显示了极大的灵活性和透明度。为程序的并行执行生成调度而开发的方法的目标消费者,首先是翻译和虚拟机的开发人员,以及算法属性(用于识别和利用其隐藏的并行性的潜力)的研究人员。所开发的软件和方法已经成功地用于提高俄罗斯大学学生在数据处理并行化方面的能力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Study of the probabilistic and temporal characteristics of wireless networks using the CSMA/CA access method A mathematical model of the gravitational potential of the planet taking into account tidal deformations Mathematical modeling of microwave channels of a semi-active radar homing head Magnetorefractive effect in metallic Co/Pt nanostructures Methods for analyzing the impact of software changes on objective functions and safety functions
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1