如何在 Windows 中利用 RDMA [英] How do I take advantage of RDMA in windows

查看:32
本文介绍了如何在 Windows 中利用 RDMA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Windows 下使用 RDMA 将内存块从一台服务器复制到另一台服务器?我们没有 infiniband,但我们有 10gb 网络交换机.我只需要一个例子,但我对谷歌的运气并不好.

How can I copy blocks of memory from one server to another under windows using RDMA? We don't have infiniband, but we do have 10gb network switches. All I need is an example, but I'm not having much luck with google.

到目前为止还没有人回答我的问题.我只需要一个示例的链接,或者一些函数的名称.到目前为止,我读过的所有内容似乎都在驱动程序 SDK 或套接字中.我想在我们的软件中使用 RDMA 来更新来自主服务器的本地数据副本.数据大小最大为 10GB.大多数情况下,更新大约为 1GB,但如果服务器必须重新启动,则整个压缩数据集为 10GB.我想几乎连续更新一些数据,而 RDMA 似乎是要采取的路线.

Well no one has answered my question so far. I just need a link to an example, or the name of a few functions. Everything I have read so far seems to be in the driver SDK or in sockets. I want to use RDMA in our software to update local copies of data from a main server. The data is up to 10GB in size. Most of the time the updates are about 1GB, but if a server has to reboot, the entire compressed dataset is 10GB. I want to update some of the data nearly continuously and RDMA seems to be the route to take.

推荐答案

您需要 NetworkDirect API.没有任何关于如何使用 NetworkDirect 编写内容的文档,只有接口描述.我能找到的最接近文档的是 从这里开始,然后深入到每一个环节.但是你可以查看 ND 测试源代码的用法示例.

You need NetworkDirect API. There's no documentation whatsoever on how to write something using NetworkDirect, only the interface description. The closest thing to the documentation that I could find is starting from here, and then going deeper into every link. But you can check the ND tests source code for the usage examples.

这篇关于如何在 Windows 中利用 RDMA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆