kth.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Performance of GPU-accelerated Marriage in Honey Bees Optimization: An application to the Graph Coloring Problem
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Prestandan av GPU-accelererad Marriage in Honey Bees Optimization : En tillämpning på graffärgningsproblemet (Swedish)
Abstract [en]

This thesis investigates whether the Marriage in Honey Bees Optimization (MBO) heuristic, applied to the graph coloring problem, can be sped up by leveraging GPU-acceleration. Three versions of MBO were implemented; one baseline sequential version, one simple parallelized version where the MBO egg-raising process was parallelized using CUDA, and one where the worker heuristics were further adapted to better utilize hardware resources. As workers, naive implementations of the tabu coloring and partial coloring heuristics were used. The simple parallelized version achieved speedups of 2.7-6.1 times over the sequential version, whereas the further adapted version reached speedups of 26.3-109.0 times. Although the naive worker implementations hampered the execution times in absolute terms, the relative speedup of the further adapted version showed that future work on CUDA-based MBO should consider choosing worker heuristics that are themselves parallelizable.

Abstract [sv]

Denna uppsats undersöker huruvida Marriage in Honey Bees (MBO) heuristiken, applicerad på graffärgningsproblemet, kan snabbas upp genom användning av GPU-acceleration. Tre versioner av MBO implementerades; en sekventiell version som bas, en simpel parallelliserad version där MBO:s äggutvecklingsstadium parallelliserades med hjälp av CUDA, och en version där arbetarheuristikerna dessutom anpassades för att bättre utnyttja grafikkortets hårdvaruresurser. Som arbetare användes naiva implementationer av tabu coloring och partial coloring heuristikerna. Den simpla parallelliserade versionen uppmättes vara 2.7-6.1 gånger snabbare än den sekventiella versionen. Versionen med anpassade arbetare var 26.3-109.0 gånger snabbare. Fastän de naiva arbetarimplementationerna gjorde de absoluta exekveringstiderna långsamma, så visade den relativa förbättringen på att framtida arbete med CUDA-baserad MBO bör välja heuristiker som i sig har parallelliseringspotential.

Place, publisher, year, edition, pages
2024. , p. 38
Series
TRITA-EECS-EX ; 2024:349
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-351102OAI: oai:DiVA.org:kth-351102DiVA, id: diva2:1886191
Supervisors
Examiners
Available from: 2024-08-22 Created: 2024-07-30 Last updated: 2024-08-22Bibliographically approved

Open Access in DiVA

fulltext(1086 kB)129 downloads
File information
File name FULLTEXT01.pdfFile size 1086 kBChecksum SHA-512
79a98297dd1e31765ccfe12309d8a6dfdc5fbb458dd379509758a2cdec09e82f6da9d53fcbddb1dbcc9b694ada5b375589506351f25a77a8f2700db331f53a36
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 129 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 256 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf