-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Update queue.mem defaults #5150
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change LGTM. I like the timeout set to 1s which is kind of "near realtime" but still ensures that several events are combined for fileoutput for example.
Was flush.timeout
in beta2? If yes, a CHANGLOGE entry should be added.
It seems to break quite a few of our tests. I'm a bit surprised as I did kind of expect the opposite that the flush.timeout: 1s
makes things more stable.
36291f3
to
57361de
Compare
Rebased on master with #5148 being merged. |
- Enable flush based memory queue by default: Increases chance of pushing bigger batches of events to the outputs. Especially if number of CPUs is limited to 1 or 2 this helps with throughput, as outputs and producers go-routines will interleave less. - Set flush.events=2048 and flush.timeout=1s
57361de
to
1402b32
Compare
added changelog entry |
update queue flush parameters to min_events of 8 and a timeout of 0.1s. This hopefully stabilizes some time sensitive tests.
CHANGELOG.asciidoc
Outdated
@@ -68,6 +68,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di | |||
- Changed the hashbang used in the beat helper script from `/bin/bash` to `/usr/bin/env bash`. {pull}5051[5051] | |||
- Changed beat helper script to use `exec` when running the beat. {pull}5051[5051] | |||
- Fix reloader error message to only print on actual error {pull}5066[5066] | |||
- Enable flush timeout by defauly. {pull}5150[5150] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/defauly/default
* Update queue.mem defaults - Enable flush based memory queue by default: Increases chance of pushing bigger batches of events to the outputs. Especially if number of CPUs is limited to 1 or 2 this helps with throughput, as outputs and producers go-routines will interleave less. - Set flush.events=2048 and flush.timeout=1s * set queue flush parameters in system tests update queue flush parameters to min_events of 8 and a timeout of 0.1s. This hopefully stabilizes some time sensitive tests. * Fix typo in CHANGELOG (cherry picked from commit 052172f)
* Update queue.mem defaults (#5150) * Update queue.mem defaults - Enable flush based memory queue by default: Increases chance of pushing bigger batches of events to the outputs. Especially if number of CPUs is limited to 1 or 2 this helps with throughput, as outputs and producers go-routines will interleave less. - Set flush.events=2048 and flush.timeout=1s * set queue flush parameters in system tests update queue flush parameters to min_events of 8 and a timeout of 0.1s. This hopefully stabilizes some time sensitive tests. * Fix typo in CHANGELOG (cherry picked from commit 052172f) * fix changelog
) * Update queue.mem defaults (elastic#5150) * Update queue.mem defaults - Enable flush based memory queue by default: Increases chance of pushing bigger batches of events to the outputs. Especially if number of CPUs is limited to 1 or 2 this helps with throughput, as outputs and producers go-routines will interleave less. - Set flush.events=2048 and flush.timeout=1s * set queue flush parameters in system tests update queue flush parameters to min_events of 8 and a timeout of 0.1s. This hopefully stabilizes some time sensitive tests. * Fix typo in CHANGELOG (cherry picked from commit 8877dd4) * fix changelog
Requires: #5148
Enable flush based memory queue by default:
Increases chance of pushing bigger batches of events to the outputs.
Especially if number of CPUs is limited to 1 or 2 this helps with
throughput, as outputs and producers go-routines will interleave less.
Set flush.events=2048 and flush.timeout=1s