From owner-freebsd-arm@freebsd.org Fri Dec 14 03:30:33 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 198B2130CFC5 for ; Fri, 14 Dec 2018 03:30:33 +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 269D688468; Fri, 14 Dec 2018 03:30:31 +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 wBE3UhFi093371 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 13 Dec 2018 19:30:44 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id wBE3Ugw0093370; Thu, 13 Dec 2018 19:30:42 -0800 (PST) (envelope-from fbsd) Date: Thu, 13 Dec 2018 19:30:42 -0800 From: bob prohaska To: Ian Lepore Cc: bob prohaska , freebsd-arm@freebsd.org Subject: Re: How much memory to compile www/chromium? Message-ID: <20181214033042.GA92948@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> <1544752785.76088.4.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1544752785.76088.4.camel@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 269D688468 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.47 / 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)[]; 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.70)[0.702,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.78)[0.778,0]; MX_GOOD(-0.01)[cached: www.zefox.net]; IP_SCORE(0.10)[ip: (0.40), ipnet: 50.1.16.0/20(0.20), asn: 7065(-0.04), country: US(-0.09)]; 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: Fri, 14 Dec 2018 03:30:33 -0000 On Thu, Dec 13, 2018 at 06:59:45PM -0700, Ian Lepore wrote: > On Thu, 2018-12-13 at 17:27 -0800, bob prohaska wrote: > > Setting MAKE_JOBS_NUMBER_LIMIT=2 seems to have the desired effect. > > Still, > > top reports four c++ processes, but only two are running and swap > > use > > seldom exceeds 1GB at worst. So far, that's been enough to prevent > > stalling. > > > > Editing /usr/ports/Mk/bsd.port.mk looks like it'll affect all ports; > > what's the convention for making the change local to www/chromium > > only? > > > > Thanks for your patience! > > > > bob prohaska > > ? > > > > Put this in your /etc/make.conf... > > .if ${.CURDIR:M*www/chromium} > MAKE_JOBS_NUMBER_LIMIT=2 > .endif > Done, and thank you! bob prohaska