-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
ps: get network data in batch mode #17197
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vrothberg 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 |
LGTM |
/lgtm |
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, good idea.
One further thing that can be done is to move c.HealthCheckStatus()
in the batch function. although it will require the addition of the if !c.batched {
branch in this function.
Concur with @Luap99, that's a good idea - no reason not to do everything under the same lock. |
lets plan to get this in 4.4rc3 and perhaps we can cherry pick the later in the final ... also @vrothberg did mention he had other changes queued up. |
Test are red, looks like this causes a deadlock. |
The network functions popped up in the CPU profiles when listing 2042 containers. Not a very realistic or common use case but a nice way to get something on the CPU profiles. Listing 2042 containers now runs 1.54 times faster. [NO NEW TESTS NEEDED] Signed-off-by: Valentin Rothberg <[email protected]>
Was a typo fart. CI should pass now. |
/lgtm |
The network functions popped up in the CPU profiles when listing 2042 containers. Not a very realistic or common use case but a nice way to get something on the CPU profiles.
Listing 2042 containers now runs 1.54 times faster.
[NO NEW TESTS NEEDED]
Signed-off-by: Valentin Rothberg [email protected]
Does this PR introduce a user-facing change?