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

[v23.3.x] cpu_profiler: prealloc result buffers #19312

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #18736

Preallocated result buffers at startup to avoid oversized allocs later
down the line.

(cherry picked from commit 01bd464)
Avoids serializing everything to a single giant string (and hence
causing oversized allocs).

Note this still serializes the internal vector to a single string but I
am working on a fix for that in seastar.

(cherry picked from commit 69b215d)
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Jun 10, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jun 10, 2024
@StephanDollberg
Copy link
Member

/ci-repeat

1 similar comment
@StephanDollberg
Copy link
Member

/ci-repeat

@StephanDollberg
Copy link
Member

argh this doesn't actually backport. Needs some fixing.

@StephanDollberg
Copy link
Member

replace by #20826

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants