Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Efficient Java RMI for parallel programming

View through CrossRef
Java offers interesting opportunities for parallel computing. In particular, Java Remote Method Invocation (RMI) provides a flexible kind of remote procedure call (RPC) that supports polymorphism. Sun's RMI implementation achieves this kind of flexibility at the cost of a major runtime overhead. The goal of this article is to show that RMI can be implemented efficiently, while still supporting polymorphism and allowing interoperability with Java Virtual Machines (JVMs). We study a new approach for implementing RMI, using a compiler-based Java system called Manta. Manta uses a native (static) compiler instead of a just-in-time compiler. To implement RMI efficiently, Manta exploits compile-time type information for generating specialized serializers. Also, it uses an efficient RMI protocol and fast low-level communication protocols.A difficult problem with this approach is how to support polymorphism and interoperability. One of the consequences of polymorphism is that an RMI implementation must be able to download remote classes into an application during runtime. Manta solves this problem by using a dynamic bytecode compiler, which is capable of compiling and linking bytecode into a running application. To allow interoperability with JVMs, Manta also implements the Sun RMI protocol (i.e., the standard RMI protocol), in addition to its own protocol.We evaluate the performance of Manta using benchmarks and applications that run on a 32-node Myrinet cluster. The time for a null-RMI (without parameters or a return value) of Manta is 35 times lower than for the Sun JDK 1.2, and only slightly higher than for a C-based RPC protocol. This high performance is accomplished by pushing almost all of the runtime overhead of RMI to compile time. We study the performance differences between the Manta and the Sun RMI protocols in detail. The poor performance of the Sun RMI protocol is in part due to an inefficient implementation of the protocol. To allow a fair comparison, we compiled the applications and the Sun RMI protocol with the native Manta compiler. The results show that Manta's null-RMI latency is still eight times lower than for the compiled Sun RMI protocol and that Manta's efficient RMI protocol results in 1.8 to 3.4 times higher speedups for four out of six applications.
Association for Computing Machinery (ACM)
Title: Efficient Java RMI for parallel programming
Description:
Java offers interesting opportunities for parallel computing.
In particular, Java Remote Method Invocation (RMI) provides a flexible kind of remote procedure call (RPC) that supports polymorphism.
Sun's RMI implementation achieves this kind of flexibility at the cost of a major runtime overhead.
The goal of this article is to show that RMI can be implemented efficiently, while still supporting polymorphism and allowing interoperability with Java Virtual Machines (JVMs).
We study a new approach for implementing RMI, using a compiler-based Java system called Manta.
Manta uses a native (static) compiler instead of a just-in-time compiler.
To implement RMI efficiently, Manta exploits compile-time type information for generating specialized serializers.
Also, it uses an efficient RMI protocol and fast low-level communication protocols.
A difficult problem with this approach is how to support polymorphism and interoperability.
One of the consequences of polymorphism is that an RMI implementation must be able to download remote classes into an application during runtime.
Manta solves this problem by using a dynamic bytecode compiler, which is capable of compiling and linking bytecode into a running application.
To allow interoperability with JVMs, Manta also implements the Sun RMI protocol (i.
e.
, the standard RMI protocol), in addition to its own protocol.
We evaluate the performance of Manta using benchmarks and applications that run on a 32-node Myrinet cluster.
The time for a null-RMI (without parameters or a return value) of Manta is 35 times lower than for the Sun JDK 1.
2, and only slightly higher than for a C-based RPC protocol.
This high performance is accomplished by pushing almost all of the runtime overhead of RMI to compile time.
We study the performance differences between the Manta and the Sun RMI protocols in detail.
The poor performance of the Sun RMI protocol is in part due to an inefficient implementation of the protocol.
To allow a fair comparison, we compiled the applications and the Sun RMI protocol with the native Manta compiler.
The results show that Manta's null-RMI latency is still eight times lower than for the compiled Sun RMI protocol and that Manta's efficient RMI protocol results in 1.
8 to 3.
4 times higher speedups for four out of six applications.

Related Results

Comparative assessment of RMI-IV and RMI-V in preoperative prediction of ovarian tumor type in pregnant women
Comparative assessment of RMI-IV and RMI-V in preoperative prediction of ovarian tumor type in pregnant women
Prediction of ovarian tumor type in pregnant women is of great clinical significance, however, it is vastly difficult. In the last 5–10 years gynecologists were suggested to use RM...
A framework design of workflow management system with Java RMI
A framework design of workflow management system with Java RMI
In this paper, we study the issues of the design of the Java RMI-based workflow management systems (JWfMS). In JWfMS, Java RMI is used as the underlying infrastructure technology. ...
Reactive Melt Infiltration of Carbon Fiber Reinforced Ceramic Composites for Ultra-High Temperature Applications
Reactive Melt Infiltration of Carbon Fiber Reinforced Ceramic Composites for Ultra-High Temperature Applications
Carbon fiber reinforced ultra high temperature ceramic matrix composite (C/UHTC) is one of the most promising structural materials capable of prolonged operation in oxidizing envir...
Risk Management and Insurance‐Related Journals: A Survey of Risk and Insurance Academics
Risk Management and Insurance‐Related Journals: A Survey of Risk and Insurance Academics
AbstractThis research provides an assessment of the utility and quality of risk management and insurance (RMI)‐related journals using professorial expert opinion. Although Social S...
Correlation between risk of malignancy index and histopathological findings in ovarian tumors
Correlation between risk of malignancy index and histopathological findings in ovarian tumors
ABSTRACT Background: Ovarian tumors are one of the most frequent gynecological issues. According to Globocan death proje...
Programming model abstractions for optimizing I/O intensive applications
Programming model abstractions for optimizing I/O intensive applications
This thesis contributes from the perspective of task-based programming models to the efforts of optimizing I/O intensive applications. Throughout this thesis, we propose programmin...
THE GENUS Cnidoscolus Pohl (EUPHORBIACEAE) IN JAVA
THE GENUS Cnidoscolus Pohl (EUPHORBIACEAE) IN JAVA
AbstrakInformasi mengenai suku Euphorbiaceae di Pulau Jawa telah direkam dalam buku Flora of Java Volume 1 oleh C.A. Backer and R.C. Bakhuizen van den Brink Jr. Meskipun demikian, ...
The role of Java RMI in designing workflow management system
The role of Java RMI in designing workflow management system
The development of the workflow management system(WfMS) has become one of the most important research areas in information system. The design of the WfMS is a very complicated proc...

Back to Top