From: Milosz Tanski <milosz@adfin.com>
To: Alexandre DERUMIER <aderumier@odiso.com>,
ceph-devel <ceph-devel@vger.kernel.org>,
Somnath Roy <somnath.roy@sandisk.com>
Subject: Re: Hitting tcmalloc bug even with patch applied
Date: Mon, 27 Apr 2015 10:53:05 -0400 [thread overview]
Message-ID: <553E4D51.9010103@adfin.com> (raw)
In-Reply-To: <837264898.702990831.1430140908848.JavaMail.zimbra@oxygem.tv>
On 4/27/15 9:21 AM, Alexandre DERUMIER wrote:
> Seem that starting osd with:
>
> TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=128M /usr/bin/ceph-osd
>
> fix it.
>
> I don't known if it's the right way ?
Do you know what the default is if you don't specify it?
>
>
>
> ----- Mail original -----
> De: "aderumier" <aderumier@odiso.com>
> À: "ceph-devel" <ceph-devel@vger.kernel.org>, "Somnath Roy" <somnath.roy@sandisk.com>
> Envoyé: Lundi 27 Avril 2015 14:06:22
> Objet: Hitting tcmalloc bug even with patch applied
>
> Hi,
>
> I'm hitting the tcmalloc even with patch apply.
> It's mainly occur when I try to bench fio with a lot jobs (20 - 40 jobs)
>
> Does It need to tuned something in osd environnement variable ?
>
>
> I double check it with
>
> #g++ -o gperftest gperftest.c -ltcmalloc
> # export TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=67108864
> # ./gperftest
> Tcmalloc OK! Internal and Env cache size are same:67108864
>
>
> perf top
> -------
> 10.04% libtcmalloc.so.4.1.2 [.] tcmalloc::ThreadCache::ReleaseToCentralCache
> 8.19% libtcmalloc.so.4.1.2 [.] tcmalloc::CentralFreeList::FetchFromSpans
> 3.89% libtcmalloc.so.4.1.2 [.] tcmalloc::CentralFreeList::ReleaseToSpans
> 2.04% libtcmalloc.so.4.1.2 [.] tcmalloc::CentralFreeList::ReleaseListToSpans
> 1.79% libtcmalloc.so.4.1.2 [.] operator new
> 1.25% ceph-osd [.] ConfFile::load_from_buffer
> 1.21% libtcmalloc.so.4.1.2 [.] operator delete
> 1.14% [kernel] [k] _raw_spin_lock
> 1.08% libstdc++.so.6.0.19 [.] std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string
> 1.04% [kernel] [k] __schedule
> 1.00% libpthread-2.17.so [.] pthread_mutex_trylock
> 0.90% [kernel] [k] native_write_msr_safe
> 0.89% [kernel] [k] __switch_to
> 0.79% [kernel] [k] _raw_spin_lock_irqsave
> 0.73% [kernel] [k] copy_user_enhanced_fast_string
>
>
>
> Regards,
>
> Alexandre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-04-27 14:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 12:06 Hitting tcmalloc bug even with patch applied Alexandre DERUMIER
2015-04-27 13:21 ` Alexandre DERUMIER
2015-04-27 14:53 ` Milosz Tanski [this message]
2015-04-27 14:57 ` Mark Nelson
2015-04-27 15:25 ` Alexandre DERUMIER
2015-04-27 16:00 ` Milosz Tanski
2015-04-27 16:02 ` Somnath Roy
2015-04-27 20:24 ` Milosz Tanski
2015-04-27 20:33 ` Mark Nelson
2015-04-28 13:58 ` Chaitanya Huilgol
2015-04-28 17:37 ` Milosz Tanski
2015-04-28 18:04 ` Vijayendra Shamanna
2015-04-30 6:15 ` Haomai Wang
2015-04-30 17:36 ` Gregory Farnum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=553E4D51.9010103@adfin.com \
--to=milosz@adfin.com \
--cc=aderumier@odiso.com \
--cc=ceph-devel@vger.kernel.org \
--cc=somnath.roy@sandisk.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.