Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Issue 8242017: Enable TCMalloc doubly-linked freelist in release builds (Closed)

Created:
9 years, 2 months ago by jschuh
Modified:
9 years, 2 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Enable TCMalloc doubly-linked freelist in release buildsBUG=NoneTEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105312

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M base/allocator/allocator.gyp View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/tcmalloc/chromium/src/free_list.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M third_party/tcmalloc/chromium/src/free_list.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jschuh
As discussed, I'll check this in early tomorrow morning to get accurate stats on performance ...
9 years, 2 months ago (2011-10-12 19:36:32 UTC) #1
jschuh
Done.
9 years, 2 months ago (2011-10-13 00:16:41 UTC) #2
jar (doing other things)
As per discussion, please land when the tree is pretty quiet, so we can see ...
9 years, 2 months ago (2011-10-13 00:18:29 UTC) #3
Tom Hudson
Where was the discussion? Was there any perf test impact observed? I think I'm seeing ...
9 years, 2 months ago (2011-10-20 20:42:47 UTC) #4
jschuh
Yes, this was the intent. We didn't observe a negative performance impact on the perf ...
9 years, 2 months ago (2011-10-20 22:57:53 UTC) #5
jar (doing other things)
9 years, 2 months ago (2011-10-20 23:37:54 UTC) #6
Can you clarify what the percentage was of?

For instance, are you looking at browser perf, or renderer perf?

Were you measuring perf in the renderer when it was in a quiescent mode,
doing just about nothing, and detecting a 2.45% rise over the (nearly) zero
CPU usage?

When we run page cycler, we so no perf regression, so your report is a bit
confusing.

Thanks,

Jim

On Thu, Oct 20, 2011 at 1:42 PM, <tomhudson@chromium.org> wrote:

> Where was the discussion? Was there any perf test impact observed? I think
> I'm
> seeing memory management overhead on Linux increase of 50% or more in my
> profiles because of tcmalloc::FL_Next().
>
> Looking at free_list.cc, I note that the if(foo){MEMORY_CHECK(bar)} calls
> aren't
> debug-only; they're running in release builds. Was this intended? If I
> comment
> out the consistency checks, FL_Next drops from 2nd on the profile (2.45%)
> to
> 27th (0.46%), and tcmalloc drops below 1.5% of total CPU time.
> Unfortunately,
> the page cycler tests I'm using to evaluate total performance are too noisy
> to
> verify a visible change...
>
>
>
>
http://codereview.chromium.**org/8242017/<http://codereview.chromium.org/8242...
>

Powered by Google App Engine
This is Rietveld 408576698