Space efficient execution of deterministic parallel programs

被引:5
作者
Simpson, DJ [1 ]
Burton, FW [1 ]
机构
[1] Simon Fraser Univ, Burnaby, BC V5A 1S6, Canada
关键词
memory management; scheduling; worst case performance; parallel programming; memory bounds; shared memory;
D O I
10.1109/32.824415
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We model a deterministic parallel program by a directed acyclic graph of tasks, where a task can execute as soon as all tasks preceding it have been executed. Each task can allocate or release an arbitrary amount of memory (i.e., heap memory allocation can be modeled). We call a parallel schedule "space efficient" if the amount of memory required is at mast equal to the number of processors times the amount of memory required for some depth-first execution of the program by a single processor. We will describe a simple, locally depth-first, scheduling algorithm and shaw that it is always space efficient. Since the scheduling algorithm is greedy, it will be within a factor of two of being optimal with respect to time. For the special case of a program having a series-parallel structure, we show how to efficiently compute the worst case memory requirements over all possible depth-first executions of a program. Finally, we show how scheduling can be decentralized, making the approach scalable to a large number of processors when there is sufficient parallelism.
引用
收藏
页码:870 / 882
页数:13
相关论文
共 13 条
[1]  
ARORA NS, 1998, IN PRESS THREAD SCHE
[2]  
BLELLOCH GE, 1995, P 7 ACM S PAR ALG AR, P1
[3]  
BLELLOCH GE, 1997, ACM S PAR ALG ARCH J
[4]  
Blumofe R. D., 1993, Proceedings of the Twenty-Fifth Annual ACM Symposium on the Theory of Computing, P362, DOI 10.1145/167088.167196
[5]  
Blumofe R. D., 1995, THESIS MIT
[6]  
BLUMOFE RD, 1998, IN PRESS PERFORMANCE
[7]  
BLUMOFE RD, 1994, P 35 S FDN COMP SCI
[8]  
Burton F. W., 1994, Journal of Functional Programming, V4, P65, DOI 10.1017/S0956796800000940
[9]  
BURTON FW, IN PRESS BOUNDING WO
[10]  
BURTON FW, 1988, IEEE T COMPUTERS, V37