Skip to content
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

[CENNSO-1522] Collect heap stats in constant time #44

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

mogaika
Copy link
Contributor

@mogaika mogaika commented Jan 4, 2024

After this patch behavior for memory usage metrics and show memory main-heap will differ.

Metrics collected with fastpath method, which collects less counters, but they collected in constant time.
show memory main-heap keeps old behavior and will iterate over all allocations. So it can cause lag, and should be used with caution.

Fix for VPP issue: VPP-2092
Backport of not yet merged vpp Change: Iaa7a5dda19ce9fd0a32d55f4dd16bc62d4b0b480

Fix for VPP issue: VPP-2092
Rebase of Change: Iaa7a5dda19ce9fd0a32d55f4dd16bc62d4b0b480
@mogaika mogaika requested a review from demo-exe as a code owner January 4, 2024 19:38
@mogaika mogaika merged commit b3e978e into main Jan 9, 2024
3 checks passed
@mogaika mogaika deleted the CENNSO-1522/experimental-fix-for-metrics branch January 9, 2024 11:07
@korroot korroot added the enhancement New feature or request label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants