From owner-freebsd-arm@freebsd.org Sun Jul 21 00:51:50 2019 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 CE4CAA49F3 for ; Sun, 21 Jul 2019 00:51:50 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 715BF953A1 for ; Sun, 21 Jul 2019 00:51:50 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x6L0pa6Y018682 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 20 Jul 2019 17:51:37 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x6L0paNZ018681; Sat, 20 Jul 2019 17:51:36 -0700 (PDT) (envelope-from fbsd) Date: Sat, 20 Jul 2019 17:51:35 -0700 From: bob prohaska To: Jamie Landeg-Jones , freebsd-arm@freebsd.org Subject: Re: Lethargic rpi3, but seemingly still running Message-ID: <20190721005135.GA18642@www.zefox.net> References: <20190718034838.GA1921@www.zefox.net> <201907180958.x6I9wBF8075274@donotpassgo.dyslexicfish.net> <20190718151858.GB4325@www.zefox.net> <20190718182050.GL2342@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718182050.GL2342@funkthat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 715BF953A1 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.76 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.09)[ip: (0.36), ipnet: 50.1.16.0/20(0.18), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.46)[0.464,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.12)[0.116,0]; MX_GOOD(-0.01)[cached: www.zefox.net]; NEURAL_SPAM_LONG(0.20)[0.201,0]; R_SPF_NA(0.00)[]; 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]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2019 00:51:50 -0000 On Thu, Jul 18, 2019 at 11:20:51AM -0700, John-Mark Gurney wrote: > bob prohaska wrote this message on Thu, Jul 18, 2019 at 08:18 -0700: > > On Thu, Jul 18, 2019 at 10:58:11AM +0100, Jamie Landeg-Jones wrote: > > > bob prohaska wrote: > > > > > > > Every once in a while bsdtar will use a fraction of a percent of cpu, but > > > > that seems to be all that's happening. The timestamp updates every other > > > > second, typing echoes as expected but something like pwd takes twenty > > > > seconds to answer. The controlling terminal for portmaster-devel has been > > > > sitting at > > > > > > What's your I/O like? > > > > > > systat -v 1 > > > > > > > The machine got past the bottleneck and is running normally now, but > > I'll try it the next time the machine bogs down. Does systat use a > > different measurement method than top? > > top doesn't like block device io... iostat or systat -v 1 will do that. > Here's a snippet of systat -v 1 output while un-tarring firefox files. %busy was close to zero, it looks like there's congestion or a deadlock writing to the microSD card. At the time things like cd and ls were very slow to respond (tens of seconds) 28 pdpgs cpu2:ast Disks mmcsd da0 pass0 intrn cpu3:ast KB/t 12.00 0.00 0.00 152904 wire 9 cpu0:preem tps 5 0 0 80072 act 51 cpu1:preem MB/s 0.06 0.00 0.00 671344 inact 80 cpu2:preem %busy 213 0 0 120 21104 27 cpu3:preem Thanks for reading, bob prohaska