From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 15 02:34:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C101016A4DD for ; Tue, 15 Aug 2006 02:34:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id E42C743D6D for ; Tue, 15 Aug 2006 02:34:34 +0000 (GMT) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 6B88EEB0A66; Tue, 15 Aug 2006 10:34:30 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id A2yEJD6L779E; Tue, 15 Aug 2006 10:34:28 +0800 (CST) Received: from [10.217.12.217] (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 65496EB2DED; Tue, 15 Aug 2006 10:34:28 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=subject:from:to:cc:in-reply-to:references:content-type: organization:date:message-id:mime-version:x-mailer; b=v23eWMy06AnRODkoy8C737kC+pWcBTWxDpZhBuRsbfwBHH3k/Gm+DLKatXoHO2eDk oM1VcYurvSOtfw7+4v0Tg== From: =?UTF-8?Q?=E6=9D=8E=E9=91=AB?= "(LI Xin)" To: Vladimir Kushnir In-Reply-To: <20060815023505.N1988@kushnir1.kiev.ua> References: <20060814231504.GB69362@lor.one-eyed-alien.net> <20060815023505.N1988@kushnir1.kiev.ua> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-h4pQSxCz2RlHzvJUoXpR" Organization: The FreeBSD Project Date: Tue, 15 Aug 2006 10:34:16 +0800 Message-Id: <1155609256.930.12.camel@spirit> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Cc: freebsd-hackers@freebsd.org, Intron Subject: Re: The optimization of malloc(3): FreeBSD vs GNU libc X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 02:34:45 -0000 --=-h4pQSxCz2RlHzvJUoXpR Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =E5=9C=A8 2006-08-15=E4=BA=8C=E7=9A=84 02:38 +0300=EF=BC=8CVladimir Kushnir= =E5=86=99=E9=81=93=EF=BC=9A > On -CURENT amd64 (Athlon64 3000+, 512k L2 cache): >=20 > With jemalloc (without MY_MALLOS): > ~/fdtd> /usr/bin/time ./fdtd.FreeBSD 500 500 1000 > ... > 116.34 real 113.69 user 0.00 sys >=20 > With MY_MALLOC: > ~/fdtd> /usr/bin/time ./fdtd.FreeBSD 500 500 1000 > ... > 45.30 real 44.29 user 0.00 sys Have you turned off the debugging options, i.e. ln -sf 'aj' /etc/malloc.conf? Cheers, --=20 Xin LI http://www.delphij.net/ --=-h4pQSxCz2RlHzvJUoXpR Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8=E5=88=86?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE4TKohcUczkLqiksRAs/tAKCZkajQrAiQxhvrUbmwyPzdwmf42wCeIRVj tOh5x4sK1dcJlPDohMGqQU8= =g7AL -----END PGP SIGNATURE----- --=-h4pQSxCz2RlHzvJUoXpR--