arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.14048cs.NI
收藏

通过透明的InfiniBand支持加速基于netty的应用程序

Accelerating netty-based applications through transparent InfiniBand support

Fabian Ruhland, Filip Krakowski, Michael Schöttner

摘要:

许多大数据框架都是用Java编写的,例如Apache Spark,Flink和Cassandra。这些系统使用基于Java NIO的网络框架Netty。虽然这允许在传统以太网网络上快速联网,但它无法充分利用现代互连的整体性能,如InfiniBand,提供100 Gbit/s或更高的带宽。在本文中,我们提出了netty支持hadroNIO,Java库,提供透明的InfiniBand支持基于NIO的Java应用程序。hadroNIO基于UCX,它支持多种互连,包括InfiniBand。我们提出了hadroNIO扩展和优化支持netty。微基准测试的评估,包括单线程和多线程的情况下,表明它是可能的网络应用程序达到低至5 us的往返时间,并充分利用高速以太网的100 Gbit/s的带宽,而不改变应用程序的源代码。我们还将hadroNIO与传统套接字以及libvma进行了比较,结果显示,hadroNIO比普通套接字有了很大的改进,并且在几种情况下都优于libvma。

英文摘要:

Many big-data frameworks are written in Java, e.g. Apache Spark, Flink and Cassandra. These systems use the networking framework netty which is based on Java NIO. While this allows for fast networking on traditional Ethernet networks, it cannot fully exploit the whole performance of modern interconnects, like InfiniBand, providing bandwidths of 100 Gbit/s and more. In this paper we propose netty support for hadroNIO, a Java library, providing transparent InfiniBand support for Java applications based on NIO. hadroNIO is based on UCX, which supports several interconnects, including InfiniBand. We present hadroNIO extensions and optimizations for supporting netty. The evaluations with microbenchmarks, covering single- and multi-threaded scenarios, show that it is possible for netty applications to reach round-trip times as low as 5 us and fully utilize the 100 Gbit/s bandwidth of high-speed NICs, without changing the application's source code. We also compare hadroNIO with traditional sockets, as well as libvma and the results show, that hadroNIO offers a substantial improvement over plain sockets and can outperform libvma in several scenarios.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑