Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2023 22:05:33 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        ports@freebsd.org
Subject:   Re: dns/bind916 builds rust unexpectedly
Message-ID:  <20230926220533.2eeba7d5cda6a651f6cc8532@dec.sakura.ne.jp>
In-Reply-To: <109973d1-8865-7373-1703-d5b87bd9ad1b@FreeBSD.org>
References:  <ZRGiDj-esOAc9K_Z@lordcow.org> <SI2PR01MB50362BF55FD9A3A7395450A2FAC3A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <2e1786f2-1aae-7199-5a3e-5d8c9cdbedbf@FreeBSD.org> <d5f5c7cfb550ab7b4b7421528846a9d8@Leidinger.net> <109973d1-8865-7373-1703-d5b87bd9ad1b@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Sep 2023 14:03:28 +0200
Guido Falsi <madpilot@FreeBSD.org> wrote:

> On 26/09/23 13:46, Alexander Leidinger wrote:
> > Am 2023-09-26 09:44, schrieb Guido Falsi:
> > 
> >> My poudriere machine rarely can do a build run without rebuilding one 
> >> or more of rust, some version of clang, some version of gcc, 
> >> qt[56]-webengine, py-qt6 (this one does most of the work single 
> >> threaded unluckily). Also it often ends up having to rebuild firefox 
> >> and thinderbird (these two heavily use rust, and get little speed up 
> >> from ccache), libreoffice (this one at least get a very strong speed 
> >> up thanks to ccache) etc.
> > 
> > ports-mgmt/sccache-overlay is supposed to handle rust with 
> > poudriere-devel. I haven't tried it yet, but it's on my list to try to 
> > get the rust build time down.
> > 
> 
> Ah, thank you for the information. I did not notice this existed. I'll 
> check on it!
> 
> -- 
> Guido Falsi <madpilot@FreeBSD.org>

IIRC, poudriere pulls it in on its first build for rust, before I've
switched to -devel. Not sure it's actually used or not.

But running rustc itself is very, very, very heavy job. It eats up all
6C12T even if only one rustc "process" is running, watching ps.
Maybe it is multithreaded and attemps to use all core, including HTT
ones, available. hurts severly with UI experience.
This is why I try as much proposals as possible for scheduler.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



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