[ruby-core:88256] Re: [Ruby trunk Feature#14718] Use jemalloc by default?

From: Eric Wong <normalperson@...>
Date: 2018-08-01 09:55:40 UTC
List: ruby-core #88256
[email protected] wrote:
> As much as we like to think of jemalloc as a silver bullet of
> sorts... there are problems... In particular if you have THP
> enabled which most people do out of the box its behavior is
> not ideal despite all the fixes it has gotten over the years.
> My observation is that both MALLOC_ARENA_MAX=2 and tcmalloc
> can perform better if THP is on, both in 5.1 and 3.6.0.
> Getting the world to turn off THP is a hard job. 

Ruby 2.6 will disable THP, at least:

   https://bugs.ruby-lang.org/issues/14705

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next