eclipse-iceoryx / iceoryx

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

How to setting the right val of size and count in toml config ? #2340

Open lix19937 opened 1 month ago

lix19937 commented 1 month ago

Usually toml file content is follow

[general]
version = 1

[[segment]]

[[segment.mempool]]
size = 43336
count = 50

[[segment.mempool]]
size = 563336
count = 50

[[segment.mempool]]
size = 2096776
count = 50

[[segment.mempool]]
size = 46489736
count = 70  

@elBoberido Can you give me the guide/document about the size and count in segment.mempool ?

I usually set size = sizeof(msg) + offset, offset maybe 96 or other value at present.
I guess that the count maybe related with the sub depth and subcallback(sub msg then pub )latency ?