Change search
ReferencesLink to record
Permanent link

Direct link
Implementing a Bare-Metal Threading Library for SHMAC
Norwegian University of Science and Technology, Faculty of Information Technology, Mathematics and Electrical Engineering, Department of Computer and Information Science.
2014 (English)MasteroppgaveStudent thesis
Abstract [en]

For decades, Moore's Law has stood as a symbol of the continued performance increases achieved through technology scaling. While Moore's observation has remained true for far longer than Moore himself predicted, it now seems to be coming to an end. The move to multi-core processors was motivated by thermal challenges, but is by no means a final solution. Heterogeneous systems could potentially achieve far greater energy efficiency than symmetric, multi-core architectures. SHMAC is an FPGA-based architecture that intends to serve as a platform for exploring the inherent challenges of heterogeneous, single-ISA systems. Since working with parallel applications on bare-metal platforms can be difficult, a higher level of abstraction is often preferable. One such abstraction that is familiar to most developers is the POSIX threads API. This thesis covers the implementation of a bare-metal Pthreads library that provides both threading and several other synchronization primitives, such as condition variables, mutexes and barriers. The implemented library is used to port several benchmarks from the PARSEC suite; the results from these are presented both to showcase the current performance of the platform and the capabilities of the Pthreads library. As a result of the need to verify the correctness and performance of the implemented library, the need for another tool arose: a profiler. Since none currently existed for SHMAC, one had to be written from scratch. A fully functional and gprof-compatible profiler was developed. The features, implementation details and usage of this profiler is described here as well. Two other contributions to the SHMAC project were made as well. These were intended to simplify the task of setting up a working development environment and the day-to-day work with SHMAC, respectively. Both of these will be presented in this thesis.

Place, publisher, year, edition, pages
Institutt for datateknikk og informasjonsvitenskap , 2014. , 117 p.
URN: urn:nbn:no:ntnu:diva-27037Local ID: ntnudaim:11446OAI: diva2:756644
Available from: 2014-10-17 Created: 2014-10-17 Last updated: 2014-10-17Bibliographically approved

Open Access in DiVA

fulltext(1904 kB)398 downloads
File information
File name FULLTEXT01.pdfFile size 1904 kBChecksum SHA-512
Type fulltextMimetype application/pdf
cover(184 kB)2 downloads
File information
File name COVER01.pdfFile size 184 kBChecksum SHA-512
Type coverMimetype application/pdf
attachment(502 kB)8 downloads
File information
File name ATTACHMENT01.zipFile size 502 kBChecksum SHA-512
Type attachmentMimetype application/zip

By organisation
Department of Computer and Information Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 398 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

Total: 91 hits
ReferencesLink to record
Permanent link

Direct link