A Task-driven Parallel Code Generation Scheme for Coarse Grain Parallelization on Android Platform
明正 吉田, Kamiyama Akira, Hiroki Oka · Journal of Information Processing · 2017
Thanks to high performance and low power consumption on Android mobile devices such as smartphones and tablet computers, the use of Android platform has been increasing significantly. Android platforms almost consist of ARM-based multicores and most of the applications have been developed in Java language. Recent Android OS introduces the Java runtime environment called ART which enables use of Fork/Join framework. The Fork/Join framework provides the scheduling mechanism with work-stealing and it is mainly used for programs to implement the divide-and-conquer algorithm or the recursive algorithm. However, in the case of ordinary programs, it is difficult to implement a coarse-grain parallel code based on Fork/Join framework considering data-dependency. To cope with such a problem, this paper proposes a coarse-grain parallel code generation scheme using a developed compiler which converts a Java source program with directives into a task-driven parallel code based on Fork/Join framework. In the performance evaluation using four programs from Java Grande Forum Benchmark Suite, the execution on Samsung Galaxy S6 with heterogeneous eight cores could achieve 2.77-5.12 times speedup versus sequential processing and the execution on NVIDIA Shield Tablet with four cores could also achieve 2.34-3.94 times speedup. Consequently, effectiveness of the proposed scheme was confirmed.
Cited by 0 works. doi:10.2197/ipsjjip.25.426 Open-access PDF
Authors
References
- The implementation of the Cilk-5 multithreaded language
- On the automatic parallelization of the Perfect Benchmarks(R)
- The Jrpm system for dynamically parallelizing Java programs
- Automatic Coarse Grain Task Parallel Processing on SMP Using OpenMP
- Parallel Java: A Unified API for Shared Memory and Cluster Parallel Programming in 100% Java
- Run-Time Support for the Automatic Parallelization of Java Programs
- A work-stealing scheduler for X10's task parallelism with suspension
- Runtime support for scalable programming in Java
- Compiler support for work-stealing parallel runtime systems