最近想要试一试用java写rdma程序,找到了两种解决方案,一个是JXIO,另一个是disni。实验室的环境是ubuntu,而JXIO只能在Redhat、CentOS等系统上使用,还好disni可以在ubuntu上使用。下面是disni的介绍。
DiSNI is a Java library for direct storage and networking access from userpace. It currently provides an RDMA interface to access remote memory, and an NVMf interface to access remote NVMe storage. DiSNI enables the development of Java applications for high performance RDMA networks, such as InfiniBand, iWARP, or RoCE. The RDMA API is implemented based on the Open Fabrics Enterprise Distribution (OFED) RDMA user libraries. The NVMf APIs are implemented on top of the Storage Performance Development Kit (SPDK). Both APIs provide RDMA semantics including asynchronous operations, zero-copy transmission and direct data placement.
安装
git clone https://github.com/zrlio/disni
cd