Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Mosberger-Tang <davidm@AZStarNet.com>
Subject: Re: Doug Lea's malloc adapted for 64bit, needs testing
Date: Fri, 7 Jun 1996 08:42:43 -0700	[thread overview]
Message-ID: <199606071542.IAA02732@koala.azstarnet.com> (raw)

>>>>> On Fri, 7 Jun 1996 17:32:09 +0200, Wolfram Gloger <Wolfram.Gloger@Dent.MED.Uni-Muenchen.DE> said:

  Wolfram> Why do this ?  I don't know which malloc version you're
  Wolfram> using in alpha-libc, but if it's GNU malloc or (worse)
  Wolfram> derived from the old BSD code, there is a lot to gain from
  Wolfram> using Doug's version.  It is by far the most
  Wolfram> space-efficient malloc implementation that I know of.  It
  Wolfram> excels in particular at dealing with widely varying
  Wolfram> allocation size distributions, showing little fragmentation
  Wolfram> and returning memory to the system via sbrk(-x) or
  Wolfram> munmap().  On the latest Linux kernels, it also supports
  Wolfram> fast realloc()ation of large chunks via the mremap() system
  Wolfram> call.  I would like to have dl-malloc put into GNU libc,
  Wolfram> but a prerequisite is that it runs on 64bit architectures.

The current libc uses whatever came with libc-4.6.27.  The next libc
will be glibc (with very high probability, at least), so it will use
the GNU malloc.

I'll try your test-program and report back when I've done so.  I'd
like to see it in glibc if it really does improve things.

	--david

             reply	other threads:[~1996-06-07 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-07 15:42 David Mosberger-Tang [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-06-07 15:32 Doug Lea's malloc adapted for 64bit, needs testing Wolfram Gloger
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox