Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2005 19:11:59 -0000
From:      "Niall Douglas" <s_sourceforge@nedprod.com>
To:        Andriy Tkachuk <andrit@ukr.net>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: pthreads & dynamic memory in fbsd vs. the same in linux
Message-ID:  <420BB1FF.11156.68F6CEC@localhost>
In-Reply-To: <200502101604.27196.andrit@ukr.net>
References:  <346a8022050210054670390298@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 Feb 2005 at 16:04, Andriy Tkachuk wrote:

> > > It's interesting that the same program behaves differently
> > > when it is compiled in linux and run on my fbsd machine in
> > > linux_base-7.1_7 .

Linux uses ptmalloc2 as its memory allocator, an extremely efficient 
implementation whose performance under a heavily loaded multithreaded 
system is impressive. FreeBSD does not.

You can get ptmalloc2 from 
http://www.nedprod.com/programs/Win32/ptmalloc2/. It would be nice if 
FreeBSD were to adopt this allocator as the system default (it has a 
BSD type license).

Cheers,
Niall





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?420BB1FF.11156.68F6CEC>