From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 30 11:54:08 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DEE41B8 for ; Tue, 30 Oct 2012 11:54:08 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 52B5E8FC16 for ; Tue, 30 Oct 2012 11:54:06 +0000 (UTC) Received: from [78.35.146.160] (helo=fabiankeil.de) by smtprelay02.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1TTAHq-0002m3-HO; Tue, 30 Oct 2012 12:47:14 +0100 Date: Tue, 30 Oct 2012 13:46:14 +0100 From: Fabian Keil To: Karl Pielorz Subject: Re: Threaded 6.4 code compiled under 9.0 uses a lot more memory?.. Message-ID: <20121030134614.1a42f0e3@fabiankeil.de> In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/O_=1nr6K8G9W6NyUtrwbJUS"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2012 11:54:08 -0000 --Sig_/O_=1nr6K8G9W6NyUtrwbJUS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Karl Pielorz 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 takes > 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 --Sig_/O_=1nr6K8G9W6NyUtrwbJUS Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCPzBoACgkQBYqIVf93VJ3T/gCfVUdIjii6Xms+s52XRXUg0sYe WOAAoJ+is+vl/Pa+qWorSwSbYY2TYGzi =+oWx -----END PGP SIGNATURE----- --Sig_/O_=1nr6K8G9W6NyUtrwbJUS--