Skip to content

cephadm: Set tcmalloc env var for Ceph daemons#42857

Merged
sebastian-philipp merged 1 commit intoceph:masterfrom
dsavineau:cephadm_tcmalloc_ceph_daemons_only
Aug 24, 2021
Merged

cephadm: Set tcmalloc env var for Ceph daemons#42857
sebastian-philipp merged 1 commit intoceph:masterfrom
dsavineau:cephadm_tcmalloc_ceph_daemons_only

Conversation

@dsavineau
Copy link
Copy Markdown
Contributor

We don't need to set the TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES environment
variable for non Ceph daemons.

Fixes: https://tracker.ceph.com/issues/52334

Signed-off-by: Dimitri Savineau dsavinea@redhat.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

We don't need to set the TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES environment
variable for non Ceph daemons.

Fixes: https://tracker.ceph.com/issues/52334

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
@dsavineau dsavineau requested a review from a team as a code owner August 19, 2021 18:23
Copy link
Copy Markdown
Contributor

@sebastian-philipp sebastian-philipp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the lack of any other affected unit tests scares me a bit. Would be great to also have unit tests for the other daemon types as well. Nevertheless, approving it.

@sebastian-philipp
Copy link
Copy Markdown
Contributor

@sebastian-philipp sebastian-philipp merged commit 8c54a70 into ceph:master Aug 24, 2021
@dsavineau dsavineau deleted the cephadm_tcmalloc_ceph_daemons_only branch August 24, 2021 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants