Iterators, Schedulers, and Distributed-memory Parallelism

In previous work, we demonstrated the advantages of encapsulating query evaluation algorithms as ‘iterators’ for sequential and parallel query evaluation. Unfortunately, those earlier models have a severe drawback with respect to resource allocation in distributed‐memory systems. Since threads may b...

Celý popis

Uloženo v:
Podrobná bibliografie
Vydáno v:Software, practice & experience Ročník 26; číslo 4; s. 427 - 452
Hlavní autor: GRAEFE, GOETZ
Médium: Journal Article
Jazyk:angličtina
Vydáno: New York John Wiley & Sons, Ltd 01.04.1996
Wiley
Témata:
ISSN:0038-0644, 1097-024X
On-line přístup:Získat plný text
Tagy: Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
Popis
Shrnutí:In previous work, we demonstrated the advantages of encapsulating query evaluation algorithms as ‘iterators’ for sequential and parallel query evaluation. Unfortunately, those earlier models have a severe drawback with respect to resource allocation in distributed‐memory systems. Since threads may be initiated long before they actually perform useful work, thread placement decisions may be suboptimal. In this paper, we briefly review the iterator model and then extend it to support bottom‐up, just‐in‐time activation of appropriate query plan fragments as well as local and global synchronization and communication among sibling threads. Some of the algorithms described here may seem intricate; however, the intricacy is encapsulated entirely in the parallelism or ‘exchange’ iterator, thus freeing developers of data manipulation iterators to focus on the specific algorithms at hand, instead of on mechanisms for parallelism. Moreoever, code fragments extracted from an operational prototype demonstrate the ease with which our suggestions can be implemented. Run‐time overhead and performance of our techniques are identical to those of earlier, less extensible techniques for bottom‐up activation; the benefits of the presented techniques are their clean design, ion, extensibility, and the resulting ease of maintenance and enhancement.
Bibliografie:istex:C72EBE252447D1192CC36EFC23838AB79B81FD35
ArticleID:SPE20
ark:/67375/WNG-8PZ2LGCB-J
ObjectType-Article-2
SourceType-Scholarly Journals-1
ObjectType-Feature-1
content type line 23
ISSN:0038-0644
1097-024X
DOI:10.1002/(SICI)1097-024X(199604)26:4<427::AID-SPE20>3.0.CO;2-H