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
Diagnostic utility of Risk of Malignancy Index in differentiation of benign from malignant ovarian masses
Diagnostic utility of Risk of Malignancy Index in differentiation of benign from malignant ovarian masses
Background: Women with adnexal masses still pose a diagnostic dilemma and require efficient triaging. The Risk of Malignancy Index (RMI) is an algorithm used for differentiation of...
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. ...
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...
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...
TEACHING MAIN CONCEPTS OF OBJECT-ORIENTED PROGRAMMING USING GREENFOOT INTEGRATED DEVELOPMENT ENVIRONMENT
TEACHING MAIN CONCEPTS OF OBJECT-ORIENTED PROGRAMMING USING GREENFOOT INTEGRATED DEVELOPMENT ENVIRONMENT
In this paper, teaching object-oriented programming at school will be considered using the visual programming environment Greenfoot. Greenfoot is a Java Interactive Development Env...
ESTIMATION OF TECHNICAL EFFICIENCY OF RED CHILI FARMING ON JAVA AND OUTSIDE JAVA, INDONESIA: A STOCHASTIC FRONTIER PRODUCTION APPROACH
ESTIMATION OF TECHNICAL EFFICIENCY OF RED CHILI FARMING ON JAVA AND OUTSIDE JAVA, INDONESIA: A STOCHASTIC FRONTIER PRODUCTION APPROACH
The supply of red chili in various regions in Indonesia still relies on production from Java. Different uses of production factors are insufficient to overcome production gap betwe...

