Heuristic and neural algorithms for mapping tasks to a reconfigurable array

C.P. Ravikumar , Naresh Vedi
{"title":"Heuristic and neural algorithms for mapping tasks to a reconfigurable array","authors":"C.P. Ravikumar ,&nbsp;Naresh Vedi","doi":"10.1016/0165-6074(95)00007-B","DOIUrl":null,"url":null,"abstract":"<div><p>We consider the problem of mapping tasks onto processors in a reconfigurable array architecture. We assume a directed acyclic task graph as input. The node weights in the task graph represent their computational requirement; the weight on an edge (<em>i, j</em>) is an estimate of the communication requirement between tasks <em>i</em> and <em>j</em>. The problem is to (a) estimate the minimum number of processors <em>p</em> to execute all the tasks with the highest possible efficiency, (b) bind each task to a processor, (c) schedule the tasks within each processor, and (d) carry out link allocation among processors. We assume a realistic model of reconfigurable parallel processors, where each processor can be connected to at most <em>d</em> other processors through bidirectional links. The objective of the problem is to minimize the total overall execution time, which includes the time spent by the processors in computation, communication, and idling. The mapping problem is computationally hard, and we present two algorithms for obtaining near-optimal solutions. The first algorithm is a heuristic algorithm based on the <em>critical path method</em> and <em>as soon as possible</em> scheduling. The second algorithm uses the Boltzmann machine model of artificial neural networks to solve the mapping problem. We have implemented both the algorithms on a Sun/SPARC workstation. Experimental results on a set of benchmark problems indicate that the neural algorithm generates better solutions than the heuristic algorithm, but takes significantly larger amounts of time than the latter. The number of neurons required in the algorithm is equal to <em>n.p</em> and hence the connection matrix is <em>np</em> × <em>np</em>; thus the neural algorithm is also memory intensive and I/O intensive due to swapping. We have devised a parallel divide-and-conquer algorithm which decomposes a large mapping problem into several smaller ones and solves the subproblems concurrently on a network of Sun workstations.</p></div>","PeriodicalId":100927,"journal":{"name":"Microprocessing and Microprogramming","volume":"41 2","pages":"Pages 137-151"},"PeriodicalIF":0.0000,"publicationDate":"1995-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/0165-6074(95)00007-B","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Microprocessing and Microprogramming","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/016560749500007B","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

We consider the problem of mapping tasks onto processors in a reconfigurable array architecture. We assume a directed acyclic task graph as input. The node weights in the task graph represent their computational requirement; the weight on an edge (i, j) is an estimate of the communication requirement between tasks i and j. The problem is to (a) estimate the minimum number of processors p to execute all the tasks with the highest possible efficiency, (b) bind each task to a processor, (c) schedule the tasks within each processor, and (d) carry out link allocation among processors. We assume a realistic model of reconfigurable parallel processors, where each processor can be connected to at most d other processors through bidirectional links. The objective of the problem is to minimize the total overall execution time, which includes the time spent by the processors in computation, communication, and idling. The mapping problem is computationally hard, and we present two algorithms for obtaining near-optimal solutions. The first algorithm is a heuristic algorithm based on the critical path method and as soon as possible scheduling. The second algorithm uses the Boltzmann machine model of artificial neural networks to solve the mapping problem. We have implemented both the algorithms on a Sun/SPARC workstation. Experimental results on a set of benchmark problems indicate that the neural algorithm generates better solutions than the heuristic algorithm, but takes significantly larger amounts of time than the latter. The number of neurons required in the algorithm is equal to n.p and hence the connection matrix is np × np; thus the neural algorithm is also memory intensive and I/O intensive due to swapping. We have devised a parallel divide-and-conquer algorithm which decomposes a large mapping problem into several smaller ones and solves the subproblems concurrently on a network of Sun workstations.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
将任务映射到可重构数组的启发式和神经算法
我们考虑了在可重构阵列架构中将任务映射到处理器上的问题。我们假设一个有向无循环任务图作为输入。任务图中的节点权重表示其计算需求;边(i, j)上的权值是对任务i和任务j之间通信需求的估计。问题是(a)估计以最高效率执行所有任务的最小处理器数量p, (b)将每个任务绑定到一个处理器,(c)调度每个处理器内的任务,以及(d)在处理器之间进行链路分配。我们假设一个可重构并行处理器的现实模型,其中每个处理器可以通过双向链路连接到最多d个其他处理器。该问题的目标是最小化总执行时间,其中包括处理器在计算、通信和空闲上花费的时间。映射问题在计算上是困难的,我们提出了两种算法来获得近最优解。第一种算法是基于关键路径法和尽快调度的启发式算法。第二种算法利用人工神经网络的玻尔兹曼机模型来解决映射问题。我们已经在Sun/SPARC工作站上实现了这两种算法。在一组基准问题上的实验结果表明,神经网络算法比启发式算法产生更好的解,但所花费的时间明显大于启发式算法。算法中需要的神经元数等于n.p,因此连接矩阵为np × np;因此,由于交换,神经算法也是内存密集型和I/O密集型的。我们设计了一种并行分治算法,该算法将一个大的映射问题分解成几个较小的映射问题,并在Sun工作站网络上并发地解决子问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Mixing floating- and fixed-point formats for neural network learning on neuroprocessors Subject index to volume 41 (1995/1996) A graphical simulator for programmable logic controllers based on Petri nets A neural network-based replacement strategy for high performance computer architectures Modelling and performance assessment of large ATM switching networks on loosely-coupled parallel processors
×
引用
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