Please use this identifier to cite or link to this item: http://dspace.mediu.edu.my:8181/xmlui/handle/1721.1/7430
Full metadata record
DC FieldValueLanguage
dc.creatorBender, Michael A.-
dc.creatorFineman, Jeremy T.-
dc.creatorGilbert, Seth-
dc.creatorLeiserson, Charles E.-
dc.date2004-12-13T07:52:54Z-
dc.date2004-12-13T07:52:54Z-
dc.date2005-01-
dc.date.accessioned2013-10-09T02:49:29Z-
dc.date.available2013-10-09T02:49:29Z-
dc.date.issued2013-10-09-
dc.identifierhttp://hdl.handle.net/1721.1/7430-
dc.identifier.urihttp://koha.mediu.edu.my:8181/xmlui/handle/1721-
dc.descriptionA key capability of data-race detectors is to determine whether one thread executes logically in parallel with another or whether the threads must operate in series. This paper provides two algorithms, one serial and one parallel, to maintain series-parallel (SP) relationships "on the fly" for fork-join multithreaded programs. The serial SP-order algorithm runs in O(1) amortized time per operation. In contrast, the previously best algorithm requires a time per operation that is proportional to Tarjan’s functional inverse of Ackermann’s function. SP-order employs an order-maintenance data structure that allows us to implement a more efficient "English-Hebrew" labeling scheme than was used in earlier race detectors, which immediately yields an improved determinacy-race detector. In particular, any fork-join program running in T₁ time on a single processor can be checked on the fly for determinacy races in O(T₁) time. Corresponding improved bounds can also be obtained for more sophisticated data-race detectors, for example, those that use locks. By combining SP-order with Feng and Leiserson’s serial SP-bags algorithm, we obtain a parallel SP-maintenance algorithm, called SP-hybrid. Suppose that a fork-join program has n threads, T₁ work, and a critical-path length of T[subscript â ]. When executed on P processors, we prove that SP-hybrid runs in O((T₁/P + PT[subscript â ]) lg n) expected time. To understand this bound, consider that the original program obtains linear speed-up over a 1-processor execution when P = O(T₁/T[subscript â ]). In contrast, SP-hybrid obtains linear speed-up when P = O(√T₁/T[subscript â ]), but the work is increased by a factor of O(lg n).-
dc.descriptionSingapore-MIT Alliance (SMA)-
dc.format194904 bytes-
dc.formatapplication/pdf-
dc.languageen-
dc.relationComputer Science (CS);-
dc.subjectAmortized analysis-
dc.subjectalgorithms-
dc.subjectCilk-
dc.subjectdata race-
dc.subjectdata structure-
dc.subjectdynamic set-
dc.subjectfork-join-
dc.subjectgraph-
dc.subjectleast common ancestor-
dc.subjectlocking-
dc.subjectmulti-threading-
dc.subjectmutual exclusion-
dc.subjecton the fly-
dc.subjectorder maintenance-
dc.subjectparallel computing-
dc.subjectparse tree-
dc.subjectrace detection-
dc.subjectseries-parallel-
dc.subjectSP-bags-
dc.subjectSP-hybrid-
dc.subjectSP-order-
dc.subjectthread-
dc.subjecttrace-
dc.subjecttree-
dc.subjectwork stealing-
dc.titleOn-the-Fly Maintenance of Series-Parallel Relationships in Fork-Join Multithreaded Programs-
dc.typeArticle-
Appears in Collections:MIT Items

Files in This Item:
There are no files associated with this item.


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.