Towards Automatic Actor Pinning on Multi-core Architectures


The actor model is a high-level programming abstraction that attempts to ease the development of parallel applications, among others, by shielding the developer from the underlying platform. In this model the execution relies on a runtime environment (RE) to be able to efficiently use the underlying machine. Modern processors possess a hierarchical architecture of memory, thus making the performance of an application dependent on the placement of the application threads. This makes the choices of the RE much more important since the chosen actor placement will have a considerable impact on the application performance. In this paper we describe a work in progress that aims to create an on-line automatic actor placement engine. Using application profiling in association with hardware counters, it will pin and migrate actors to processing units aiming to optimize performance.

ACM SIGPLAN Erlang Workshop, Copenhagen, Denmark