DSpace Repository

Efficient on the fly maintenance of series-parallel relationships

Show simple item record

dc.creator Fineman, Jeremy T.
dc.date 2003-12-13T19:09:08Z
dc.date 2003-12-13T19:09:08Z
dc.date 2004-01
dc.date.accessioned 2013-10-09T02:32:51Z
dc.date.available 2013-10-09T02:32:51Z
dc.date.issued 2013-10-09
dc.identifier http://hdl.handle.net/1721.1/3857
dc.identifier.uri http://koha.mediu.edu.my:8181/xmlui/handle/1721
dc.description A series-parallel directed acyclic graph, or SP-dag, contains nodes that are either in series or logically in parallel. We present a data structure and algorithm to efficiently determine, in a single serial walk of the dag, whether two nodes are logically in parallel. We also present a modified version of this algorithm to detect parallel threads in any (parallel or serial) execution of a Cilk dag. The techniques we present in this paper depend on an order-maintenance data structure inspired by Dietz and Sleator. This data structure supports inserts and queries in O(1) amortized time. We maintain two complementary total-orders of the dag. If two nodes have the same relationship in both orders, then they operate in series. If they have different relationships in both orders, then they operate logically in parallel. The algorithm we use allows us to maintain both orders on a single, serial walk of the dag. Our algorithm takes O(T) time, where T is the time to execute a serial walk of the dag. The Dietz and Sleator order-maintenance structure does not support concurrent operations. Given the work-first property of the Cilk scheduler with a bounded number of steals (with high probability), we can maintain separate order structures for each processor in addition to a global order structure. Concurrent operations are only required in the global order structure on a steal. We prove that a Cilk program modified with our algorithm has a running time bounded to within a constant factor of the original program. Determinacy race detection depends on knowledge of the SP relationships of a parallel-program. We will apply the serial algorithm mentioned above to a determinacy race detector in Cilk. We will run benchmarks to compare the running time of this implementation to that of the current Nondeterminator, which relies on least common ancestor lookups.
dc.description Singapore-MIT Alliance (SMA)
dc.format 13643 bytes
dc.format application/pdf
dc.language en_US
dc.relation Computer Science (CS);
dc.subject series-parallel relationships
dc.subject directed acyclic graph
dc.subject determinacy race detection
dc.subject Cilk
dc.title Efficient on the fly maintenance of series-parallel relationships
dc.type Article


Files in this item

Files Size Format View

There are no files associated with this item.

This item appears in the following Collection(s)

Show simple item record

Search DSpace


Advanced Search

Browse

My Account