From owner-freebsd-arm@freebsd.org Wed Mar 24 21:44:31 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 37BAB578868 for ; Wed, 24 Mar 2021 21:44:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-55.consmr.mail.gq1.yahoo.com (sonic308-55.consmr.mail.gq1.yahoo.com [98.137.68.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5MFp2Pt4z3HNN for ; Wed, 24 Mar 2021 21:44:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616622268; bh=/zx4qEJ6A2+7mmoo4Z61p91YB5mkMzQChcPhivkXp8K=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=oPt5hO3G97fUIahvAwedZQ3YZ6zSrjN/LomuJHI0AO73bMDtaxYOvseZdOHHnlK9Gfo0cXap6nLhXry12QPTBVT78TwpAUU2k+BRpf/upk9hmJa9aXpiJy9FZ6UIDRRZROAFDdAxI+1nhhu/pC+Y6CT5HvQw+aiY4VP1nNIxyFoke1om5GFezhfjnY26tkVbJgVw7+jJeJ9kqVQscuNI2FWsPk7pQ/u259f48REgTjg+dDjZQ6vc0N34uEL4cxm59o3aAFJCVewVfdKjWRrwz1UEPW3g8cJkpHh0wb4Kqqq46oW6TzI4k3TK+SRVDKGsXM11ShQ2qXMOoZw1cFhYjA== X-YMail-OSG: JwTMQrUVM1maMq7NfNudrUToMmcuvItskAxvSwjGMAt3SF_MRn9E5_flJNVJxp8 4HeDK_FWwPcikbRZ.1IPcb1mXCXqiBRpM0XjjliwnHrI5TKRlUfGrkZzcAb9TrY7QlrdJ.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q TqrhR1bqKFVORfrB4yuHhVxWQmOlL.HiEgi79GZOWrHKT23Gq5xiuFoHb5tQ9I.uY6fEZozFPQgh utNVxS7fNLqi3O8H5UpsDj1KPD53WsCxGmPF0YZ9cyZ1b54x7ID01k0_PFgkpdqVRWAOTV21DRjO hM__iA45CZqCgoXbBLKBij.6tPZBn_Ibe3MIbZnWT_KZNecuikQSzfEu2XN.9mydYi_EhY6tteNG 0ENmlUG_NQBXGBu43R196kPto3Qx8w1g5YHLaxxlKdj6FmsiEKkiOTRSLVure.hFfHMNLgKWplfM afo0lF3GECfAKDw.1RJtxm0HRZLqDT.SFcVXfXPOh7welDZ7wBWUozVj3mgJl5U.QigvwnefOKLo fysle9hNg X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Wed, 24 Mar 2021 21:44:28 +0000 Received: by smtp409.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c1bdbc5ad92a60a7410bbc312e303f75; Wed, 24 Mar 2021 21:44:25 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi and powerd, was: Re: RPI4 clock speeds and serial port ( temperatures idle and -j4 buildworld buildkernel ) From: Mark Millard In-Reply-To: Date: Wed, 24 Mar 2021 14:44:23 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <81CB0CCA-59AC-49A2-9372-4E2C22E3214D@googlemail.com> <20210320155638.GA41617@www.zefox.net> <63E61033-667C-4A08-9012-7D987B652176@yahoo.com> <20210320182821.GA49050@www.zefox.net> <5BF4DC26-8CCC-48E8-802F-34C42084D47F@yahoo.com> <20210321181339.GA56351@www.zefox.net> <01787975-3D1A-4D28-8F0F-957D6842D487@googlemail.com> <59B618B3-7AC9-41DF-9807-173DE34B0F8D@yahoo.com> To: tech-lists X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F5MFp2Pt4z3HNN X-Spamd-Bar: - X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.31:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[98.137.68.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2021 21:44:31 -0000 On 2021-Mar-24, at 07:34, tech-lists wrote: > On Tue, Mar 23, 2021 at 12:57:03PM -0700, Mark Millard wrote: >=20 >>=20 >> Had a -mcpu=3Dcortext-a72 world and kernel been >> installed and booted first?=20 >=20 > yes. >=20 >> This does not show ccache being cleared out >> before the below. So the times may be examples >> of "with ccache benefit" times. The contrast >> with mine and Bob P.'s times suggests a >> nice time-benefit can occur. >=20 > On this occasion I can't remember for sure if ccache was cleared out. = I don't think so. I've sent time-to-build figures for a from-scratch build in a configuration somewhat similar to yours other than devel/ccache not being involved and the specific WITH and WITHOUT combination used. I included both "my way" and "your way" figures. I'll not repeat it all here. At somewhat under 15 hrs 35 min for my experiment with "your way" (but without devel/ccache), being over 6.5 hrs longer than my normal build configuration, your "with devel/cache" results taking far less time likely is mostly attributable to your use of devel/cache and the particular history that lead to the particular cache contents that were present when your started your build. (Of course, my test is not the same as having devel/ccache and an empty cache. And I built my configuration that eliminates about 30 minutes from the llvm/clang part of the build but has other things that you eliminate.) Based on the timings and configuration details, your ccache was almost certainly not cleared. And that has allowed this comparison/contrast with not having devel/cache involved. > The numbered list was to show (for me as well) exactly > what was done and the order it was done in. Yep. Thanks. Caching leads to prior history being involved via the cache contents that were left behind. It makes for repeatable testing being messier to set up (other than the empty-cache case). But when the contrasts are large enough, things can still be significantly suggestive. > I'll rm -rf /usr/obj/* and /var/cache/ccache/* if upgrading between > major versions, or if it's not building and need to narrow down why. = But > usually leave these dirs intact because (and especially with the = ccache > dir) emptying them negates potential speed benefit. Yep: and it looks like the time taken can be a lot less with the devel/ccache use. If you at some point start from a empty ccache and empty /usr/obj/ for some reason, you may want to collect and report the build times and the configuration it was for. That would be useful for comparisons with non-empty cache cases. > make cleanworld &c > *should* remove all the obj cruft in /usr/obj. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)