Simulating sorting networks on a multi-core processor

dc.contributorAalto-yliopistofi
dc.contributorAalto Universityen
dc.contributor.authorBlomqvist, Cay
dc.contributor.departmentAutomaatio- ja systeemitekniikan laitosfi
dc.contributor.schoolSähkötekniikan korkeakoulufi
dc.contributor.schoolSchool of Electrical Engineeringen
dc.contributor.supervisorKoivo, Heikki
dc.date.accessioned2020-12-23T17:27:57Z
dc.date.available2020-12-23T17:27:57Z
dc.date.issued2011
dc.description.abstractA sorting network is a network that sorts its input using comparators. A multi-core processor is a processor that consists of two or more processing cores, which share a common memory. Sorting networks can be simulated on a multi-core processor utilizing parallel execution. Simulating sorting networks for different input lengths requires that a block model of the sorting network and a suitable parallel programming method is known. This thesis shows the block model for five efficient sorting networks. The block models of all five sorting networks are based on three basic blocks. It will be shown that several block models can lead to the same sorting network. Examples will show that different block models for the same sorting network can lead to different simulation times. A thread pool programming library will be presented as a suitable parallel programming method for simulating sorting networks. The advantages of this thread pool programming library compared to the parallel programming methods provided by the operating system will be shown by measurements.en
dc.description.abstractLajitteluverkko on komparaattoreista koostuva verkko, joka järjestää syötteensä. Moniydinsuoritin on suoritin, joka koostuu kahdesta tai useammasta suoritinytimestä, jotka jakavat keskenään keskusmuistin. Lajitteluverkkoja voi simuloida moniydinsuorittimella rinnakkaissuoritusta hyödyntäen. Lajitteluverkon simulointi eri syötteenpituuksille vaatii, että lajitteluverkon lohkomalli sekä sopiva rinnakkaisohjelmointimenetelmä tunnetaan. Tässä työssä esitetään lohkomallit viidelle tehokkaalle lajitteluverkolle. Kaikkien viiden lajitteluverkon lohkomallit perustuvat kolmeen peruslohkoon. Osoitetaan, että useampi lohkomalli voi johtaa samaan lajitteluverkkoon. Esimerkein näytetään, että saman lajitteluverkon eri lohkomallit voivat johtaa eri simulointiaikoihin. Lajitteluverkon simulointiin sopivaksi rinnakkaisohjelmointimenetelmäksi esitetään tehtäväjonoon perustuva ohjelmointikirjasto. Tehtäväjono-ohjelmointikirjaston edut käyttöjärjestelmän sisältämiin rinnakkaisohjelmointimenetelmiin osoitetaan mittauksin.fi
dc.format.extentiv + 49
dc.identifier.urihttps://aaltodoc.aalto.fi/handle/123456789/99350
dc.identifier.urnURN:NBN:fi:aalto-2020122358177
dc.language.isofien
dc.programme.majorSysteemitekniikkafi
dc.programme.mcodeAS-74fi
dc.rights.accesslevelclosedAccess
dc.subject.keywordsorting networken
dc.subject.keywordlajitteluverkkofi
dc.subject.keywordmulti-core processoren
dc.subject.keywordmoniydinsuoritinfi
dc.subject.keywordparallel programmingen
dc.subject.keywordrinnakkaisohjelmointifi
dc.titleSimulating sorting networks on a multi-core processoren
dc.titleLajitteluverkkojen simulointi moniydinsuorittimellafi
dc.type.okmG2 Pro gradu, diplomityö
dc.type.ontasotMaster's thesisen
dc.type.ontasotPro gradu -tutkielmafi
dc.type.publicationmasterThesis
local.aalto.digiauthask
local.aalto.digifolderAalto_89642
local.aalto.idinssi42619
local.aalto.openaccessno

Files