Elias Koutsoupias
Professor of Computer Science
University of Athens
Panepistimiopolis, Ilissia
Athens 15784
Greece

phone: +30 210 7275122
fax: +30 210 7275114

X. Deng, E. Koutsoupias, and P. MacKenzie. Competitive implementation of parallel programs. Algorithmica, 23(1):14--30, 1999.

### Abstract

We apply the methodology of competitive analysis of algorithms to the implementation of programs on parallel machines. We consider the problem of finding the best on-line distributed scheduling strategy that executes in parallel an unknown directed acyclic graph (dag) which represents the data dependency relation graph of a parallel program and which is revealed as execution proceeds. We study the competitive ratio of some important classes of dags assuming a fixed communication delay ratio $\tau$ that captures the average interprocessor communication measured in instruction cycles. We provide competitive algorithms for divide-and-conquer dags, trees, and general dags, when the number of processors depends on the size of the input dag and when the number of processors is fixed. Our major result is a lower bound $\Omega({\tau/\log\tau})$ of the competitive ratio for trees; it shows that it is impossible to design compilers that produce almost optimal execution code for all parallel programs. This fundamental result holds for almost any reasonable distributed memory parallel computation model, including the LogP and BSP model.

### Bib

@Article{DKM99,
author  =      {X. Deng and E. Koutsoupias and P. MacKenzie},
title =        {Competitive implementation of parallel programs},
journal =      {Algorithmica},
year =         1999,
volume =       23,
number =       1,
pages =        {14--30}
}

@string{SODA93 = {Proceedings of the 4th ACM-SIAM Symposium on
Discrete Algorithms}}

@InProceedings{DK93,
author =       {X. Deng and E. Koutsoupias},
title =        {Competitive implementation of parallel programs},
booktitle =    SODA93,
year =         1993,
month =        {25--27 } # jan,
pages =        {455--461},