From nobody Sat Sep 11 19:34:40 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 3E39317A890C for ; Sat, 11 Sep 2021 19:34:50 +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 4H6NHF174sz4g0D for ; Sat, 11 Sep 2021 19:34:48 +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 18BJYeWl066045 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 11 Sep 2021 12:34:41 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 18BJYe8Q066044; Sat, 11 Sep 2021 12:34:40 -0700 (PDT) (envelope-from fbsd) Date: Sat, 11 Sep 2021 12:34:40 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Cc: bob prohaska Subject: Python2.7 seemingly stuck on RPI3 Message-ID: <20210911193440.GA65782@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 X-Rspamd-Queue-Id: 4H6NHF174sz4g0D 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.88 / 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_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.98)[0.978]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; 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 A present attempt to compile www/chromium on a Pi3 using a single make job has gotten stuck in a curious way: Python2.7 appears to be stuck, or nearly stuck, reading swap. The machine isn't out of swap, in fact swap isn't even very busy, around 85% for the hard disk partition and 15% for the microSD partition. Queue lengths are small and kBps close to 1000 for both. Here's a sample of disk activity: procs memory page disks faults cpu r b w avm fre flt re pi po fr sr mm0 da0 in sy cs us sy id 0 0 13 2560404 57968 2546 103 83 35 2505 6020 0 0 20952 862 6525 19 4 78 dT: 10.009s w: 10.000s L(q) ops/s r/s kBps ms/r w/s kBps ms/w d/s kBps ms/d %busy Name 0 147 147 944 0.9 0 0 0.0 0 0 0.0 13.6 mmcsd0 0 147 147 944 0.9 0 0 0.0 0 0 0.0 13.8 mmcsd0s2 1 144 141 878 6.6 2 76 31.8 0 0 0.0 85.9 da0 0 147 147 944 0.9 0 0 0.0 0 0 0.0 13.8 mmcsd0s2b 1 143 141 878 6.6 2 76 31.8 0 0 0.0 86.0 da0s2 0 2 0 0 0.0 2 76 31.8 0 0 0.0 0.6 da0s2a 1 141 141 878 6.6 0 0 0.0 0 0 0.0 86.0 da0s2b Sat Sep 11 12:01:49 PDT 2021 Device 1K-blocks Used Avail Capacity /dev/da0s2b 1843200 882800 960400 48% /dev/mmcsd0s2b 1843200 880600 962600 48% Total 3686400 1763400 1923000 48% Here's a sample of top output last pid: 41683; load averages: 0.04, 0.13, 0.15 up 15+17:47:00 12:02:29 48 processes: 1 running, 47 sleeping CPU: 0.1% user, 0.0% nice, 0.7% system, 0.7% interrupt, 98.5% idle Mem: 429M Active, 23M Inact, 182M Laundry, 222M Wired, 87M Buf, 44M Free Swap: 3600M Total, 1711M Used, 1889M Free, 47% Inuse, 3784K In PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 24726 root 1 20 0 1566M 627M swread 1 7:36 1.83% python2.7 1074 bob 1 20 0 14M 1100K CPU0 0 39:03 0.14% top 881 root 1 20 0 12M 268K select 0 6:49 0.02% powerd 1069 bob 1 20 0 20M 684K select 0 3:28 0.02% sshd 942 root 1 20 0 20M 644K select 3 3:18 0.00% sshd 24504 root 1 41 0 370M 356K select 2 1:17 0.00% ninja 945 root 1 20 0 17M 972K select 2 1:04 0.00% sendmail 827 root 1 20 0 13M 616K select 2 1:03 0.00% syslogd Admittedly, 1700M of swap is a lot in use, but in the past the machine was able to work through much higher swap usage. Now it seems well and truly stuck, though still reasonably responisve to keyboard input. It's unclear to me if this is my error or something else. Thanks for reading, any thoughts appreciated. bob prohaska