Re: Weird performances: -CURRENT vs 5.2.1

From: Marc Fonvieille <blackend_at_freebsd.org>
Date: Thu, 19 Aug 2004 11:00:35 +0200
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_at_ -> 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
Received on Thu Aug 19 2004 - 07:00:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC