Re: speedup build time

2024-10-30 Thread Brian
Doesn't ccache work? install the package and put WITh_CCACHE_BUILD=yes in /etc/make.conf. With a lot of ccache hits i cann build kernel and world with 4 cores onn a vm in about ab hour. On 10/27/2024 5:00 PM, Maku Bex wrote: Hello, I’m trying to figure out a way to decrease build time of -C

Re: speedup build time

2024-10-30 Thread Nuno Teixeira
>make buildworld-jobs buildkernel-jobs > cool! i'll try that next time :D > -- > I'm using it since: --- 20230420: Add jobs.mk to save typing. Enables -j${JOB_MAX} and logging eg. make buildworld-jobs runs make -j${JOB_MAX} buildworld > ../bu

Re: speedup build time

2024-10-30 Thread Juraj Lutter
> On 29 Oct 2024, at 23:52, Simon J. Gerraty wrote: > > Maku Bex wrote: > >> * What (if any) "max_jobs" (make's "-j" parameter) are you using? 16 > > BTW if you use 'buildworld-jobs' jobs.mk will default to -j 1.33C (1.33 * > ncpu) and also save the output to ../buildworld.log > > 1.5C als

Re: speedup build time

2024-10-29 Thread void
On Wed, Oct 30, 2024 at 12:53:01AM +0100, Olivier Cochard-Labbé wrote: On Wed, Oct 30, 2024 at 12:21 AM void wrote: this is interesting How do you use 'buildworld-jobs' ? make buildworld buildworld-jobs? make buildworld-jobs buildworld? make buildworld-jobs buildkernel-jobs cool! i'll tr

Re: speedup build time

2024-10-29 Thread void
On Tue, Oct 29, 2024 at 03:52:24PM -0700, Simon J. Gerraty wrote: Maku Bex wrote: * What (if any) "max_jobs" (make's "-j" parameter) are you using? 16 BTW if you use 'buildworld-jobs' jobs.mk will default to -j 1.33C (1.33 * ncpu) and also save the output to ../buildworld.log this is inter

Re: speedup build time

2024-10-29 Thread Olivier Cochard-Labbé
On Wed, Oct 30, 2024 at 12:21 AM void wrote: > > this is interesting > > How do you use 'buildworld-jobs' ? > make buildworld buildworld-jobs? > make buildworld-jobs buildworld? > > make buildworld-jobs buildkernel-jobs

Re: speedup build time

2024-10-29 Thread Simon J. Gerraty
Maku Bex wrote: > * What (if any) "max_jobs" (make's "-j" parameter) are you using? 16 BTW if you use 'buildworld-jobs' jobs.mk will default to -j 1.33C (1.33 * ncpu) and also save the output to ../buildworld.log 1.5C also works pretty well for me (the C isn't strictly needed so long as arg to

Re: speedup build time

2024-10-28 Thread Cy Schubert
In message , David Wolfskill writes: > > --ySbbNwu/7EFCexY0 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Sun, Oct 27, 2024 at 07:00:17PM -0500, Maku Bex wrote: > > ... > > I'm trying to figure out a way to decrease

Re: speedup build time

2024-10-28 Thread Dimitry Andric
pFk19q22ZcZquJcEZlPM >> fxIFK4EEACMEIwQANy4VvpnTHneZipCPwzVJnMN82coCudRAiL2i2m3GPA06lRtU >> njcn9r9Sm26A0sajwc3kQw/ekWrHXpXV0aL076cAUW9GKYDljIHVlr76wgHbLt6q >> BX5VkA6xS0cq3skbMEI0QpIqIK81Yf0z8wfyF5uqAgNPUpY4nHMV9S856JB2VDQD >> AQoJiMEEGBMKACYWIQQ3JS+7ltBUFczTX17xqdt536xDxgUC

Re: speedup build time

2024-10-28 Thread Nuno Teixeira
ZipCPwzVJnMN82coCudRAiL2i2m3GPA06lRtU >> njcn9r9Sm26A0sajwc3kQw/ekWrHXpXV0aL076cAUW9GKYDljIHVlr76wgHbLt6q >> BX5VkA6xS0cq3skbMEI0QpIqIK81Yf0z8wfyF5uqAgNPUpY4nHMV9S856JB2VDQD >> AQoJiMEEGBMKACYWIQQ3JS+7ltBUFczTX17xqdt536xDxgUCZlPMfwIbDAUJAedp >> EQAKCRDxqdt536xDxjIuAgjacZCttPWpKGf

RE: speedup build time

2024-10-28 Thread Alexander Leidinger
XCLOCK GNOME KDE EXAMPLES \ DEBUG ASPELL NLS DOCS --- src-env.conf: WITH_META_MODE=yes WITH_CCACHE_BUILD=yes #WITH_DIRDEPS_BUILD=yes < Sent: Sunday, October 27, 2024 19:50 To: Maku Bex Cc: freebsd-current@freebsd.org Subject: Re: speedup build time On Sun, Oct 27, 2024 at 0

RE: speedup build time

2024-10-27 Thread Mark Millard
Maku Bex wrote on Date: Mon, 28 Oct 2024 00:00:17 UTC : > I'm trying to figure out a way to decrease build time of -CURRENT and/or > -STABLE but it is not working out that well. > > I've tried the following: > > * Tuning /etc/make.conf and /etc/src-env.conf based on their manpages > (make.conf

Re: speedup build time

2024-10-27 Thread void
On Mon, Oct 28, 2024 at 02:23:06AM +, void wrote: make -j16 buildworld make -j16 kernel should read 'make -j16 buildworld && make -j16 kernel' --

Re: speedup build time

2024-10-27 Thread void
On Sun, Oct 27, 2024 at 07:00:17PM -0500, Maku Bex wrote: Hello, I'm trying to figure out a way to decrease build time of -CURRENT and/or -STABLE but it is not working out that well. * Tuning /etc/make.conf and /etc/src-env.conf based on their manpages (make.conf(5), make(1), src.conf(5))

Re: speedup build time

2024-10-27 Thread David Wolfskill
On Sun, Oct 27, 2024 at 08:47:55PM -0500, Maku Bex wrote: > Hi David, > > * What (if any) "max_jobs" (make's "-j" parameter) are you using? 16 > > * For a 16T system, I expect I would start with a value of around 28. > Shouldn't this number be equal to $(nproc --all)? Not necessarily. You migh

RE: speedup build time

2024-10-27 Thread Maku Bex
XCONSOLE XCLOCK GNOME KDE EXAMPLES \ DEBUG ASPELL NLS DOCS --- src-env.conf: WITH_META_MODE=yes WITH_CCACHE_BUILD=yes #WITH_DIRDEPS_BUILD=yes < Sent: Sunday, October 27, 2024 19:50 To: Maku Bex Cc: freeb

Re: speedup build time

2024-10-27 Thread David Wolfskill
On Sun, Oct 27, 2024 at 07:00:17PM -0500, Maku Bex wrote: > ... > I'm trying to figure out a way to decrease build time of -CURRENT and/or > -STABLE but it is not working out that well. > I've tried the following: > * Tuning /etc/make.conf and /etc/src-env.conf based on their manpages > (make.