More efficient object serialization

  • Michael Philippsen
  • Bernhard Haumacher
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1586)

Abstract

In current Java implementations, Remote Method Invocation is too slow for high performance computing. Since Java’s object serialization often takes 25%–50% of the time needed for a remote invocation, an essential step towards a fast RMI is to reduce the cost of serialization.

The paper presents a more efficient object serialization in detail and discusses several show-stoppers we have identified in Sun’s official serialization design and implementation. We demonstrate that for high performance computing some of the official serialization’s generality can and should be traded for speed. Our serialization is written in Java, can be used as a drop-in replacement, and reduces the serialization overhead by 81% to 97%.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Matthias Jacob, Michael Philippsen, and Martin Karrenbach. Large-scale parallel geophysical algorithms in Java: A feasibility study. Concurrency: Practice and Experience, 10(11–13):1143–1154, September–November 1998.CrossRefGoogle Scholar
  2. 2.
    Java Grande Forum. http://www.javagrande.org.Google Scholar
  3. 3.
  4. 4.
    P. Keleher, A. L. Cox, and W. Zwaenepoel. Treadmarks: Distributed shared memory on standard workstations and operating systems. In Proc. 1994 Winter Usenix Conf., pages 115–131, January 1994.Google Scholar
  5. 5.
    Vijaykumar Krishnaswamy, Dan Walther, Sumeer Bhola, Ethendranath Bommaiah, George Riley, Brad Topol, and Mustaque Ahamad. Efficient implementations of Java Remote Method Invocation (RMI). In Proc. of the 4th USENIX Conference on Object-Oriented Technologies and Systems (COOTS’98), 1998.Google Scholar
  6. 6.
    OMG. http://www.omg.org.Google Scholar
  7. 7.
    OMG. Objects by Value Specification, January 1998. ftp://ftp.omg.org/pub/docs/orbos/98-01-18.pdf.Google Scholar
  8. 8.
    Sun Microsystems Inc., Mountain View, CA. Java Object Serialization Specification, November 1998. ftp://ftp.javasoft.com/docs/jdk1.2/serial-spec-JDK1.2.pdf.Google Scholar
  9. 9.
    George K. Thiruvathukal, Fabian Breg, Ronald Boisvert, Joseph Darcy, Geoffrey C. Fox, Dennis Gannon, Siamak Hassanzadeh, Jose Moreira, Michael Philippsen, Roldan Pozo, and Marc Snir (editors). Java Grande Forum Report: Making Java work for high-end computing. In Supercomputing’98: International Conference on High Performance Computing and Communications, Orlando, Florida, November 7–13, 1998. panel handout.Google Scholar
  10. 10.
    George K. Thiruvathukal, Lovely S. Thomas, and Andy T. Korczynski. Reflective remote method invocation. Concurrency: Practice and Experience, 10(11–13):911–926, September–November 1998.CrossRefGoogle Scholar
  11. 11.
    Ronald Veldema, Rob van Nieuwport, Jason Maasen, Henri E. Bal, and Aske Plaat. Efficient remote method invocation. Technical Report IR-450, Vrije Universiteit, Amsterdam, The Netherlands, September 1998.Google Scholar
  12. 12.
    Weimin Yu and Alan Cox. Java/DSM: A platform for heterogeneous computing. Concurrency: Practice and Experience, 9(11):1213–1224, November 1997.CrossRefGoogle Scholar

Copyright information

© Springer-Verlag 1999

Authors and Affiliations

  • Michael Philippsen
    • 1
  • Bernhard Haumacher
    • 1
  1. 1.University of KarlsruheGermany

Personalised recommendations