cilium icon indicating copy to clipboard operation
cilium copied to clipboard

maps: Consider actual passed time for GC interval calculation

Open gentoo-root opened this issue 1 year ago • 6 comments

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

Fix GC interval calculation by taking into account the actual time passed between GC runs.

gentoo-root avatar Oct 17 '23 19:10 gentoo-root

/test

gentoo-root avatar Oct 17 '23 20:10 gentoo-root

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 11 '23 01:12 github-actions[bot]

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 23 '24 01:01 github-actions[bot]

/test

gentoo-root avatar Jan 31 '24 14:01 gentoo-root

/test

gentoo-root avatar Feb 02 '24 12:02 gentoo-root

/test

gentoo-root avatar Feb 08 '24 12:02 gentoo-root

/test

gentoo-root avatar Feb 19 '24 20:02 gentoo-root