Native versus Java Message Passing

  • Nenad Stankovic
  • Kang Zhang
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1697)


As an objected-oriented programming language and as a platform independent environment Java has been attracting much attention. However, the trade-off between portability and performance hasn’t spared Java. The initial performance of Java programs has been poor, due to the interpretive nature of the environment. In this paper we present the communication performance results for three different types of message-passing programs: native, Java and native communications, and pure Java. Despite concerns about performance and numerical issues, we believe the obtained results confirm that high-performance parallel computing in Java is possible, as technology matures.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Dongarra, J. J, Meuer, H-W., and Strohmaier, E. The 1994 TOP500 Report.
  2. 2.
    Geist, G. A., Beguelin, A., Dongarra, J. J., Jiang, W., Manchek, R., and Sunderam, V. S.: PVM 3 User’s Guide and Reference Manual. Technical ReportORNL/TM-12187, Oak Ridge National Laboratory (1993)Google Scholar
  3. 3.
    Gropp, W., Lusk, E., Skjellum, A.: Using MPI, Portable Parallel Programming with the Message-Passing Interface. The MIT Press (1994)Google Scholar
  4. 4.
    Hsieh, C-H. A., Conte, M. T., Johnson, T. L., Cyllenhall, J. C., and Hwu, W-M. W. A Study of the Cache and Branche Performance Issues with Running Java and Current Hardware Platforms. Proceedings of IEEE CompCon’97, San Jose, CA. (1997) 211–216Google Scholar
  5. 5.
    JavaMPI: a Java Binding for MPI.
  6. 6.
    Mangione, C. Just In Time for Java vs. C++. NC World, Vol. 7, No. 2, (January 1998).Google Scholar
  7. 7.
    MPI Forum. MPI: A Message-Passing Interface Standard, Version 1.0. (March 5, 1994).
  8. 8.
    Ohio LAM 6.1. MPI Primer / Developing with LAM. (1996).
  9. 9.
    Stankovic, N., and Zhang, K. Visper: Parallel Computing and Java. In H.R. Arabnia (ed.) Proceedings of the International conference on Parallel Processing Techniques and Applications, Vol 1, CSREA Press, Las Vegas, NV (July 1998). 349–354.Google Scholar
  10. 10.
    Sun Microsystems, Inc.: Java Native Interface 1.1 Specification. (May 16, 1997)
  11. 11.
    Sun Microsystems, Inc.: Java Object Serialization Specification. Revision 1.4 (July 3, 1997)
  12. 12.
    Sun Microsystems, Inc.: Java Remote Method Invocation Specification. Revision 1.42 (October 1997)
  13. 13.
    Sun Microsystems, Inc.: Java Security Architecture (JDK 1.2). Revision 0.7 (October 1, 1997)
  14. 14.

Copyright information

© Springer-Verlag Berlin Heidelberg 1999

Authors and Affiliations

  • Nenad Stankovic
    • 1
  • Kang Zhang
    • 1
  1. 1.Department of ComputingMacquarie UniversityNSWAustralia

Personalised recommendations