Skip to content

Apple Silicon affinity errors

ds58 edited this page Sep 11, 2025 · 2 revisions

Thread affinity

Fast-DDS attempts to assign thread affinity to ensure objects within the same Fast-DDS threads are physically close to each other within the CPU's cache.

Apple does not support this on their M-series processors. Fast-DDS will throw error messages about this, but continue to operate normally.

Example:

2025-09-11 11:29:21.803 [SYSTEM Error] Problem to set affinity of thread with id [0x170c4b000,dds.shm.wdog] to value 0. Error 'Protocol family not supported' -> Function configure_current_thread_affinity

There is currently no way to suppress the error messages.

References

https://developer.apple.com/forums/thread/699925

https://github.com/eProsima/Fast-DDS/issues/5524

Clone this wiki locally