From owner-freebsd-arm@freebsd.org Sat Mar 20 15:56:33 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 864405ACEFD for ; Sat, 20 Mar 2021 15:56:33 +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 4F2lk81vlgz4grD for ; Sat, 20 Mar 2021 15:56:31 +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 12KFucWq048468 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 20 Mar 2021 08:56:39 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 12KFucqg048467; Sat, 20 Mar 2021 08:56:38 -0700 (PDT) (envelope-from fbsd) Date: Sat, 20 Mar 2021 08:56:38 -0700 From: bob prohaska To: Klaus K??chemann Cc: freebsd-arm@freebsd.org, Mark Millard , bob prohaska Subject: Re: RPI4 clock speeds and serial port ( temperatures idle and -j4 buildworld buildkernel ) Message-ID: <20210320155638.GA41617@www.zefox.net> References: <9FFA0A51-C0B7-4121-95CA-B98669809007@yahoo.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <81CB0CCA-59AC-49A2-9372-4E2C22E3214D@googlemail.com> X-Rspamd-Queue-Id: 4F2lk81vlgz4grD 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.29 / 15.00]; FREEMAIL_CC(0.00)[freebsd.org,yahoo.com,www.zefox.net]; TO_DN_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.19)[-0.186]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[50.1.20.27:from]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[50.1.20.27:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_DKIM_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_WWW(0.50)[]; 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: Sat, 20 Mar 2021 15:56:33 -0000 On Sat, Mar 20, 2021 at 03:44:06AM +0100, Klaus K??chemann wrote: > > as Mark said, powerd isn???t enabled by default in releases , so the freq is @600 by default. At the time I'm thinking about it would have been -current, most likely. I knew of powerd's existence, but never thought to use it until you bought the idea up. > So 17 hours @4x600 . > with powerd enabled you should have automatically exactly 4x1500 during the complete compilation time. 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. 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. > 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) Thanks for mentioning powerd, it never crossed my mind. bob prohaska