From owner-freebsd-mips@FreeBSD.ORG Tue Dec 18 05:57:48 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 195C7A1F for ; Tue, 18 Dec 2012 05:57:48 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) by mx1.freebsd.org (Postfix) with ESMTP id A71F68FC17 for ; Tue, 18 Dec 2012 05:57:47 +0000 (UTC) Received: from [207.6.254.8] (helo=[192.168.1.67]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1TkqBU-000IDC-NT; Mon, 17 Dec 2012 21:57:46 -0800 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Help: Reg Out of swap space From: Oleksandr Tymoshenko In-Reply-To: <266E3514-39BC-4E3C-A5BA-50B4D7DA635E@bsdimp.com> Date: Mon, 17 Dec 2012 21:57:29 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <129337B8-C3C2-4365-8C8D-6F5B6B45DDB1@bluezbox.com> References: <50CFE88E.3020303@bluezbox.com> <266E3514-39BC-4E3C-A5BA-50B4D7DA635E@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1499) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 2012-12-17, at 8:06 PM, Warner Losh wrote: > > On Dec 17, 2012, at 8:52 PM, Oleksandr Tymoshenko wrote: > >> On 12/17/2012 2:32 AM, Mukunda Haveri wrote: >>> I have done that already. Hope it's correct.. >>> Please have a look at the attached make.mips.conf. and my build script (csh >>> script) sets, >>> setenv __MAKE_CONF /root/mips/make.conf.mips >>> setenv SRCCONF /root/mips/src.conf.mips >>> >>> I also have a new problem after updating the source to head [from 24k+ >>> version]. Something related to . -:) >>> >>> >>> >>> On Mon, Dec 17, 2012 at 2:14 PM, Adrian Chadd wrote: >>> >>>> You need to define MALLOC_PRODUCTION in your build or the default >>>> jemalloc options in -HEAD cause it to run out of RAM on embedded >>>> platforms. >>>> >>>> >> >> As far as I can see it's MALLOC_DISTRIBUTION in make.conf. Should be MALLOC_PRODUCTION > > It should be WITHOUT_MALLOC_DEBUG > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 05:57:48 -0000 On 2012-12-17, at 8:06 PM, Warner Losh wrote: >=20 > On Dec 17, 2012, at 8:52 PM, Oleksandr Tymoshenko wrote: >=20 >> On 12/17/2012 2:32 AM, Mukunda Haveri wrote: >>> I have done that already. Hope it's correct.. >>> Please have a look at the attached make.mips.conf. and my build = script (csh >>> script) sets, >>> setenv __MAKE_CONF /root/mips/make.conf.mips >>> setenv SRCCONF /root/mips/src.conf.mips >>>=20 >>> I also have a new problem after updating the source to head [from = 24k+ >>> version]. Something related to . -:) >>>=20 >>>=20 >>>=20 >>> On Mon, Dec 17, 2012 at 2:14 PM, Adrian Chadd = wrote: >>>=20 >>>> You need to define MALLOC_PRODUCTION in your build or the default >>>> jemalloc options in -HEAD cause it to run out of RAM on embedded >>>> platforms. >>>>=20 >>>>=20 >>=20 >> As far as I can see it's MALLOC_DISTRIBUTION in make.conf. Should be = MALLOC_PRODUCTION >=20 > It should be WITHOUT_MALLOC_DEBUG >=20 BTW, why not make it a default for platforms with small footprint or = non-tier1? As far as I understand=20 the idea behind having debug enabled is to make getting information from = running systems easier. I do not think this approach is applicable to ARM or MIPS = targets.=20