anewapproachfortasklevelcomputationalresourcebi任务级计算资源的铋的新方法

上传人:tian****1990 文档编号:81650744 上传时间:2019-02-22 格式:PPT 页数:48 大小:659KB
返回 下载 相关 举报
anewapproachfortasklevelcomputationalresourcebi任务级计算资源的铋的新方法_第1页
第1页 / 共48页
anewapproachfortasklevelcomputationalresourcebi任务级计算资源的铋的新方法_第2页
第2页 / 共48页
anewapproachfortasklevelcomputationalresourcebi任务级计算资源的铋的新方法_第3页
第3页 / 共48页
anewapproachfortasklevelcomputationalresourcebi任务级计算资源的铋的新方法_第4页
第4页 / 共48页
anewapproachfortasklevelcomputationalresourcebi任务级计算资源的铋的新方法_第5页
第5页 / 共48页
点击查看更多>>
资源描述

《anewapproachfortasklevelcomputationalresourcebi任务级计算资源的铋的新方法》由会员分享,可在线阅读,更多相关《anewapproachfortasklevelcomputationalresourcebi任务级计算资源的铋的新方法(48页珍藏版)》请在金锄头文库上搜索。

1、A New Approach for Task Level Computational Resource Bi-Partitioning,Gang Wang, Wenrui Gong, Ryan Kastner Express Lab, Dept. of ECE, University of California, Santa Barbara,Overview,Resource Partitioning Problem Ant System (AS) Heuristic AS for Task Level Resource Partitioning Experiment Results Fut

2、ure Work,Resource Partitioning Problem(1),Heterogeneous architecture is getting more and more popular Partitioning problem is a fundamental challenge Automatically assign application onto different computation resources Optimizing system performance under constraints Two resource case : hardware/sof

3、tware co-design,Resource Partitioning Problem(2),NP-hard Different heuristic methods have been developed Simulated annealing Genetic Algorithms Tabu Search Expert System Kernighan/Lin,Overview,Resource Partitioning Problem Ant System (AS) Heuristic AS for Task Level Resource Partitioning Experiment

4、Results Future Work,Ant System Heuristic (1),First introduced for optimization problems by Dorigo et. al. 1996 Inspired by ethological study on the behavior of ants Goss et. al. 1989 A meta heuristic A multi-agent cooperative searching method A new way for combining global/local heuristics,Ant Syste

5、m Heuristic (2),Ant System Heuristic (2),Ant System Heuristic (2),Ant System Heuristic (2),Ant System Heuristic (2),Ant System Heuristic (2),Ant System Heuristic (2),Ant System Heuristic (2),Ant System Heuristic (2),Key Observations,Autocatalytic effect Indirect communication (stigmergy) Ants deposi

6、t pheromones on the ground different the quality of the paths Pheromone trails encode a long-term global memory about the search process When the ants reach a decision, they are biased by the amount of pheromone (maybe probabilistically ),Overview,Resource Partitioning Problem Ant System (AS) Heuris

7、tic AS for Task Level Resource Partitioning Experiment Results Future Work,AS Algorithm for HW/SW Co-Design,Problem: For a given application, find the optimal resource partition under certain system constraints: Task level abstraction Task can map to GPP or Configurable Logic Pre-knowledge about the

8、 computational resources,Modeling the Task/Resource Partitioning Problem,Application is modeled as Task Graph (DAG) Sequential scheduling (not pipelined),Partitioning as Graph Bi-coloring,Task 1, 2, 7 and 8 are assigned to the GPP Task 3, 4, and 6 onto the configurable logic The inbound edges are co

9、lored accordingly We dont care the coloring for virtual nodes t0 and tn We dont care the coloring for edge e8n,Partitioning as Graph Bi-coloring,Each computing resource is assigned with a color ck Each edge eij is associated with a set of global heuristics (pheromone trails) ij(k) indicating the fav

10、orableness for tj to be colored with ck A coherent coloring is defined as: Each task node in the DAG is colored All the inbound edges of a task node have the same coloring as that of the corresponding task node,AS algorithm for resource partitioning (1),Initially, assign each of the edges in the tas

11、k graph with a fixed pheromone 0 for both color c1 and c2, where c1 corresponds to GPP, while c2 for the configurable logic; Put m ants on t0; Each ant traverses the task graph to create a feasible bi-coloring solution si for the task graph, where i =1, . . . ,m; Evaluate all the m solutions. The qu

12、ality of the solution s is measured by the overall execution time time(s). Among all solutions, find the best solution sbest which provides the minimum execution time and satisfies the configurable logic area constraint;,AS algorithm for resource partitioning (2),Update the pheromone for each color

13、on the edges as follows: ij(k) (1 - )ij(k) + ij(k) (1) where : 0 1 is the evaporation ratio, escape from local minima k = 1 or 2, ij(k) =Q/time(sbest ) if eij is colored with ck in sbest 0 otherwise If the ending condition is reached, stop and report the best solution found. Otherwise go to step 2.,

14、Step 3: How to construct individual coloring,Each ant traverses the graph in topologically sorted order Guarantees that each inbound edge to the current node has been already examined At each node, the ant will: Make guesses for the coloring of the successor nodes Make decision on the coloring of th

15、e current node,Make guesses for the successor task nodes,At task node ti, the ant makes guesses the coloring for each of the successor nodes tj : ij(k) : global heuristic on coloring tj with ck j(k) : local heuristic on coloring tj with ck,Make decision on the coloring of the current node,Upon enter

16、ing a new task node ti, the ant makes a decision on the coloring of ti : probabilistically based on the guesses made by all the immediate precedents of ti Inbound edges are correspondingly colored once this decision is made,t,1,t,2,t,3,t,4,t,5,t,6,t,7,t,8,t,0,t,n,t,1,t,2,t,3,t,4,t,5,t,6,t,7,t,8,t,0,t,n,t,1,t,2,t,3,t,4,t,5,t,6,t,7,t,8,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 高等教育 > 大学课件

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号