From: Eric Wong Date: 2018-08-01T09:55:40+00:00 Subject: [ruby-core:88256] Re: [Ruby trunk Feature#14718] Use jemalloc by default? sam.saffron@gmail.com 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: