From owner-cvs-all Thu Apr 5 8:26:12 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (fxp0.halvsten.ip.cybercity.dk [212.242.40.114]) by hub.freebsd.org (Postfix) with ESMTP id 11F2637B43C; Thu, 5 Apr 2001 08:26:06 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f35FQ2C22564; Thu, 5 Apr 2001 17:26:02 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Maxim Sobolev Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/devel Makefile ports/devel/dlmalloc Makefile distinfo pkg-comment pkg-descr pkg-message pkg-plist ports/devel/dlmalloc/files Makefile README.FreeBSD In-Reply-To: Your message of "Thu, 05 Apr 2001 08:17:33 PDT." <200104051517.f35FHXb44816@freefall.freebsd.org> Date: Thu, 05 Apr 2001 17:26:02 +0200 Message-ID: <22562.986484362@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200104051517.f35FHXb44816@freefall.freebsd.org>, Maxim Sobolev writes: >sobomax 2001/04/05 08:17:33 PDT > > Modified files: > devel Makefile > Added files: > devel/dlmalloc Makefile distinfo pkg-comment pkg-descr > pkg-message pkg-plist > devel/dlmalloc/files Makefile README.FreeBSD > Log: > Add dlmalloc 2.7.0, a very efficient malloc/free/realloc implementation. > > According to my tests it is *amazingly* efficient - it gave me about 10% > memory saving (SIZE in the top(1)) for the large processes like X and jre > without any measureable performance saturation. > > Moreover, due to not very clear for me reasons Python benchmark (pybench) > is about 60% (!!!) faster with this allocator comparing to the libc one. > Obviously we should investigate this further and if there is no error > then tune either Python or our own malloc. Did you measure this with the right malloc flags for the libc version ? Remember that -current runs with malloc flags "AJ" as default, that is not fair if it comes to performance comparisons (but it does wonders for finding bugs :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message