From owner-freebsd-arm@freebsd.org Wed Dec 12 16:53:34 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9F481315500; Wed, 12 Dec 2018 16:53:34 +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 1E3F16DF1F; Wed, 12 Dec 2018 16:53:34 +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 wBCGrEVL084988 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 12 Dec 2018 08:53:15 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id wBCGrDUM084987; Wed, 12 Dec 2018 08:53:13 -0800 (PST) (envelope-from fbsd) Date: Wed, 12 Dec 2018 08:53:13 -0800 From: bob prohaska To: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Subject: How much memory to compile www/chromium? Message-ID: <20181212165313.GA84881@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 1E3F16DF1F X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.43 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.04)[ip: (0.23), ipnet: 50.1.16.0/20(0.11), asn: 7065(-0.07), country: US(-0.09)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[zefox.net]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.51)[0.507,0]; MX_GOOD(-0.01)[cached: www.zefox.net]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; 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: Wed, 12 Dec 2018 16:53:34 -0000 How much memory should be required for make -DBATCH in www/chromium? Make issues warnings about disk space required, but I don't recall seeing anything about RAM or swap. The system in question is an RPI3 running r341643. Make reached part [18416/30819], at which point it seems to have stalled. The machine is still (sluggishly) responsive, gstat is reporting dT: 10.050s w: 10.000s L(q) ops/s r/s kBps ms/r w/s kBps ms/w d/s kBps ms/d %busy Name 8 588 149 708 25.7 439 2056 7.7 0 0 0.0 100.0 mmcsd0 8 588 149 708 25.7 439 2056 7.8 0 0 0.0 100.0 mmcsd0s2 8 588 149 708 25.7 439 2056 7.8 0 0 0.0 100.0 mmcsd0s2b That it got stuck on reading, rather than writing, is a little surprising. Swapinfo reports Device 1K-blocks Used Avail Capacity /dev/mmcsd0s2b 4404252 2705928 1698324 61% If this is expected, is there a way to reduce the number of threads started by make? It's using four now, all in state SWREAD showing WCPU of zero to a few percent. Top is reporting mostly idle, with system and interrupt at less than 10%. There are swap_pager_getswapspace(32): failed messages on the console, so it really is out of memory. Thanks for reading! bob prohaska