Weird performances: -CURRENT vs 5.2.1

Marc Fonvieille blackend at freebsd.org
Thu Aug 19 02:00:40 PDT 2004


On Thu, Aug 19, 2004 at 03:31:11PM +0800, sam wrote:
> >And then do a:
> >
> >ln -s aj /etc/malloc.conf
> > 
> >
> This looks like a trick. "aj" is actually not existed in the system.
> You meant created a malloc.conf pointing to a non-exist aj for the 
> improvment of the malloc operation?
> 
> root at fbsd [3:31pm] [...i386/conf]# ls -l /etc/malloc.conf
> lrwxr-xr-x  1 root  wheel  2 Aug 19 15:31 /etc/malloc.conf@ -> aj
> root at fbsd [3:34pm] [...i386/conf]#
> 
> root at fbsd [3:34pm] [...i386/conf]# ls -l /etc/aj
> ls: /etc/aj: No such file or directory
> root at fbsd [3:34pm] [...i386/conf]#
>

It's just a way to pass flags to malloc system, it's not interpreted as
a file; an environment variable (MALLOC_OPTIONS) could be used for the
same purpose.  You just have to be sure to not "mistype" your flags as I
did recently :)

Marc


More information about the freebsd-current mailing list