eclipse-iceoryx / iceoryx

Eclipse iceoryx™ - true zero-copy inter-process-communication
https://iceoryx.io
Apache License 2.0
1.63k stars 382 forks source link

[question] How to pin iox-roudi process on isolated core #2350

Open ocpalo opened 2 days ago

ocpalo commented 2 days ago

Hi,

I'm planning to use this library for IPC between two processes to achieve the lowest possible latency. I've thoroughly searched the API and documentation for information on pinning iox-roudi to isolated cores, but I couldn't find anything specific.

While it's possible to achieve this using shell commands, I'm unsure about the best way to configure iox-roudi to utilize 100% of the CPU for minimal latency.

Is this functionality supported by the library for my specific use case?

Thanks, Berke

ZhangWeiZePy commented 15 hours ago

You can use taskset cmd, such as taskset -c iox-roudi .

ocpalo commented 1 hour ago

Hi, I am aware of that. However, iox-roudi is not polling the messages, this will not be effective. Can we configure iox-roudi to polling so it can utilizes 100% cpu which isolated on.