-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to impl zero-copy when send a message out-of-process to cuda ? #45
Comments
It's clear in isaac-ros docs that intra-process is needed for nitros node, but maintain compatibility in inter-process and normal ros2 nodes. In compatibility mode, the acceleration feature is not available.
The root cause of the performance improvement from isaac_ros_nitros is TYPE ADAPTATION https://ros.org/reps/rep-2007.html and TYPE NEGOTIATION https://ros.org/reps/rep-2009.html . Which needs intra-communication. more info: |
If you don't use the ros2 transport, you could use nvsci/cuda_ipc to get cuda sharedmemory. more info: |
@lix19937 Do you work in China? You could contact me with wechat to discuss: zhensheng_li |
NOTE:
Two nodes are run at different processes. The ros2 msg memory is on cpu side, and next node(the sub side) want to receive the msg(like camera data), and then accelerate on gpu to infer.
I found, if user want to leverage the benefit of zero-copy in NITROS, all NITROS-accelerated nodes must run in the same process.
ref
https://nvidia-isaac-ros.github.io/concepts/nitros/index.html
The text was updated successfully, but these errors were encountered: