From owner-freebsd-ports@freebsd.org Tue Dec 18 17:49:26 2018 Return-Path: Delivered-To: freebsd-ports@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 D46811338DE4; Tue, 18 Dec 2018 17:49:26 +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 37A0277C06; Tue, 18 Dec 2018 17:49:26 +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 wBIHn35D041153 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 18 Dec 2018 09:49:04 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id wBIHn3qu041152; Tue, 18 Dec 2018 09:49:03 -0800 (PST) (envelope-from fbsd) Date: Tue, 18 Dec 2018 09:49:03 -0800 From: bob prohaska To: Jan Beich Cc: freebsd-arm@freebsd.org, Christoph Moench-Tegeder , freebsd-ports@freebsd.org Subject: Re: How much memory to compile www/chromium? Message-ID: <20181218174903.GA41072@www.zefox.net> References: <20181212165313.GA84881@www.zefox.net> <20181212184149.ol44fon2unowu35q@squirrel.exwg.net> <20181212192115.GA85583@www.zefox.net> <20181212202504.4n3mhtx7grbeh6j7@squirrel.exwg.net> <20181214012733.GA92808@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 37A0277C06 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.04 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.56)[0.555,0]; NEURAL_HAM_LONG(-0.15)[-0.146,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.59)[0.588,0]; MX_GOOD(-0.01)[cached: www.zefox.net]; IP_SCORE(0.15)[ip: (0.57), ipnet: 50.1.16.0/20(0.28), asn: 7065(-0.01), country: US(-0.08)]; 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-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 17:49:27 -0000 On Fri, Dec 14, 2018 at 05:59:21AM +0100, Jan Beich wrote: > > MAKE_JOBS_NUMBER_LIMIT is a user variable, so you can either set in > make.conf or Makefile.local e.g., > > $ cat <<\. >>${__MAKE_CONF:-/etc/make.conf} > .if ${.CURDIR:M*/www/chromium} > MAKE_JOBS_NUMBER_LIMIT=2 > .endif Setting MAKE_JOBS_NUMBER_LIMIT=2 allowed www/chromium to compile successfully over several days. The -DBATCH option was used, in hopes it'd fetch the right options. Swap usage fluctuated over the course of the build, from a minimum of around 230MB to over one GB at several points. Past about 500MB the CPU usage dropped, evidently from I/O limitations to the microSD based swap partition, which was far too big at 4GB. One curiousity was a gradual increase in minimum swap usage, from about 230 MB initially to about 280 MB a couple days later. This wasn't a highly systematic observation, just me looking at a top window from time to time. When the build finished swap use dropped back to ~20MB, which is the normal idle state. The resulting executable turned up in /usr/local/bin/chrome, which was slightly surprising; the port's name is chromium, after all.... It seems to run, but is too slow to play Youtube videos smoothly. For static pages it seems fine. The major problem is a complete lack of audio. I'm using an HDMI to DVI cable and plugging the audio system into the Pi3's headphone jack. Is there some trick to getting the headphone jack to work? Thanks for reading, and everyone's help getting chromium to work on the Pi3. bob prohaska