From nobody Mon Oct 28 06:56:52 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XcPMW0Gsyz5Zkwm for ; Mon, 28 Oct 2024 06:57:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XcPMT5BVyz4pCp for ; Mon, 28 Oct 2024 06:57:09 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=OX4oED8A; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1730098627; bh=aWNwZ3v0KFC0BlA4zkqGH616T5Q5qwqHX7P7zrSX1dQ=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=OX4oED8AveJQ415BQe2j2XQDkCVydXahw0jzaMAN8/mmVHVG8gdcbu7DN1s7bj6KqtcP7cemWahkLNFoH+0NdZxP7jzDy2h7eWAUxBxLY5/ZfME0R1gyLisppakAC5941qpjwhNthqPMasrfWPjgxPk6Nj22TJ5o+7GbH43/RfPxJ8BSYhJcETiV3bxZgIjzdF80+6+rY7MGGL7R059LjxQmIlepz33NLk2bRzrhQcH+qE4kJHTXaYxI7ALnAxfcF9P9B16bxqVLK66zu4dZUqSVBLQPQFQ0HdPcRaLm3MhgP6QLrihv1osfjLBan5tO18/z9Dkzl5T02/V4W8hCWg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1730098627; bh=6zbF6zJodVbrsUGQm/u8szkZ57zbUUg5NQGy1jhsRF6=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=K7Omw0trDEWJFUJ/EIYjjdCqsCuywGSTDQUmwbzwPT82zOxq6mCtL4hopjRTlpfrWcOI+bJB6KYummHRVsQgJGorb3hQMyflQcv3L/AC61+D3PVO6j7b8DBbnNCSdznjEq6XUT06FdZbw88He41wT5/kpxwaO4Qd03dRWDtbeKCDP+GrSQ1lEnFKQUmphUUDft77D+2jSHPKyn5kVXz27/4KxcyeorEKiaP5dWgxBBPp90WG9ig81ogflU9v+l7sPBW3SDuenQp4Ko10OuceCEKQ5S/m6SXQTebfOjbBWgrJfF/F6q/kv9P8gAjxVoYeOFZFt5+qzX0qE+e1zKpeKA== X-YMail-OSG: eRu1KMsVM1lsJy2HCUsi8ampzh1wE6py4EBtWYlieuui0UDKDxIVyV7Tlgx8v12 nWIs0iEBZ3jxGuiCu.36fze6elqtYu0Pz9HZcGxkdOcUhjaGl2Ca01vMX2cnRt4aa5BoGU7E1hUX Yz88muJPq3QY9HhqL4i7EYmM5vn7oboa_k6ljyFio38Rwi0k5qO83JDg3uE6mrllC2FvUbzw6HBj Y765GmbB1YiGUBh761aMi.1iA4BcFgDChGl5xI4hI9fzm6KdvlaarX4tWoh6_sadUSdzOZJgoZyV TSgTSipHitXZM6ir.ikQbP5Ciwe718ce1yWb4oI18csNWoCqV4OCNLAmXdbNKAh3da7Usatpeu0E IilqjVc7G06rmXT.w0sFeyKCmOGxdy5beAWrh3eMXbR3qHNSAnmKai6He3rjQQ8flHp7.tJC7sQQ sMcWaaaaWtShrc7U09dS0hWiquxZKnR2wx.wHjrRgAf7yBvlGggfXpiwHWtwgcgHxXAf3e9m.P8K LKU5Ny1gkSWMJoMorbmLEbxxqB2WFJiJGHymyGOld3a.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vNx6fue3K6YvYjai uBy0Kn_PKeqHDj15HEzOH1b0rmnY1gnmWys0BBYWq367Ws0_HXJuE9jLipLt2etHClEZlbgre.Zm uY.5ggLlT85KRUo01d4OjHuOqKZDfPYInH4FdfA6xwzjpO7MGg99z2y1crkaHsFQOV_WC2SUlpJT 5X1kNvY547aNLanN6W_qNeIe0U.ana4tmkHDZo_T3Za8X6mz2n_F9rlP0vJAz3bVsTKaDQ0QpNPS onA3TMjO6L99wchcEb8wCwFpvYyFAySTVB7OG3ui_Pym_wuOW72211HnwvnYSg04BvRnNuf4yGxR TcMFt73ajpcGzF95hyS7xEg_6MLCUhUoovMcf2v2CyiT0zdSjBaBVfXXw_Tw6BFxlzeEs0LzzHSe SU.FukM9YT70xOkMYZx7LGPOWdFb7RfrK4bygxoi.Y2s1BV1_ScCgSWM9zIfYlzEmybGFtuO.CTe PyNLHq0p.ig1YmPt6ufUJ7Ml900ai7_Uts139cIeP.6L1avuPF.qtlQ0IWvLBFpSiHteMmrLxFIF ufkUI5ObEeOSG.TmTgfXR5fJkFCnY13zUWUMgHIz813ebqJUgGluDUzvBcfHQsz5sNm.JuZZkFXz pj8ogEt3ON6oXNq_8hPoaV2lEWfpOPL5wYtVASZTKINhglhzE.jmWnBmr86DuOkmpc5YfUskfNjf PVRJXzQ-- X-Sonic-MF: X-Sonic-ID: a0fa74d1-2418-4f5f-a7b4-e5aa87252f74 Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Mon, 28 Oct 2024 06:57:07 +0000 Received: by hermes--production-gq1-5dd4b47f46-bxhh2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e8273b69a09208cb4cee2d86969aa1a8; Mon, 28 Oct 2024 06:57:03 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: RE: speedup build time Message-Id: Date: Sun, 27 Oct 2024 23:56:52 -0700 To: zagazaw2004@gmail.com, Current FreeBSD X-Mailer: Apple Mail (2.3776.700.51) References: X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.32:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.32:from] X-Rspamd-Queue-Id: 4XcPMT5BVyz4pCp X-Spamd-Bar: --- 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.=20 >=20 > I've tried the following: >=20 > * Tuning /etc/make.conf and /etc/src-env.conf based on their manpages > (make.conf(5), make(1), src.conf(5)). > * Removed certain options from GENERIC, which reduced the kernel build > time significantly.=20 >=20 > Hardware specs: >=20 > * I7-10700T 8C/16T @2.0GHz. > * 16GB RAM. > * 256GB NVMe. >=20 > Currently, 'make buildworld' has been running for 7hrs and counting. = Is > there anything else I can do to speed up world build? Going in a somewhat different direction than others: Is that 7hrs unusual or rare for your context? What old version is building what new version? For example, it turns out that for building main [so: 15]: building Thu, 24 Oct 2024 =E2=80=A2 git: 34951b0b9e78 - main - swap_pager: move = scan_all_shadowed, use iterators Doug Moore or later from a system based on: Wed, 23 Oct 2024 . . . =E2=80=A2 git: 6b9f7133aba4 - main - libc: Add one more check in new = fmemopen test Ed Maste or earlier is going to switch from LLVM 18 to LLVM 19 and most everything will rebuild, even for META_MODE. (LLVM 19's commits are between those 2 points in the history.) While I do not use ccache, I would expect such a jump to similarly have to rebuild most everything even if ccache is in use but starts with history from before the change to LLVM 19. Normally when LLVM rebuilds, that takes the majority of the overall time, even if most everything in FreeBSD also rebuilds. This context may be odd enough to justify distinct time-management techniques vs. when LLVM is not being upgraded or otherwise mostly rebuilt. There can be RAM+SWAP configuration tradeoffs. Overall: more context reporting and information from the likes of top might help folks formulate specific suggestions. At this point I've no clue if the above applies to your context or not. =3D=3D=3D Mark Millard marklmi at yahoo.com