A Framework for Parallel Code Execution using Java

3515 Words15 Pages
Abstract—Today, the combination of computing power and fast networks provides a workable solution to solve complex problems by using computational clusters. Java is considered one of the most popular languages for writing platform independent applications. There are many High Performance Computing (HPC) frameworks available for writing parallel applications in Java mostly using synchronous mode of communication. This paper presents a new easy-to-use message passing framework. This framework facilitates writing parallel code in Java for hybrid architectures using different standard protocols. It also supports blocking and pure asynchronous communication mode. The communication layer of the proposed message passing framework is based on Java Messaging Services (JMS). JMS provides asynchronous functionality of code distribution and message passing between processes running on different machines. A set of easy to use Application Programming Interfaces (APIs) are also provided to write MPI like code for parallel applications. The performance analysis of remote code execution is also included along with the comparison study of the proposed framework with MPJ Express and Java Threads on multi-core systems. The benchmark tests for the network latency and code speed-up have shown promising results. Keywords-HPC; Java; JMS; MPI; Parallel Code Execution I. INTRODUCTION Since long time, clusters are used to build powerful high performance computing systems. Yet, for more complex and compute intensive problems, still it is a challenge to provide required computer resources under one roof. Thus, the parallel systems like clusters have evolved into computational grids [1]. The Grid consists of clusters that are geographically dispersed and ... ... middle of paper ... ...rm for Java,” in Proc. 12th European PVM/MPI Users’ Group Meeting (EuroPVM/MPI’05), Lecture Notes in Computer Science, vol. 3666, pp. 217-224, Sorrento, Italy, 2005. [26] S. Bang and J. Ahn, “Implementation and Performance Evaluation of Socket and RMI based Java Message Passing Systems,” in Proc. 5th Intl. Conf. on Software Engineering Research, Management and Applications (SERA'07), pp. 153-159, Busan, Korea, 2007. [27] G. L. Taboada, J. Tourino, and R. Doallo, “F-MPJ: scalable Java message-passing communications on parallel systems,” Journal of Supercomputing, 2009. [28] TIOBE homepage [Online]. Available: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [29] B. Carpenter (2002) MPJ specification (mpijava 1.2 : API Specification) homepage on HPJAVA. [Online]. Available: http://www.hpjava.org/reports/mpiJava-spec/mpiJava-spec/mpiJava-spec.html

More about A Framework for Parallel Code Execution using Java

Open Document