z-logo
open-access-imgOpen Access
An Automatic Actors to Threads Mapping Technique for JVM-Based Actor Frameworks
Author(s) -
Ganesha Upadhyaya,
Hridesh Rajan
Publication year - 2014
Publication title -
iowa state university digital repository (iowa state university)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/2687357.2687367
Subject(s) - computer science , scalability , java , concurrency , scheduling (production processes) , thread (computing) , programming language , distributed computing , operating system , parallel computing , operations management , economics
Actor frameworks running on Java Virtual Machine (JVM) platform face two main challenges in utilizing multi-core architectures, i) efficiently mapping actors to JVM threads, and ii) scheduling JVM threads on multi-core. JVM-based actor frameworks allow fine tuning of actors to threads mapping, however scheduling of threads on multi-core is left to the OS scheduler. Hence, efficiently mapping actors to threads is critical for achieving good performance and scalability. In the existing JVM-based actor frameworks, programmers select default actors to threads mappings and iteratively fine tune the mappings until the desired performance is achieved. This process is tedious and time consuming when building large scale distributed applications. We propose a technique that automatically maps actors to JVM threads. Our technique is based on a set of heuristics with the goal of balancing actors computations across JVM threads and reducing communication overheads. We explain our technique in the context of the Panini programming language, which provides capsules as an actor-like abstraction for concurrency, but also explore its applicability to other approaches.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom