From owner-freebsd-hackers Tue Jul 4 08:36:17 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA28393 for hackers-outgoing; Tue, 4 Jul 1995 08:36:17 -0700 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id IAA28387 for ; Tue, 4 Jul 1995 08:36:14 -0700 Received: from gemini.sdsp.mc.xerox.com ([13.252.21.73]) by alpha.xerox.com with SMTP id <15488(4)>; Tue, 4 Jul 1995 08:35:22 PDT Received: from gnu.mc.xerox.com (gnu.sdsp.mc.xerox.com) by gemini.sdsp.mc.xerox.com (4.1/SMI-4.1) id AA25857; Tue, 4 Jul 95 11:35:16 EDT Received: by gnu.mc.xerox.com (4.1/SMI-4.1) id AA07774; Tue, 4 Jul 95 11:39:09 EDT Message-Id: <9507041539.AA07774@gnu.mc.xerox.com> To: Kai.Vorma@hut.fi Cc: John Utz , FreeBSD hackerlist Subject: Re: dlmalloc In-Reply-To: Your message of "Tue, 04 Jul 1995 07:29:34 PDT." <199507041429.RAA19837@vinkku.hut.fi> Date: Tue, 4 Jul 1995 08:39:07 PDT From: "Marty Leisner" Sender: hackers-owner@FreeBSD.org Precedence: bulk In message <199507041429.RAA19837@vinkku.hut.fi>, you write: >John Utz writes: > > I recall reading a report on this list of someone using dlmalloc ( doug > > lea malloc? ) with good success. > >I have been using it about 2-3 months (I replaced libc/stdlib/malloc.c >with Doug Lea's malloc-2.5.3b.c and then did make world). So far only >two system programs has failed and both have been fixed some time ago. > >I also use it with XFree86-3.1.1 (X-server and binaries) with very >good success. Performance is far better than with system malloc >altough GNU-malloc is sometimes better still. Regarding mallocs, I've had good success with making malloc into a shared library, then substituing the library via LD_LIBRARY_PATH at runtime...to use/benchmark different mallocs (I've used the bsd malloc, gnu malloc and Gray Watson's dmalloc library this way...) I've done this on sunos and linux/elf (any problem with doing it on freebsd?) marty