Date: Fri, 15 Aug 2025 15:46:18 -0600 From: Warner Losh <imp@bsdimp.com> To: David Cross <david@crossfamilyweb.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: 15.0 LONG buildworld time Message-ID: <CANCZdfo6nd0rZ9ps2SUsni8AVMn2QdECQ6W7Vqk3hwUFktP%2BVw@mail.gmail.com> In-Reply-To: <9ced04b0-ad34-4542-968c-625fa694a916@crossfamilyweb.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, Aug 15, 2025 at 3:38 PM David Cross <david@crossfamilyweb.com> wrote: > I just upgraded one of my machines to 15.0 for testing some USB related > work (see other thread), and one thing I noticed was that AFTER > upgrading to 15.0 build times *doubled*. This is unusual since the > *first* build is typically the longest since it has to build the new > toolchain before compiling, and after that it just uses the system build > chain. > > > In my case the build time (single threaded) was 38,000 seconds on 14.2, > however after rebooting and doing a second build it shot to 76,000 > seconds (about) -- I had rebuilt a second time since I thought the > existence of a 14.2 library for SSL at build time contaminated the > build, it didn't, but an error I got at startup from unbound made me > think it did. > > > It seems the GENERIC kernel in the 15.0 branch has some extra debugging > and validation, but builds shouldn't be primarily kernel limited should > they? Build options are mostly stock, I add -O2, and REPTOLINE options, > and set CPU type to my native (raptorlake). Nothing else of note, and > certainly have never had any other issues. > We default to CLEAN builds at the moment. That's almost certainly it, right? Or is this a clean build to clean build comparison? Warner [-- Attachment #2 --] <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Aug 15, 2025 at 3:38 PM David Cross <<a href="mailto:david@crossfamilyweb.com">david@crossfamilyweb.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I just upgraded one of my machines to 15.0 for testing some USB related <br> work (see other thread), and one thing I noticed was that AFTER <br> upgrading to 15.0 build times *doubled*. This is unusual since the <br> *first* build is typically the longest since it has to build the new <br> toolchain before compiling, and after that it just uses the system build <br> chain.<br> <br> <br> In my case the build time (single threaded) was 38,000 seconds on 14.2, <br> however after rebooting and doing a second build it shot to 76,000 <br> seconds (about) -- I had rebuilt a second time since I thought the <br> existence of a 14.2 library for SSL at build time contaminated the <br> build, it didn't, but an error I got at startup from unbound made me <br> think it did.<br> <br> <br> It seems the GENERIC kernel in the 15.0 branch has some extra debugging <br> and validation, but builds shouldn't be primarily kernel limited should <br> they? Build options are mostly stock, I add -O2, and REPTOLINE options, <br> and set CPU type to my native (raptorlake). Nothing else of note, and <br> certainly have never had any other issues.<br></blockquote><div><br></div><div>We default to CLEAN builds at the moment. That's almost certainly it, right?</div><div><br></div><div>Or is this a clean build to clean build comparison?</div><div><br></div><div>Warner </div></div></div>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfo6nd0rZ9ps2SUsni8AVMn2QdECQ6W7Vqk3hwUFktP%2BVw>
