Skip to content

Allow configuration of ring buffer depth#11

Closed
Molter73 wants to merge 1 commit into
masterfrom
mauro/ROX-9418-allow-ringbuffer-depth-config
Closed

Allow configuration of ring buffer depth#11
Molter73 wants to merge 1 commit into
masterfrom
mauro/ROX-9418-allow-ringbuffer-depth-config

Conversation

@Molter73

Copy link
Copy Markdown
Member

This PR makes the necessary changes to allow for the ring buffer depth to be set at build time. The naming chosen for the multiplier define might not be the best.

@erthalion

Copy link
Copy Markdown
Collaborator

Interesting, thanks for the PR. Is there any intuition about how to choose the right value (i.e. not too low, not too high)?

@Molter73

Copy link
Copy Markdown
Member Author

By default in the falcosecurity/libs repository it is using an 8MB ring buffer, I have no idea how they came up with that number. I'm assuming that in our case, 8MB was insufficient and at some point we were missing events and was doubled to 16MB, @robbycochran might have more insight into this.

@Molter73
Molter73 force-pushed the mauro/ROX-9418-allow-ringbuffer-depth-config branch from 5b5c6a0 to 12735ad Compare May 30, 2022 13:05
@Molter73 Molter73 closed this Nov 9, 2023
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

Successfully merging this pull request may close these issues.

2 participants