Repository navigation
rgw: add tcmalloc heap profiler support via admin socket - #67446
Conversation
|
Can one of the admins verify this patch? |
13 similar comments
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
@mkogan1 is the test script running as part of teuthology or just for local tests using vstart? |
IDK, have not tried to cherry-pick and run yet, forwarding Q to @VinayakTiwari1103 |
Currently the script is for local testing with vstart. |
then it should be under |
Makes sense. I'll wire it into a teuthology suite yaml so it runs as part of teuthology. Would qa/suites/rgw/verify/tasks/cls.yaml be the right place to add it (alongside the other rgw workunits like test_rgw_gc_log.sh)? |
|
confirming the implementation in this PR works: |
i think it would be better to add it here: https://github.com/ceph/ceph/blob/main/qa/suites/rgw/tools/tasks.yaml
|
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
4664b23 to
d704fe0
Compare
d704fe0 to
3bae386
Compare
Add RGWHeapProfilerHook to rgw_appmain.cc that registers a "heap" admin socket command, forwarding subcommands to the shared ceph_heap_profiler_handle_command() implementation. This enables heap stats, start_profiler, stop_profiler, dump, release, and release rate commands for RGW via "ceph daemon heap ". Link radosgw against heap_profiler library, update memory-profiling documentation, and add an integration test script. Signed-off-by: Vinayak Tiwari <[email protected]> Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <[email protected]> Co-authored-by: Mark Kogan <[email protected]>
3bae386 to
6d8851a
Compare
|
jenkins test make check |
|
jenkins test make check arm64 |
|
jenkins test signed |
|
jenkins test submodules |
|
@adamemerson @anrao19 thanks, teuthology passed PTAL at comment above any objections to press the merge button? |



rgw: add tcmalloc heap profiler support via admin socket
Add RGWHeapProfilerHook to rgw_appmain.cc that registers a "heap" admin socket command, forwarding subcommands to the shared ceph_heap_profiler_handle_command() implementation. This enables heap stats, start_profiler, stop_profiler, dump, release, and release rate commands for RGW via "ceph daemon heap ".
Link radosgw against heap_profiler library, update memory-profiling documentation, and add an integration test script.
Signed-off-by: Vinayak Tiwari [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.