All of lore.kernel.org
 help / color / mirror / Atom feed
* tcmalloc issue
@ 2015-03-26 23:18 Somnath Roy
  2015-03-26 23:47 ` Sage Weil
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Somnath Roy @ 2015-03-26 23:18 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Sage,
Here is the tcmalloc issue I was talking in the performance meeting.

http://code.google.com/p/gperftools/issues/detail?id=585

The tcmalloc is consuming lot of cpus (and eventually slowing down the performance) with the following perf top  trace.

25.73% libtcmalloc.so.4.1.2 [.] tcmalloc::CentralFreeList::FetchFromSpans()
12.52% libtcmalloc.so.4.1.2 [.] tcmalloc::ThreadCache::ReleaseToCentralCache(tcmalloc::ThreadCache::FreeList*, unsigned long, int)
11.62% libtcmalloc.so.4.1.2 [.] tcmalloc::CentralFreeList::ReleaseToSpans(void*)
1.56% [kernel] [k] __copy_user_nocache
1.44% libtcmalloc.so.4.1.2 [.] tcmalloc::CentralFreeList::RemoveRange(void*, void*, int)
1.39% libtcmalloc.so.4.1.2 [.] tcmalloc::CentralFreeList::ReleaseListToSpans(void*)
0.89% libtcmalloc.so.4.1.2 [.] operator new(unsigned long)


The TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES is alleviating that but the env variable setting for this is a noop in the binary we are having in Ubuntu 14.04. It is fixed in gperftools-2.1.90 release.
See the following link.

http://code.google.com/p/gperftools/

We can request Ubuntu guys to incorporate this version or the latest tcmalloc version which is gperftools-2.4.

It will be really helpful if you can push them to incorporate this in 14.04 updates.

Thanks & Regards
Somnath

________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-04-16 14:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-26 23:18 tcmalloc issue Somnath Roy
2015-03-26 23:47 ` Sage Weil
2015-03-30 17:36   ` Somnath Roy
2015-04-01 15:56   ` James Page
2015-04-01 17:54     ` Somnath Roy
2015-04-01 18:09       ` Alexandre DERUMIER
2015-04-09  5:59       ` James Page
2015-04-09  9:00         ` Chaitanya Huilgol
2015-04-09 14:13           ` James Page
2015-04-16 11:48           ` James Page
2015-04-16 14:55             ` Somnath Roy
2015-03-26 23:53 ` Mark Nelson
2015-03-27  7:21 ` Alexandre DERUMIER
2015-03-27  9:53   ` Chaitanya Huilgol
2015-03-27 14:37     ` Alexandre DERUMIER
2015-03-27 14:26   ` Chaitanya Huilgol

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.