Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 1999 14:46:58 -0800 (PST)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Kip Macy <kip@lyris.com>
Cc:        Scott Hess <scott@avantgo.com>, Rayson Ho <raysonlogin@yahoo.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Faster Malloc 
Message-ID:  <Pine.BSF.4.21.9912081435530.4557-100000@fw.wintelcom.net>
In-Reply-To: <Pine.SOL.4.05.9912081227491.4480-100000@luna>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 8 Dec 1999, Kip Macy wrote:
> > From: Rayson Ho <raysonlogin@yahoo.com>
> > >
> > > http://www.cs.utexas.edu/users/emery/hoard/
> > >
> > > Only Linux,Solaris,IRIX,NT, and BeOS supported at this
> > > stage. Anyone wants to port it to FreeBSD?
> > >
> > > Sorry if everyone knows this already...
> > >
> On Wed, 8 Dec 1999, Scott Hess wrote:
>
> > From the web page:
> >
> > "Hoard is a fast, scalable and memory-efficient allocator for
> > multiprocessors. Hoard solves the heap contention problem caused when
> > multiple threads call dynamic memory allocation functions like malloc() and
> > free() (or new and delete). Hoard can dramatically improve the performance
> > of multithreaded programs running on multiprocessors."
> >
> > It doesn't sound like it would help much under the current FreeBSD pthread
> > implementation, because userland threads shouldn't suffer from
> > multiprocessor contention.
>
> It might be nice when LWP support is added.
>
>                               -Kip

Userland threads can contend against themselves, right now the kernel
doesn't but it would be a good thing to implement for later use.

We also support shared address space fork, so this may be a good idea
for programs that utilize that.

This allocator is pretty much what the Dynix allocator is, it wouldn't be
difficult to clean-room implement this with a BSD license.

They should have given credit to Dynix or at least Uresh Vahalia
(discussed on page 390 of his book Unix Internals section 12.9).

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9912081435530.4557-100000>