Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 15:58:10 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Threaded 6.4 code compiled under 9.0 uses a lot more memory?..
Message-ID:  <k6opu0$u8t$1@ger.gmane.org>
In-Reply-To: <1351608465.1120.30.camel@revolution.hippie.lan>
References:  <A92CE63E6E6DB93B366F4A42@MightyAtom.tdx.co.uk> <20121030134614.1a42f0e3@fabiankeil.de> <1351608465.1120.30.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0C557084087D2E1B53E710D3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 30/10/2012 15:47, Ian Lepore wrote:
> On Tue, 2012-10-30 at 13:46 +0100, Fabian Keil wrote:
>> Karl Pielorz <kpielorz_lst@tdx.co.uk> wrote:
>>
>>> Can anyone think of any quick pointers as to why some code originally=
=20
>>> written under 6.4 amd64 - when re-compiled under 9.0-stable amd64 tak=
es
>>> up a *lot* more memory when running?
>>
>> 6.4 comes with phkmalloc while 9.0 uses jemalloc. Maybe you are
>> allocating memory in a way that is less space-efficiently handled by
>> jemalloc's default configuration.
>>
>> Fabian
>=20
> jemalloc is certainly the first thing that came to my mind.  Does
> MALLOC_PRODUCTION need to be defined on a 9.0 system, or is that
> something that gets turned on automatically in an official release
> build? (I'm always working with non-release stuff so I'm not sure how
> that gets handled).

It is turned on by default on -stable, by a commit from release engineers=
=2E



--------------enig0C557084087D2E1B53E710D3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlCP6wIACgkQ/QjVBj3/HSyT0QCfRZ+5AcJeSrKXtHv+VvmfsRst
H0YAn0VCNK7CCNHVPVe9TIl4AP9wtzkV
=TXsp
-----END PGP SIGNATURE-----

--------------enig0C557084087D2E1B53E710D3--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?k6opu0$u8t$1>