[SRU] tcmalloc performance degredation over time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
google-perftools (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
James Page | ||
Vivid |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
When under memory pressure, tcmalloc will consume increasing amounts of CPU cycles resulting in performance degradation; the mechanism to permit a larger thread cache is broken, so the pinch point cannot be worked around by increasing the amount of memory to relieve this pressure.
[Test Case]
(compile attached binary)
g++ -o gperftest gperftest.c -ltcmalloc
export TCMALLOC_
./gperftest
Tcmalloc BUG! TCMALLOC_
[Regression Potential]
Fix committed upstream and isolate to a specific code path.
[Original Bug Report]
Reported by upstream:
> Sage,
> Here is the tcmalloc issue I was talking in the performance meeting.
>
> http://
>
> The tcmalloc is consuming lot of cpus (and eventually slowing down the performance) with the following perf top trace.
>
> 25.73% libtcmalloc.
> 12.52% libtcmalloc.
> 11.62% libtcmalloc.
> 1.56% [kernel] [k] __copy_user_nocache
> 1.44% libtcmalloc.
> 1.39% libtcmalloc.
> 0.89% libtcmalloc.
>
>
> The TCMALLOC_
> See the following link.
>
> http://
>
> 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
vivid has 2.2.1 - marking Fix Released.