From nobody Tue Oct 12 18:33:50 2021 X-Original-To: freebsd-arm@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 897331804DD5 for ; Tue, 12 Oct 2021 18:33:57 +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 4HTPSh3wSjz3sKT for ; Tue, 12 Oct 2021 18:33:56 +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 19CIXpec002592 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 12 Oct 2021 11:33:51 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 19CIXpCW002591 for freebsd-arm@freebsd.org; Tue, 12 Oct 2021 11:33:51 -0700 (PDT) (envelope-from fbsd) Date: Tue, 12 Oct 2021 11:33:50 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Re: Oddities on Pi4 under -current Message-ID: <20211012183350.GA2046@www.zefox.net> References: <20211011163211.GA98507@www.zefox.net> <20211012005641.GA99640@www.zefox.net> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4HTPSh3wSjz3sKT 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 [1.37 / 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)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[zefox.net]; NEURAL_HAM_SHORT(-0.12)[-0.120]; NEURAL_SPAM_LONG(0.53)[0.531]; NEURAL_HAM_MEDIUM(-0.94)[-0.943]; R_SPF_NA(0.00)[no SPF record]; 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]; MID_RHS_WWW(0.50)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, Oct 12, 2021 at 04:08:31PM +0100, tech-lists wrote: > > On Mon, Oct 11, 2021 at 05:56:41PM -0700, bob prohaska wrote: > > A power conservation feature seems a likely culprit, if one has been > > newly added or turned on. > > > > The delayed response appeared after a world/kernel update, I think about > > two weeks ago. I didn't make any manual config changes. Dropped ssh sessions > > have been a problem for a while now, but this seems noticeably worse. > > ** this rpi4 has aluminium case heatsink and recommended-by-rpi PSU. Mine has a plastic case with a ~1" fan, no heatsinks installed, and a Canakit power supply. > > My rpi4/8GB has the following in /etc/rc.conf > [...] > powerd_enable="YES" Same here. > powerd_flags="-r 1" No flags for powerd > [...] > > means it'd only shift down if use was 0.00 IIUC. So in practice it never > shifts down. > > in /boot/msdos/config.txt : > [...] > over_voltage=8 > arm_freq=2147 > sdram_freq_min=3200 No such changes > [...] > > results in: > [...] > % sysctl dev.cpu.0 > dev.cpu.0.temperature: 72.0C > dev.cpu.0.freq_levels: 2100/-1 600/-1 > dev.cpu.0.freq: 2100 I get bob@nemesis:~ % sysctl dev.cpu.0 dev.cpu.0.temperature: 43.1C dev.cpu.0.freq_levels: 1500/-1 600/-1 dev.cpu.0.freq: 1500 > > at the time of writing: > % uptime > 4:01p.m. up 16 days, 3:10, 5 users, load averages: 4.49, 6.47, 4.68 > > because it's running a poudriere build. > Mine just started a poudriere build of www/firefox. It'll heat up some, but probably stay below 60 C. Uptime hasn't been a problem. > ssh never times out. It's running stable/13-n245223-af8d48ac4b8 built > 15th Sept. I'm dealing with -current built October 10th. Most ssh connections to the machine remain connected just fine. It's just those communicating with the usb-serial adapter that tend to break off. Thanks for writing, bob prohaska