Skip to content
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

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

Open
lix19937 opened this issue Aug 28, 2024 · 0 comments
Open

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

lix19937 opened this issue Aug 28, 2024 · 0 comments

Comments

@lix19937
Copy link

lix19937 commented Aug 28, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant