Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 13:39:10 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Rahul Siddharthan <rsidd@online.fr>
Cc:        Kenneth Culver <culverk@yumyumyum.org>, Atte Peltomaki <atte.peltomaki@iki.fi>, freebsd-current@FreeBSD.ORG
Subject:   Re: malloc.conf (was Re: Performance problems with 5.0-RELEASE)
Message-ID:  <20030123193910.GD54656@dan.emsphone.com>
In-Reply-To: <20030123191446.GA2602@papagena.rockefeller.edu>
References:  <20030123123522.C9068-100000@alpha.yumyumyum.org> <20030123181628.GA2185@papagena.rockefeller.edu> <20030123185657.GB54656@dan.emsphone.com> <20030123191446.GA2602@papagena.rockefeller.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 23), Rahul Siddharthan said:
> Dan Nelson wrote:
> > > # ls -l /etc/malloc.conf 
> > > lrwxr-xr-x  1 root  wheel  4 Jan 23 11:52 /etc/malloc.conf -> HR<
> > 
> > H and < should only make a difference if you are low on memory. 
> 
> Yes.
> 
> > R is on
> > by default in 5.0 anyway, due to A and J being on by default. 
> 
> That's not what the malloc(3) man page suggests -- R seems to have
> nothing to do with A or J.   Perhaps, however, the improvement I see
> is due to turning off A and J (implicitly, ie by not specifying them)?

The description for J says "This options also sets the R option" (heh.
found a typo :), and inside malloc.c, the internal flags representing
A and J are set to 1.  Not specifying [aA] or [jJ] leaves them at the
defaults, so they should still be enabled if you have "HR<" set.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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