From owner-freebsd-questions@FreeBSD.ORG Sun Jul 27 19:51:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 288351065672 for ; Sun, 27 Jul 2008 19:51:07 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 511348FC14 for ; Sun, 27 Jul 2008 19:51:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m6RJotm0034235; Sun, 27 Jul 2008 21:50:55 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m6RJosUa034232; Sun, 27 Jul 2008 21:50:54 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 27 Jul 2008 21:50:54 +0200 (CEST) From: Wojciech Puchar To: Doug Hardie In-Reply-To: Message-ID: <20080727214912.U34219@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: malloc options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2008 19:51:07 -0000 > /etc/malloc.conf. The default for that file is to not exist. The man page > does not indicate which settings are used in that situation. After reading > through it I get the feeling that the default settings for D and M are 'dM'. > Hence, to return to the older malloc aproach to see if the problems go away I > would need to set "Dm". But some of the descriptions seem to indicate that > might not be correct. What are the default settings? no idea. anyway - if this makes any non-performance difference to your programs - it's something wrong with it by design. it should not. if you need to manage memory your way, just use sbrk only and then manage it your way - as i do in most of my programs.