Skip to content

How to properly configure queueCapacity and historyCapacity? #1817

Answered by elfenpiff
shuhaowu asked this question in Q&A
Discussion options

You must be logged in to vote

@shuhaowu

seems like this is governed by IOX_MAX_CHUNKS_HELD_PER_SUBSCRIBER_SIMULTANEOUSLY

You are correct.

Why is this constant set to 256?

We had to start somewhere and 256 seems to be a number which fits 99% of all use cases. Congratulations you are now in the 1% use case 😄

the implications of changing variables like IOX_MAX_CHUNKS_HELD_PER_SUBSCRIBER_SIMULTANEOUSLY

This defines the capacity of the internal fixed size queues which are storing the samples. You can increase those numbers to 2000 but this would massively affect the size of a subscriber port stored inside the management segment in roudi. If memory is not important to you , you can go ahead and adjust it but be aware …

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by shuhaowu
Comment options

You must be logged in to vote
1 reply
@elfenpiff
Comment options

Comment options

You must be logged in to vote
1 reply
@elfenpiff
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants