πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.current
Article #90

Re: poudriere-devel: only 2 builder of 4 are running

#90
From: Dimitry Andric
Date: Sun, 25 Oct 2026 16:14
41 lines
3395 bytes
On 25 Oct 2026, at 16:36, Sulev-Madis Silber <freebsd-current-freebsd-org111@ketas.si.pri.ee> wrote:
> 
> On October 25, 2026 4:33:40 PM GMT+02:00, Rainer Duffner <rainer@ultra-secure.de> wrote:
>> Over the years, RAM and swap requirements have risen significantly.
>> 
>> This is especially true when it happens that it's building two β€žlargeβ€œ things at the same time. For me it was gcc14 and rust.
>> 
>> chromium is also notorious for requiring huge amounts of RAM and swap for linking.
> 
> 
> anybody wanna explain me where did my 4g ram and 6g swap go in build?
> 
> i don't have full understanding of source to binary translation process which is actually difficult task anyway. compilation, linking.
> 
> but resulting binaries on disk aren't multi gigabyte, so what could possibly live in memory? just write it down!

While everybody's use case is different, in my case it greatly helped to set:

USE_TMPFS=localbase

in poudriere.conf. By default, USE_TMPFS is set to "all", which means it places the workdir and temp build data in tmpfs (aka RAM :).

For some ports this can consume huge amounts of RAM. Especially if you build some or all with debug info.

-Dimitry



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <8457F024-D6E2-43EA-945A-F43B28A522F9@FreeBSD.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <AC54242E-1B47-4350-B2B0-D6C541B8984B@ketas.si.pri.ee> <>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Dimitry Andric <dim@FreeBSD.org>
Newsgroups: muc.lists.freebsd.current
Subject: Re: poudriere-devel: only 2 builder of 4 are running
Date: Sun, 25 Oct 2026 17:14:16 +0100
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-current@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <8457F024-D6E2-43EA-945A-F43B28A522F9@FreeBSD.org>
References: <AC54242E-1B47-4350-B2B0-D6C541B8984B@ketas.si.pri.ee> <>
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3901.100.1.1.12\))
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="97478"; mail-complaints-to="news-admin@muc.de"
X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1792944857;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=JEHSKRDhrCOOLlFrwtV9AxWwdVLafg4UNfK3Mfs5FCw=;
	b=YpPLtYTNcrQakrjez+gub2JmWkckU+CHCWPoVCO4fS823MosL/5hFTAqmsJ2683KqsL5fx
	AxwfpsSWkmStCJsYy3Ikv8fxYWyoPfJE4PkUrr8Jaus0wPQjR9ZcLaolVRhTc8AWFGiY8z
	gllbmimUBgQ6IL03wjWCF85bSyDVAhFZ6e3OCNRyAquft2QQ9PFO+vuAcrfH2fgkgh8G/1
	kdp3v0zm5ahCIWrYg+EDOpuW7BsgUuEoLjYiGfanZYLcFYSLf3TVsJzUvw2gj/TtU+r8XT
	WJomx4T1JXOWCzdUekanw7OZFr+wt0LN0uWCK+cjx/QXsEEeNIy/416cnjO7GA==
Precedence: list
In-Reply-To: <AC54242E-1B47-4350-B2B0-D6C541B8984B@ketas.si.pri.ee>
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes