The optimization of malloc(3): FreeBSD vs GNU libc

李鑫 (LI Xin) delphij at delphij.net
Tue Aug 15 02:34:45 UTC 2006


在 2006-08-15二的 02:38 +0300,Vladimir Kushnir写道:
> On -CURENT amd64 (Athlon64 3000+, 512k L2 cache):
> 
> With jemalloc (without MY_MALLOS):
>   ~/fdtd> /usr/bin/time ./fdtd.FreeBSD 500 500 1000
> ...
> 116.34 real       113.69 user         0.00 sys
> 
> With MY_MALLOC:
>   ~/fdtd> /usr/bin/time ./fdtd.FreeBSD 500 500 1000
> ...
> 45.30 real        44.29 user         0.00 sys

Have you turned off the debugging options, i.e. ln -sf
'aj' /etc/malloc.conf?

Cheers,
-- 
Xin LI <delphij delphij net>    http://www.delphij.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?=
	=?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8=E5=88=86?=
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060815/f3f4ba27/attachment.pgp


More information about the freebsd-hackers mailing list