Relaxed Priority Queue & Evaluation of Locks

dc.contributor.authorRudén, Andreas
dc.contributor.authorAndersson, Ludvig
dc.contributor.departmentGöteborgs universitet/Institutionen för data- och informationsteknikswe
dc.contributor.departmentUniversity of Gothenburg/Department of Computer Science and Engineeringeng
dc.date.accessioned2023-10-23T11:49:30Z
dc.date.available2023-10-23T11:49:30Z
dc.date.issued2023-10-23
dc.description.abstractWe present a new, lock-free and concurrent priority queue, utilizing some ideas from [1] by Rukundo et al., that relaxes the traditional sequential semantics of the delete_min operation to achieve better scalability and performance. This relaxation is such that delete_min operations can be k-out-of-order when compared to sequential semantics, for which k has a well-defined upper bound. We experimentally compare our priority queue to established, concurrent priority queues, both with relaxed and non-relaxed semantics, and find that ours performs well. Furthermore, we conduct tests with locks using data structures from [1] by Rukundo et al., comparing the data structures’ performance when making use of a mix of atomic instructions and locks to that of the original design, which only utilizes atomic instructions. This allowed us to use different underlying data structures, and 3 different data structures using locks were tested; a linked list, a dynamic array, and a list of small arrays. We find that in some instances, this leads to increased cache-locality in data access patterns, and therefore an overall increase in performance. As an example of this, a speedup of up to 7.6 times was observed for the largest relaxation of the queue when using an array, compared to the original, with large improvements for other data structures as well.en
dc.identifier.urihttps://hdl.handle.net/2077/78919
dc.language.isoengen
dc.setspec.uppsokTechnology
dc.subjectConcurrencyen
dc.subjectData Structuresen
dc.subjectAlgorithmsen
dc.subjectPriority Queueen
dc.subjectSemantic Relaxationen
dc.subjectLock-freeen
dc.subjectScalabilityen
dc.subjectPerformanceen
dc.titleRelaxed Priority Queue & Evaluation of Locksen
dc.typetext
dc.type.degreeStudent essay
dc.type.uppsokH2

Files

Original bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
CSE 23-19 AR LA.pdf
Size:
667.45 KB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
876 B
Format:
Item-specific license agreed upon to submission
Description:

Collections