首页> 外国专利> METHOD AND APPARATUS FOR DYNAMIC ALLOCATION OF SYSTEM RESOURCE TO SUPPORT PIPELINE PARALLELISM IN HETEROGENEOUS MULTI-PROCESSING ENVIRONMENT

METHOD AND APPARATUS FOR DYNAMIC ALLOCATION OF SYSTEM RESOURCE TO SUPPORT PIPELINE PARALLELISM IN HETEROGENEOUS MULTI-PROCESSING ENVIRONMENT

机译:在异构多处理环境中动态分配系统资源以支持管道并行性的方法和装置

摘要

The present invention relates to a method and an apparatus for allocating dynamical system resources supporting pipeline parallelism in a heterogeneous multiprocessing environment according to an embodiment of the present invention comprises: (a) a step of acquiring identification information of worker thread of performing each state with respect to one or more stages constituting a target pipeline application and processing time information of each stage; (b) a step of calculating a throughput of each stage on the basis of the identification information of worker thread and the processing time information of each stage, and determines a stage with the lowest throughput as a limited stage and the stages other than the limited stage as unlimited stages; (c) a step of selecting a distribution state of system resources of making the highest energy efficiency at the time of executing a target pipeline application of distribution states of system resources allocatable to the limited stage, as a current distribution state of system resources, allocating a core to the limited stage in accordance with the current distribution state of system resources, and allocatable cores other than the core allocated to the limited stage, to the unlimited stages; (d) a step of monitoring whether a program phase of the target pipeline application is changed; and (e) a step of performing step (a) to step (e) when the program phase is changed in step (d).
机译:本发明涉及一种根据本发明实施例的用于在异构多处理环境中分配支持流水线并行性的动态系统资源的方法和装置,包括:(a)获取执行每个状态的工作线程的标识信息的步骤。关于构成目标管线应用的一个或多个阶段以及每个阶段的处理时间信息; (b)基于工作线程的识别信息和每个阶段的处理时间信息计算每个阶段的吞吐量的步骤,并将吞吐量最低的阶段确定为受限阶段和非受限阶段。无限阶段(c)在执行目标管道应用时,选择可分配到有限阶段的系统资源的分配状态作为系统资源的当前分配状态的步骤,该方法选择系统资源的分配状态,以使能量效率最高。根据系统资源当前的分配状态,进入有限阶段的核心,分配给有限阶段的核心以外的可分配核心,进入无限阶段; (d)监视目标管线应用的程序阶段是否改变的步骤; (e)当在步骤(d)中改变程序阶段时执行步骤(a)至步骤(e)的步骤。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号