Skip navigation
Please use this identifier to cite or link to this item: http://arks.princeton.edu/ark:/88435/dsp014x51hm65v
Full metadata record
DC FieldValueLanguage
dc.contributor.advisorTarjan, Robert E.-
dc.contributor.authorJayanti, Siddhartha-
dc.date.accessioned2017-07-26T20:17:33Z-
dc.date.available2017-07-26T20:17:33Z-
dc.date.created2017-6-2-
dc.date.issued2017-6-2-
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/dsp014x51hm65v-
dc.description.abstractDisjoint set union is a classical problem in sequential data structures with a wide range of applications. The compressed trees algorithm with a good linking rule, such as linking by rank, or a good compaction rule, such as splitting, yields an amortized logarithmic time solution. In fact, using both rules together yields an optimal amortized inverse-Ackermann (almost constant) time solution to the problem. However, even constant time algorithms may be too slow for some huge practical instances of set union that arise in model checking, making concurrent set union algorithms paramount.A previous work by Anderson and Woll gave an algorithm for concurrent set union that uses the \(CAS{} \)(compare-and-swap) synchronization instruction, which is commonly supported on multi-processors. However, their algorithm's amortized work per operation on a set-union instance with \(n\) nodes and \(p\) processes was \(\Theta(\alpha(n,0) + p)\). Unfortunately, the \(p\)-term implies that the work per operation grows {\em linearly} with the number of processes, which in effect means that using more processors does not reduce the time per operation over a sequential implementation.In this thesis we develop randomized and deterministic \(CAS{}\)-based algorithms for disjoint set union that reduce the concurrency overhead to a {\em logarithmic} term in \(p\). Our strongest randomized algorithm has a worst-case work per operation of \(O(\log n)\) with high probability and an expected work per operation of \(\Theta(\alpha(n, \frac{m}{np}) + \log (\frac{np}{m} + 1)),\) where \(m\) is the total number of operations performed by all processes.Our strongest deterministic algorithm uses the two-word compare-and-swap operation to guarantee a worst-case work per operation of \(O(\log n)\) and an amortized work per operation of \(\Theta(\alpha(n, \frac{m}{np}) + \log (\frac{np}{m} + 1))\). Finally, we establish that logarithmic concurrency overhead is inherent to all symmetric algorithms for the problem by proving that any symmetric algorithm for set union must perform at least \(\Omega(\alpha(n, \frac{m}{n}) + \log (\frac{np}{m} + 1))\) amortized work per operation.-
dc.language.isoen_US-
dc.titleConcurrent Disjoint Set Union-
dc.typePrinceton University Senior Theses-
pu.date.classyear2017-
pu.departmentComputer Science-
pu.pdf.coverpageSeniorThesisCoverPage-
pu.contributor.authorid960890475-
pu.contributor.advisorid010004635-
Appears in Collections:Computer Science, 1988-2020

Files in This Item:
File SizeFormat 
written_final_report.pdf505.91 kBAdobe PDF    Request a copy


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