Actors: The Ideal Abstraction for Programming Kernel-Based Concurrency

Harvey, P. , Hentschel, K. and Sventek, J. (2015) Actors: The Ideal Abstraction for Programming Kernel-Based Concurrency. Technical Report. University of Glasgow. (Unpublished)

[img]
Preview
Text
106354.pdf - Published Version

1MB

Abstract

GPU and multicore hardware architectures are commonly used in many different application areas to accelerate problem solutions relative to single CPU architectures. The typical approach to accessing these hardware architectures requires embedding logic into the programming language used to construct the application; the two primary forms of embedding are: calls to API routines to access the concurrent functionality, or pragmas providing concurrency hints to a language compiler such that particular blocks of code are targeted to the concurrent functionality. The former approach is verbose and semantically bankrupt, while the success of the latter approach is restricted to simple, static uses of the functionality. Actor-based applications are constructed from independent, encapsulated actors that interact through strongly-typed channels. This paper presents a first attempt at using actors to program kernels targeted at such concurrent hardware. Besides the glove-like fit of a kernel to the actor abstraction, quantitative code analysis shows that actor-based kernels are always significantly simpler than API-based coding, and generally simpler than pragma-based coding. Additionally, performance measurements show that the overheads of actor-based kernels are commensurate to API-based kernels, and range from equivalent to vastly improved for pragma-based annotations, both for sample and real-world applications.

Item Type:Research Reports or Papers (Technical Report)
Status:Unpublished
Glasgow Author(s) Enlighten ID:Sventek, Professor Joseph and Harvey, Dr Paul
Authors: Harvey, P., Hentschel, K., and Sventek, J.
College/School:College of Science and Engineering > School of Computing Science
College of Science and Engineering > School of Engineering > Electronics and Nanoscale Engineering
Publisher:University of Glasgow
Copyright Holders:Copyright © 2015 The Authors
Publisher Policy:Reproduced with the permission of the authors.

University Staff: Request a correction | Enlighten Editors: Update this record