计算机与现代化

• 应用与开发 • 上一篇    下一篇

负载均衡技术在并行化符号执行中的应用

  

  1. (南京航空航天大学计算机科学与技术学院,江苏南京211106)
  • 收稿日期:2017-11-23 出版日期:2018-08-23 发布日期:2018-08-27
  • 作者简介:李航(1991-),男,河南新郑人,南京航空航天大学计算机科学与技术学院硕士研究生,CCF会员,研究方向:软件测试;臧洌(1965-),女,江苏南京人,副教授,研究方向:机器学习;甘露(1991-),女,安徽黄山人,硕士研究生,研究方向:机器学习,软件缺陷预测。

ApplicationofLoadBalancingTechnologyinParallelSymbolExecution

  1. (CollegeofComputerScienceandTechnology,NanjingUniversityofAeronauticsandAstronautics,Nanjing211106,China)
  • Received:2017-11-23 Online:2018-08-23 Published:2018-08-27

摘要: 动态符号执行在一定的并行算法下是可以并行化的,而且研究发现并行下的路径搜索任务之间没有偏序关系。并行化下的任务调度经常采用集中式策略,但传统的集中式策略由于任务分发的问题,易产生处理单元空闲等待的情况。基于以上分析,本文先采用任务队列缓冲区解决处理单元空闲等待的问题,其次,抓住并行任务无偏序关系的特点,无需考虑任务的执行优先级,只需用负载均衡技术保证各处理单元的工作负荷大致相等即可。实验证明,集中式策略的改进和负载均衡技术的使用显著提升了并行化符号执行的效率。

关键词: 并行算法, 负载均衡, 符号执行, 集中式策略

Abstract: Dynamicsymbolexecutioncanbeparallelundercertainparallelalgorithms,andthestudyfindsthatthereisnopartialorderrelationshipbetweenthepathsearchtasksunderparallel.Paralleltaskschedulingoftenusescentralizedstrategy.However,duetotheproblemoftaskdistribution,thetraditionalcentralizedstrategyeasilycausesthecomputingunittowaitfortask.Basedontheaboveanalysis,thispaperfirstusesthebuffertostorethetasktosolvetheproblemofcomputingunitwaitingfortask.Secondly,wegraspthecharacteristicsthatparalleltasksdon’thavepartialorderrelationship,regardlessofthepriorityofthetask,butbalancetheworkloadofeachcomputingunitbyloadbalancingtechnology.Experimentsshowthatloadbalancingtechniquesandimprovedcentralizedstrategiessignificantlyimproveparallelefficiency.

Key words: parallelalgorithm, loadbalancing, symbolexecution, centralizedstrategy

中图分类号: