-
Notifications
You must be signed in to change notification settings - Fork 472
How to use shared memory to send and receive messages within same host in UCX ? #10732
Replies: 1 comment · 2 replies
-
Can anyone please help regarding this query ? @bosilca @yosefe @dmitrygx |
Beta Was this translation helpful? Give feedback.
All reactions
-
There is nothing special needed in the code to use shared memory. It should be used automatically when communicating between processes on the same node. |
Beta Was this translation helpful? Give feedback.
All reactions
-
From the docs my assumption was also same but I suspect it is NOT using SHM when I run client and server in same host. Note that I am using With
With
How can I force SHM transport and run my client-server app without this error ? Full server logs :
Full client logs :
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
According to UCX documentation, it appears that UCX provides intra-node communication using the shared memory of the host machine. I want to implement client-server communication utilizing UCX shared memory, where messages are stored and exchanged using host memory.
There is no clear example in the openucx repo on how to achieve this. If the UCX team can add this example or provide any reference, it will be helpful for people who are looking to use shm transport. Also which log trace to check if messages are using shm transport from UCX
DEBUG
logs ?Beta Was this translation helpful? Give feedback.
All reactions