Skip to content

how to set the count of mempool #2447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lix19937 opened this issue Apr 1, 2025 · 6 comments
Open

how to set the count of mempool #2447

lix19937 opened this issue Apr 1, 2025 · 6 comments
Labels
needs info A bug report is waiting for more information

Comments

@lix19937
Copy link

lix19937 commented Apr 1, 2025

count = fps * cache_depth * num_sensor

@elfenpiff
Copy link
Contributor

@lix19937

What is this issue about?

@lix19937 lix19937 changed the title count of mempool setting how to set the count of mempool Apr 1, 2025
@lix19937
Copy link
Author

lix19937 commented Apr 1, 2025

@elfenpiff Sorry, I want to ask/confirm the setting of the count of mempool in roudi_config.toml

@elfenpiff
Copy link
Contributor

@lix19937 Got it. I recommend the following approach:

  1. Configure the mempool with a large counter number so that it definitely satisfies your use case.
  2. Use the iceoryx introspection to take a look what worst case mem pool counts you have in your running system
  3. Reconfigure the memory pools based on those numbers (and add +1 - just for a worst-case scenario)

@elBoberido
Copy link
Member

@lix19937 would iceoryx2 be an option for you? Memory configuration is done automatically there :)

@lix19937
Copy link
Author

Thanks for two @elfenpiff @elBoberido

@elBoberido
Copy link
Member

@lix19937 can this issue be closed?

@elBoberido elBoberido added the needs info A bug report is waiting for more information label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info A bug report is waiting for more information
Projects
None yet
Development

No branches or pull requests

3 participants