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
maps: Consider actual passed time for GC interval calculation #28657
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gentoo-root
added
kind/bug
This is a bug in the Cilium logic.
release-note/bug
This PR fixes an issue in a previous release of Cilium.
labels
Oct 17, 2023
/test |
joamaki
reviewed
Oct 24, 2023
gentoo-root
force-pushed
the
fix-gc-interval
branch
2 times, most recently
from
October 24, 2023 13:44
be94e03
to
608fc30
Compare
julianwiedmann
added
sig/datapath
Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
feature/conntrack
labels
Nov 10, 2023
This pull request has been automatically marked as stale because it |
github-actions
bot
added
the
stale
The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.
label
Dec 11, 2023
gentoo-root
removed
the
stale
The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.
label
Dec 23, 2023
This pull request has been automatically marked as stale because it |
github-actions
bot
added
the
stale
The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.
label
Jan 23, 2024
gentoo-root
removed
the
stale
The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.
label
Jan 25, 2024
gentoo-root
force-pushed
the
fix-gc-interval
branch
from
January 30, 2024 14:10
608fc30
to
0e7e818
Compare
/test |
gentoo-root
force-pushed
the
fix-gc-interval
branch
from
February 2, 2024 11:32
0e7e818
to
1d80cd4
Compare
/test |
gentoo-root
force-pushed
the
fix-gc-interval
branch
from
February 8, 2024 11:53
1d80cd4
to
404c2fc
Compare
/test |
When GetInterval calculates the new GC interval, it uses the result of the previous calculation as a pivot point. However, if GC was triggered by a signal, smaller time interval has passed, therefore, expectations on the delete ratio should be lower. Adjust the delete ratio proportionally to avoid increasing the interval uncontrollably when multiple signals arrive over a short period of time. Ref: cilium#27405 Signed-off-by: Maxim Mikityanskiy <maxim@isovalent.com>
gentoo-root
force-pushed
the
fix-gc-interval
branch
from
February 17, 2024 12:33
404c2fc
to
590a1cf
Compare
/test |
joamaki
approved these changes
Mar 4, 2024
julianwiedmann
added
affects/v1.12
This issue affects v1.12 branch
affects/v1.13
This issue affects v1.13 branch
affects/v1.14
This issue affects v1.14 branch
needs-backport/1.15
This PR / issue needs backporting to the v1.15 branch
labels
Mar 4, 2024
2 tasks
pippolo84
added
backport-pending/1.15
The backport for Cilium 1.15.x for this PR is in progress.
and removed
needs-backport/1.15
This PR / issue needs backporting to the v1.15 branch
labels
Mar 5, 2024
github-actions
bot
added
backport-done/1.15
The backport for Cilium 1.15.x for this PR is done.
and removed
backport-pending/1.15
The backport for Cilium 1.15.x for this PR is in progress.
labels
Mar 11, 2024
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects/v1.12
This issue affects v1.12 branch
affects/v1.13
This issue affects v1.13 branch
affects/v1.14
This issue affects v1.14 branch
backport-done/1.15
The backport for Cilium 1.15.x for this PR is done.
feature/conntrack
kind/bug
This is a bug in the Cilium logic.
release-note/bug
This PR fixes an issue in a previous release of Cilium.
sig/datapath
Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When GetInterval calculates the new GC interval, it uses the result of the previous calculation as a pivot point. However, if GC was triggered by a signal, smaller time interval has passed, therefore, expectations on the delete ratio should be lower. Adjust the delete ratio proportionally to avoid increasing the interval uncontrollably when multiple signals arrive over a short period of time.
Ref: #27405