Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 06:52:38 +0000
From:      Jason Henson <jason@ec.rr.com>
To:        freebsd-hackers@freebsd.org
Subject:   malloc vs ptmalloc2
Message-ID:  <1108277558l.86500l.0l@BARTON>

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

I saw on a few of the lists here how linux uses ptmalloc2 and it  
outperforms bsd's malloc.  I tried to do some research into it and  
found PHK's pdf on it and it seems bsd's malloc was ment to be ok in  
most every situation. Because of this it shines when primary storage is  
seriously over committed.

So here is my question, I use FreeBSD as a desktop and never ever use  
swap(I just don't stress my system enough?), can I use ptmalloc in  
stead of malloc?  Like defining SCHED_ULE instead of SCHED_4BSD.  Can  
the system malloc be switched out?  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108277558l.86500l.0l>