iceoryx_management size #2012
-
Hi all! I've been experimenting with iceoryx and it seems like the size RouDi's allocated shmem [iceoryx_management] is quite high. Even when turning down all the options listed in the configuration guide to 1, the reserved shared memory size is still ~19Mb.
Does anyone have any ideas on why this amount of memory is needed? As far as I've read, this memory is separate from the mempools that are used for data transfer and only used for publisher/subscriber bookkeeping. Posting my configuration if that is of any help - also I am testing on Linux. Another side note, max_publishers seems to need to be > 5 for iox-roudi to run, although this is a separate issue that is not particularly important to me.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@forestf255 without looking at the code I would guess this is related to the introspection. It has a separate mempool which currently cannot be configured. That's also the reason for the 5 publishers. I think the discovery feature also adds up to the memory. It should not be that complicated to add an option to disable all of the introspection and the discovery feature but would probably take at least one week of work to get everything right. There is also a small memory example but it essentially does what the configuration guide describes. |
Beta Was this translation helpful? Give feedback.
@forestf255 without looking at the code I would guess this is related to the introspection. It has a separate mempool which currently cannot be configured. That's also the reason for the 5 publishers. I think the discovery feature also adds up to the memory. It should not be that complicated to add an option to disable all of the introspection and the discovery feature but would probably take at least one week of work to get everything right.
There is also a small memory example but it essentially does what the configuration guide describes.