From owner-freebsd-arm@freebsd.org Tue Dec 3 04:31:23 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 2FA571C7400 for ; Tue, 3 Dec 2019 04:31:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Rpvs10JPz3Lwf for ; Tue, 3 Dec 2019 04:31:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 5AwCxEAVM1l4V_Vuq8lPx6jpmRQcLjMQ.sNLb3Cz3_PeuacwObD6zUSelEYAN_q 5Nuwoj1y1RDN99_KQkrEenKpXmJSD99JGeilRJfqm9EiAOByU7kI9bnwUdR2EQ.t7aH6t70Em3T. D7AnxQHxSf9_kRB12.aJVnM56U7MhWGUUv4pljf.c2a5Ys22CbXh0PxktAF0h7Ry2aOgnw_8HVRt StT9fsBcu8jKKUW8MPhCOo2jB3zp9G3EERKwbgeF3UE.4OrVFnpljTUHhSp9oAxTVXlI0glqdPwy Mxo.jGZ9MMTMCQpteShTTSnxBA0TFWHplROy16RG7mgK9HMfzaVOeGbFpQuYR5gsygKXsY3qJy2U itSZCeu7jUwMdM8thn3YMAfW2hgXX5WVn20zdWiLwUL6Ne2S0f83bgSN2a4qNAaI.89LmQLpZCiS BLmLOqdT1iUTgefS5uRzg6yZpmtx.s3WkS2_0kXMQw7IXe6DZlgsgkg0W.HfYdL57428zo1fB7Ho UZe_Xn95P16uqer_lJGI2DQMQu7lUeq7Me_8id3oGh7.04xTL2ETj8zPjAMJeACTxosGSXvKaAlL 2gWg5glLpM9g0_czara6uGsVkTypSvxeBmMDVOH7CyeXQxzQhLI0a6azBBcdJ9QI09I.oJZn5.j3 taGSdlnSgbIgihpT.h7MBk4oId0PU.y_Pfscz0qVMMNZmvHo9h0ojLUr_s5g4nMMLcaE.ky_bIAc TkVmqDIRH48N0.2Yg7zLxPvrZVaVxqeRK1y_mlOnfXD5x_ndKXPmoZW1OYtxVMECmpkjotJAwZPD nfkoWpaKNDGzSEQTshEceTA0FJ8PEUxF1GU5fuLW1Aifi7z5RYF.TrfLpK0cvVFKT0wusyPnBYNv 4164axQM2vKEoohS4Pjd6qBiZXHjtKQjs5qVk4emhEe1FAc8s2jdE8tRLcsDoS8X4x1Qj8vv1Cti 6umAI9qg_FfmC1k6unq4WmV_uD9Xk7QTbcz79nc.DGHHpfI06DfFKv9l2.1qrl7hNZ4g64wBFLFa 7wjVFD0xfBF_hkdy_Iihvbm34oxYXl0Ng9U47HihSF_dX4oPUZZauJ7UkE4KcuYLuggK58979Xnv g5kRJCBt9JEqy3I8y0UK_EZv3chrhjZb3GTOdLBpYBMqWNAaFHru4WetCwACWaY_FtLHYUfbXHSl PQrDY.uvJcsm5qNYRU5ppukn8nnX6NapKOTtncoCumsV9OKOhZVKaxNgwry74YpL7ip3SYObFMGd mVcQ6SfRpqBmFsancM4KaZwM9hicfItI.IJKFiEZA78r0C.SlRDtEmLgN77VFX08fR00vFwILrLG 7Ts2N0XvJmv3bYti2gy_kr35wEinWnw_siQ7U2trBaFxeMKcgrC3.mprYltqIrgWZfOhY6E6_a1X CEGdh6hQrgRDvTJZIXAEhVd4ib4eEU9AUX0Sb Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Tue, 3 Dec 2019 04:31:19 +0000 Received: by smtp413.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 02d1fb56a2c842e1cd03d677b838f9c2; Tue, 03 Dec 2019 04:31:17 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: Reverting -current by date. From: Mark Millard In-Reply-To: <20191203021716.GA56261@www.zefox.net> Date: Mon, 2 Dec 2019 20:31:15 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20191121031141.GB1837@www.zefox.net> <20191121175817.GA5375@www.zefox.net> <20191121190903.GB5375@www.zefox.net> <20191126010310.GA26370@www.zefox.net> <254A5077-DE9E-4B6A-9A4D-D9FA2F858F54@yahoo.com> <20191201213920.GA49395@www.zefox.net> <49C39BF2-0F0A-4D79-831C-89A6F853874B@yahoo.com> <20191203021716.GA56261@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47Rpvs10JPz3Lwf X-Spamd-Bar: / X-Spamd-Result: default: False [0.14 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_SPAM_MEDIUM(0.20)[0.201,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[84.69.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_LONG(0.44)[0.436,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (6.02), ipnet: 98.137.64.0/21(0.88), asn: 36647(0.70), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] 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: Tue, 03 Dec 2019 04:31:23 -0000 On 2019-Dec-2, at 18:17, bob prohaska wrote: > On Mon, Dec 02, 2019 at 02:11:17PM -0800, Mark Millard wrote: >>=20 >>=20 >>=20 >> I do not know if your -j2 is with or without MAKE_JOBS >> being enabled for some or all jobs. >>=20 >=20 > Possibly that's part of my problem. My system is -current, > not intentionally modified. Is there an environment > variable that now needs to be set to enable use of -j on > the make command line to limit parallelism? It might explain=20 > the behavior seen when using -j2. In that case more than two=20 > compiler instances occur. >=20 I got the context wrong and my note does not apply for -j2 directly on the make command line style of doing port builds. Sorry for the noise. So ignore my earlier babble. You were directly controlling the number of targets that are allowed to run in parallel. (Presuming the port's submakes (if any) are set up to do appropriately. Also multithreading in a process is not controlled.) To explain what I was incorrectly referring to for MAKE_JOBS . . . MAKE_JOBS is ports-infrastructure control. Some of the makefiles use MAKE_JOBS_UNSAFE=3Dyes to disable allowing the make from running targets in parallel within the job, mostly because they are known to have internal race conditions or other such that can break the builds otherwise. As I remember portmaster allows -m MAKE_JOBS_UNSAFE=3Dyes or some such to force the issue. poudriere has control over such when the makefile does not force MAKE_JOBS_UNSAFE=3DYES and does so via the likes of (this shows settings that I use, not what you might want): # grep MAKE_JOBS /usr/local/etc/poudriere.conf # By default MAKE_JOBS is disabled to allow only one process per cpu # ALLOW_MAKE_JOBS=3Dyes ALLOW_MAKE_JOBS=3Dyes # List of packages that will always be allowed to use MAKE_JOBS # regardless of ALLOW_MAKE_JOBS. This is useful for allowing ports #ALLOW_MAKE_JOBS_PACKAGES=3D"pkg ccache py*" ALLOW_MAKE_JOBS_PACKAGES=3D"pkg ccache py* gcc* llvm* ghc* *webkit* = *office* chromium* iridium* mongodb*" poudriere also has a mean of control over how many jobs it runs at once (when dependencies allow that many): # grep PARALLEL_JOBS /usr/local/etc/poudriere.conf # You can override this default by changing PARALLEL_JOBS here, or # Example to define PARALLEL_JOBS to one single job # PARALLEL_JOBS=3D1 # be more IO bound and may be worth tweaking. Default: PARALLEL_JOBS * = 1.25 # PREPARE_PARALLEL_JOBS=3D1 I had substituted PARALLEL_JOBS=3D2 for poudriere for your -j2 in my head --without even noticing. This left open the ALLOW_MAKE_JOBS for poudriere. As you can tell, it has been a while since I have used make directly for building a port. Again, sorry for the misdirection. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)