使用 MPI 进行实时物理
我正在考虑使用 MPI 开发刚体并行物理引擎,作为我自己的项目。有一些使用串行引擎的经验。到目前为止,我找不到任何此类类型的现有项目,有人知道这样的事情吗?
我知道 MPI 不是实时物理的最佳选择,在节点之间复制数据发送/接收会浪费大量时间。我计划在非共享内存机器上运行它。
这听起来像是值得做的事情吗? 谢谢
I am considering working on a rigid body parallel physics engine, with MPI, as my own project. Have some experience with serial engines. So far, I couldnt find any existing projects of that type, does enyone knows about such things?
I know that MPI is not the best choice for real time physics, lots of time will be lost on duplicating data send/rcv between nodes. I planning on running it on non shared memory machine though.
Does it sounds like something worth doing?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您可以将作业放入可用内存中,那么 GPU(CUDA 或 OpenCL)可能是最佳选择。
MPI 并不是真正为响应能力而设计的,即使使用奇特的低延迟互连,消息传递也很慢。除非它从我那天起发生了变化,很多代码都在轮询节点并等待回复,这没有帮助。
If you can fit the job into the available memory then a GPU (either CUDA or OpenCL) may be the way to go.
MPI isn't really made for responsiveness, even with exotic low latency interconnects the message passing is slow. Unless it;'s changed since my day a lot of the code is polling nodes and waiting for a reply which doesn't help.