-
Notifications
You must be signed in to change notification settings - Fork 905
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
gRPC auto threadiness #1271
gRPC auto threadiness #1271
Conversation
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
means "auto") The 0 ("auto") value sets the threadiness to the number of online cores automatically. Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
/milestone 0.24.0 |
LGTM label has been added. Git tree hash: a9f510b3480e2c87d6bfb5d565628e3725df7872
|
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
LGTM label has been added. Git tree hash: c28cd15def2ea52a7c742470f29d011dad296def
|
/hold I'm holding this until we have two approvers so that the others PRs in line can get a chance to be merged. |
/honk |
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/meow |
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold cancel Ready to be merged in as soon @kris-nova or any other maintainer approves 😺 |
/hold to let the other PRs go in. |
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.
LGTM
Great job :)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fntlnz, leogr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
As per falcosecurity/falco#1271 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
As per falcosecurity/falco#1271 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
As per falcosecurity/falco#1271 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
As per falcosecurity/falco#1271 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
As per falcosecurity/falco#1271 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
As per falcosecurity/falco#1271 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
As per falcosecurity/falco#1271 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
As per falcosecurity/falco#1271 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
As per falcosecurity/falco#1271 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
NONE
What this PR does / why we need it:
This PR updates the
threadiness
configuration default value of the gRPC configuration block.Now, the
threadiness
field is0
by default, which means "auto".Thus, by default, Falco will set the threadiness of the gRPC server to the number of online cores.
This is the default behavior because it has proven to behave better in the recent tests both me and @fntlnz have done.
Which issue(s) this PR fixes:
NONE
Special notes for your reviewer:
When Falco is not able to guess the number of online cores (this can happen for various reasons), the threadiness will be set to 1 which we consider the safer value and also avoids oversubscription.
Does this PR introduce a user-facing change?: