From owner-freebsd-current Thu Jan 23 11:39:13 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AD1C37B401 for ; Thu, 23 Jan 2003 11:39:12 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 658B143F3F for ; Thu, 23 Jan 2003 11:39:11 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h0NJdAfL050543; Thu, 23 Jan 2003 13:39:10 -0600 (CST) (envelope-from dan) Date: Thu, 23 Jan 2003 13:39:10 -0600 From: Dan Nelson To: Rahul Siddharthan Cc: Kenneth Culver , Atte Peltomaki , freebsd-current@FreeBSD.ORG Subject: Re: malloc.conf (was Re: Performance problems with 5.0-RELEASE) Message-ID: <20030123193910.GD54656@dan.emsphone.com> References: <20030123123522.C9068-100000@alpha.yumyumyum.org> <20030123181628.GA2185@papagena.rockefeller.edu> <20030123185657.GB54656@dan.emsphone.com> <20030123191446.GA2602@papagena.rockefeller.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030123191446.GA2602@papagena.rockefeller.edu> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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