[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pthreads & dynamic memory in fbsd vs. the same in linux
- Subject: pthreads & dynamic memory in fbsd vs. the same in linux
- From: s_sourceforge at nedprod.com (Niall Douglas)
- Date: Thu Feb 10 11:12:36 2005
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
Visit your host, monkey.org