Progress-Based Distributed Queues - Exploring the effects of a novel heuristic with partial queues using fetch-and-add

dc.contributor.authorHermansson, Sebastian
dc.contributor.authorJohansson, Elias
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerSeger, Carl-Johan
dc.contributor.supervisorTsigas, Philippas
dc.date.accessioned2025-02-11T14:58:24Z
dc.date.available2025-02-11T14:58:24Z
dc.date.issued2024
dc.date.submitted
dc.description.abstractWith the increasing use of multi-threaded processors comes the challenge of scaling with a higher number of threads. To that end, the semantics of a data structure can be relaxed to lessen contention and achieve better performance. The data structure of interest in this thesis is a relaxed first-in-first-out queue called d-RA, which is made up of partial queues. It utilizes a length-based heuristic, that chooses a queue to perform an operation on. However, it employs relatively slow lock-free partial queues and uses a heuristic that is not definitively proven to be optimal. Furthermore, relaxed first-in-first-out queues lack real-world applications as they can not be used if the order of operations is strict. This thesis improves on the d-RA algorithm by using faster partial queues and a new progress-based heuristic, which generally increases the data structure’s throughput, causes it to scale with more threads, and lowers the level of relaxation. Additionally, we use relaxed queues in an unordered breadth-first-search to calculate the shortest paths in graphs where they are shown to outperform concurrent queues.
dc.identifier.coursecodeDATX05
dc.identifier.urihttp://hdl.handle.net/20.500.12380/309122
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectrelaxed first-in-first-out queue
dc.subjectrelaxed data structure
dc.subjectlock-free
dc.subjectlinearizable
dc.titleProgress-Based Distributed Queues - Exploring the effects of a novel heuristic with partial queues using fetch-and-add
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeComputer science – algorithms, languages and logic (MPALG), MSc
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 24-103 SH EJ.pdf
Storlek:
3.22 MB
Format:
Adobe Portable Document Format
Beskrivning:
License bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: