[ruby-core:62688] Re: [ruby-trunk - Feature #9113] Ship Ruby for Linux with jemalloc out-of-the-box

From: Eric Wong <normalperson@...>
Date: 2014-05-19 22:05:52 UTC
List: ruby-core #62688
[email protected] wrote:
> I want to suggest only add "--enable-jemalloc" (not default).

I am considering it, but I am not sure non-default is worth it over
nobu's original suggestion of using "./configure LIBS=-ljemalloc"

Sam: what do you think?

> I'm afraid that it makes performance prediction more difficult.
> (someone use it and someone doesn't use)

I understand.  Maybe a big warning at the end of ./configure?

Fwiw, I am mildly against bundling jemalloc in the tarball.  It is
more to maintain and keep up-to-date.  Varnish no longer bundles
jemalloc for this reason, either.

I chose to detect + enable jemalloc by default since it can encourage
distributors and packagers to use and depend on it (like gmp).

In This Thread