From owner-freebsd-arm@freebsd.org Sat Mar 20 18:28:21 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 95EED5B1599 for ; Sat, 20 Mar 2021 18:28:21 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F2q5J3CdTz4qwl for ; Sat, 20 Mar 2021 18:28:20 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 12KISMgK049161 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 20 Mar 2021 11:28:22 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 12KISLSN049160; Sat, 20 Mar 2021 11:28:21 -0700 (PDT) (envelope-from fbsd) Date: Sat, 20 Mar 2021 11:28:21 -0700 From: bob prohaska To: Mark Millard Cc: freebsd-arm , bob prohaska Subject: Re: RPI4 clock speeds and serial port ( temperatures idle and -j4 buildworld buildkernel ) Message-ID: <20210320182821.GA49050@www.zefox.net> References: <81AC0353-258C-41C3-86B1-C133E33D97E3@yahoo.com> <20210319174359.GA38899@www.zefox.net> <20210319195019.GA39087@www.zefox.net> <20210320005302.GA40542@www.zefox.net> <81CB0CCA-59AC-49A2-9372-4E2C22E3214D@googlemail.com> <20210320155638.GA41617@www.zefox.net> <63E61033-667C-4A08-9012-7D987B652176@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <63E61033-667C-4A08-9012-7D987B652176@yahoo.com> X-Rspamd-Queue-Id: 4F2q5J3CdTz4qwl X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [-0.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.70)[-0.700]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[50.1.20.27:from]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[50.1.20.27:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; MID_RHS_WWW(0.50)[] 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: Sat, 20 Mar 2021 18:28:21 -0000 On Sat, Mar 20, 2021 at 10:41:48AM -0700, Mark Millard wrote: > On 2021-Mar-20, at 08:56, bob prohaska wrote: > > > The most recent test on the 8GB Pi4 finished in 9 hours. That was after > > running make cleandir twice, but having the installed system and the > > sources relatively close (days) in age, on -current. > > So a debug kernel was running? (Non-debug running for my builds.) Yes. > > Did it include a buildkernel? Or just a buildworld? > Just buildworld in 9 hours. > At around 9 hours, it would take standardizing on a (equivalent > of) src.conf too be able to well compare your context vs. mine > now, if we ever want to do so. I'll list my file later below > for reference, although I'm probably more likely to try your > src.conf content in my overclocked context than you are > likely to try building via my src.conf like content in your > powerd context. > No /etc/src.conf for this test, nor /etc/make.conf. > Welcome to the world of overnight (sleep-time) buildworld on a > small board computer. > It's a most welcome change! > > That's with powerd > > enabled, but no other speedup tweaks. Temps were just under 60 C, with > > a fan in the case but no heatsinks on the ICs. > > Ambient temperature? (It is the difference that indicates how > well your cooling is working and it is the difference that > is more comparable across contexts. For example, my around > 15.5C ambient likely was likely around 10C lower than for > many reported figures.) > Ambient was around 15-17 C at the times of observation. > >> sysctl dev.cpu.0.freq will definitely show the current freq. > > > > On a Pi3 with GENERIC-MMCCAM kernel (also running buildworld) it reports > > bob@www:/usr/freebsd-src % sysctl dev.cpu.0.freq > > dev.cpu.0.freq: 1200 > > also with no other speedup efforts beyond powerd. That machine has heastinks > > on the ICs but only a fan blowing in through the openings in the plastic case. > > It's around 60C. > > > > So far the effects of powerd seems to be uniformly good, with > > no downsides. Next, to try a Pi2 v1.1 (armv7) > > The Pi2 V1.1 is now running buildworld with powerd enabled. Heatsinks on the ICs, but no fan at all, < 50 C (17C ambient) with 0% idle, 900 MHz, serial console seems to work fine. > > FYI (not that you are likely to build and run such: > [snipped for brevity] Alas, you are right. It's already difficult to keep the experiments straight in my head......too many variations. But, unless something most unexpected goes wrong, it seems that powerd is useful on the Pi series computers. Thanks for writing! bob prohaska