From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199606071542.IAA02732@koala.azstarnet.com> Date: Fri, 7 Jun 1996 08:42:43 -0700 From: David Mosberger-Tang Subject: Re: Doug Lea's malloc adapted for 64bit, needs testing >>>>> On Fri, 7 Jun 1996 17:32:09 +0200, Wolfram Gloger 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