M. Philippsen, Bernhard Haumacher, C. Nester
{"title":"More efficient serialization and RMI for Java","authors":"M. Philippsen, Bernhard Haumacher, C. Nester","doi":"10.1002/1096-9128(200005)12:7%3C495::AID-CPE496%3E3.0.CO;2-W","DOIUrl":null,"url":null,"abstract":"In current Java implementations, Remote Method Invocation (RMI) is too slow, especially for high-performance computing. RMI is designed for wide-area and high-latency networks, it is based on a slow object serialization, and it does not support high-performance communication networks. The paper demonstrates that a much faster drop-in RMI and an efficient drop-in serialization can be designed and implemented completely in Java without any native code. Moreover, the re-designed RMI supports non-TCP/IP communication networks, even with heterogeneous transport protocols. We demonstrate that for high-performance computing some of the official serialization's generality can and should be traded for speed. As a by-product, a benchmark collection for RMI is presented. On PCs connected through Ethernet, the better serialization and the improved RMI save a median of 45% (maximum of 71%) of the runtime for some set of arguments. On our Myrinet-based ParaStation network (a cluster of DEC Alphas) we save a median of 85% (maximum of 96%), compared to standard RMI, standard serialization, and Fast Ethernet; a remote method invocation runs as fast as 80 μs round trip time, compared with about 1.5 ms. Copyright © 2000 John Wiley & Sons, Ltd.","PeriodicalId":199059,"journal":{"name":"Concurr. Pract. Exp.","volume":"34 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2000-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"139","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Concurr. Pract. Exp.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1002/1096-9128(200005)12:7%3C495::AID-CPE496%3E3.0.CO;2-W","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 139
更有效的Java序列化和RMI
在当前的Java实现中,远程方法调用(RMI)太慢,特别是对于高性能计算而言。RMI是为广域和高延迟网络设计的,它基于缓慢的对象序列化,不支持高性能通信网络。本文证明了一个更快的嵌入式RMI和一个高效的嵌入式序列化可以完全在Java中设计和实现,而不需要任何本地代码。此外,重新设计的RMI支持非tcp /IP通信网络,甚至支持异构传输协议。我们证明,对于高性能计算,可以而且应该用官方序列化的通用性来换取速度。作为副产品,本文给出了RMI的基准集合。在通过以太网连接的pc上,更好的序列化和改进的RMI为某些参数集节省了45%(最多71%)的运行时时间。与标准RMI、标准序列化和快速以太网相比,在我们基于myrinet的ParaStation网络(DEC alpha集群)上,我们节省了85%的中位数(最高96%);远程方法调用的往返时间为80 μs,而往返时间约为1.5 Ms。版权所有©2000约翰威利父子有限公司
本文章由计算机程序翻译,如有差异,请以英文原文为准。