首页> 外文期刊>Frontiers of Information Technology & Electronic Engineering >Optimization of thread partitioning parameters in speculative multithreading based on artificial immune algorithm
【24h】

Optimization of thread partitioning parameters in speculative multithreading based on artificial immune algorithm

机译:基于人工免疫算法的推测多线程线程分配参数优化

获取原文
           

摘要

Thread partition plays an important role in speculative multithreading (SpMT) for automatic parallelization of irregular programs. Using unified values of partition parameters to partition different applications leads to the fact that every application cannot own its optimal partition scheme. In this paper, five parameters affecting thread partition are extracted from heuristic rules. They are the dependence threshold (DT), lower limit of thread size (TSL), upper limit of thread size (TSU), lower limit of spawning distance (SDL), and upper limit of spawning distance (SDU). Their ranges are determined in accordance with heuristic rules, and their step-sizes are set empirically. Under the condition of setting speedup as an objective function, all combinations of five threshold values form the solution space, and our aim is to search for the best combination to obtain the best thread granularity, thread dependence, and spawning distance, so that every application has its best partition scheme. The issue can be attributed to a single objective optimization problem. We use the artificial immune algorithm (AIA) to search for the optimal solution. On Prophet, which is a generic SpMT processor to evaluate the performance of multithreaded programs, Olden benchmarks are used to implement the process. Experiments show that we can obtain the optimal parameter values for every benchmark, and Olden benchmarks partitioned with the optimized parameter values deliver a performance improvement of 3.00% on a 4-core platform compared with a machine learning based approach, and 8.92% compared with a heuristics-based approach.
机译:线程分区在推测性多线程处理(SpMT)中起着重要作用,用于对不规则程序进行自动并行化。使用分区参数的统一值对不同的应用程序进行分区会导致每个应用程序无法拥有其最佳分区方案的事实。本文从启发式规则中提取了五个影响线程分区的参数。它们是相关性阈值(DT),线程大小的下限(TSL),线程大小的上限(TSU),产卵距离的下限(SDL)和产卵距离的上限(SDU)。根据启发式规则确定其范围,并根据经验设置步长。在将加速设置为目标函数的条件下,五个阈值的所有组合形成了求解空间,我们的目标是寻找最佳组合以获得最佳的线程粒度,线程依赖性和生成距离,以便每个应用程序有其最好的分区方案。该问题可以归因于单个目标优化问题。我们使用人工免疫算法(AIA)搜索最佳解决方案。在Prophet(这是用于评估多线程程序性能的通用SpMT处理器)上,使用Olden基准来实现该过程。实验表明,我们可以获得每个基准的最佳参数值,并且以最佳参数值划分的Olden基准在4核平台上的性能比基于机器学习的方法提高了3.00%,与基于机器学习的方法相比,提高了8.92%基于启发式的方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号