Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 11:00:35 +0200
From:      Marc Fonvieille <blackend@freebsd.org>
To:        sam <sam.wun@tech-21.com.hk>
Cc:        Mike Tancsa <mike@sentex.net>
Subject:   Re: Weird performances: -CURRENT vs 5.2.1
Message-ID:  <20040819090034.GC20058@abigail.blackend.org>
In-Reply-To: <4124573F.50403@tech-21.com.hk>
References:  <20040818200530.GA88370@abigail.blackend.org> <20040818205029.GA48028@xor.obsecurity.org> <6.1.2.0.0.20040818170232.05773880@64.7.153.2> <20040819072614.GA19508@abigail.blackend.org> <4124573F.50403@tech-21.com.hk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@fbsd [3:34pm] [...i386/conf]#
> 
> root@fbsd [3:34pm] [...i386/conf]# ls -l /etc/aj
> ls: /etc/aj: No such file or directory
> root@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040819090034.GC20058>