Bug 1355848 - ceph-fuse is not linked with tcmalloc
Summary: ceph-fuse is not linked with tcmalloc
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Build
Version: 2.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 2.0
Assignee: Yan, Zheng
QA Contact: rakesh
Depends On:
TreeView+ depends on / blocked
Reported: 2016-07-12 17:45 UTC by Greg Farnum
Modified: 2016-08-23 19:44 UTC (History)
5 users (show)

Fixed In Version: RHEL: ceph-10.2.2-22.el7cp Ubuntu: ceph_10.2.2-17redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-08-23 19:44:11 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 16655 0 None None None 2016-07-12 17:45:05 UTC
Red Hat Product Errata RHBA-2016:1755 0 normal SHIPPED_LIVE Red Hat Ceph Storage 2.0 bug fix and enhancement update 2016-08-23 23:23:52 UTC

Description Greg Farnum 2016-07-12 17:45:05 UTC
Description of problem:
ceph-fuse is being built without being linked to tcmalloc. The default malloc is very bad; a ceph-users report on centos7 says he easily exceeds 10GB of VSS per process, and it is correlated with other issues that are still being pinned down.
(Past experience has shown us that using gmalloc also results in much worse throughput/IOPs in general.)

Version-Release number of selected component (if applicable): Downstream releases based on upstream Jewel, as well as upstream releases. See http://tracker.ceph.com/issues/16655

How reproducible:
It's a build issue.

Steps to Reproduce:
1. Build ceph-fuse
2. Observe it is not linked with tcmalloc

Expected results: ceph-fuse is linked with tcmalloc

Additional info:

Comment 4 Ken Dreyer (Red Hat) 2016-07-14 23:17:46 UTC
QE team: you can check this link by running "ldd /usr/bin/ceph-fuse | grep tcmalloc"

Comment 5 Yan, Zheng 2016-07-15 01:59:57 UTC
patch has been pushed into ceph-2-rhel-patches

Comment 9 rakesh 2016-07-25 10:43:14 UTC
As indicated by Ken, I have run the following command on RHEL and ubuntu,
-----ldd /usr/bin/ceph-fuse | grep tcmalloc

and here is the output

------libtcmalloc.so.4 => /lib64/libtcmalloc.so.4 (0x00007fce1a298000)

so moving the bug to verifed stage.

Comment 11 errata-xmlrpc 2016-08-23 19:44:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.