From owner-freebsd-arm@freebsd.org Tue Jan 1 23:14:40 2019 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 5465D142D6BA for ; Tue, 1 Jan 2019 23:14:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (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 35E0B8F5CF for ; Tue, 1 Jan 2019 23:14:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: zclRtcgVM1lLNs0gGL95j0BqYtyHpQtF39oSiYumdn5b5hWaRBmfwS4WVNOl6qf NWBzi0BbF5vWO9Qiiw_WiXWlihb.t71.3itJqUFoKwNlcovT2CJlBPQeaRY7nnrvODtRO4WGpQcC Qo7tvr.sPGl9WGcF6eFw85W4zE2sTXOYm8jGRL5rfr6xk9cbTgSRvGZMYt2DGo_D0NaU37YJlsEi Ez58lojQzz9ZiDHtUeCSClgtTCHlewt2xvrQObdZaM1QXYaNPe9UjcTzKWltLgGNo9TYKZWxL5y4 l9x3LpZAkswc_5OaIRgLgQBlXl5YRT8kwUvmG3ra2EzmAQe1.dLAv0zWD2pvqL_mXP2UNajAXDPi 7KOQQRqPWplEGiznDI5RUwcCB.aPS9XD6usOEolSDU4SQkOMXBHdPOd_Jl4G2seGTjl_chC2pM0i cjEcQjd5TcD2UEinAgnJTBI8X4SlqdNWMu_m7bhwrYSXbicYruPMuI2QasjCaZpHLrebCKXxs6F5 jH1GR.CcmgLqcD7drdBXE1GMIzmrwjAZDyS79JTNhYcDrQqbKWEl7PZSzI1YPBheNibEJylCMzMo alRokhPmKdT6lII0XGg3uWED4TiLZVOQIF6cxq1cVVZvkAjAyWcC2z1cgg7RcRUJ0BgLalFUsPxI aB.V5Bw1RrDr61hlz9R3yzWGcwPp5402O2Cpz5aK5ApxbIYzpmOeka5a_uEoxoCsfGZKIvnYMewl m_lMUuBr5Ztnx17t3zb0hGG.DfDIA79srFWlwGzngYC_.WQq6OqNC8xzq4C_PPrjVBcef3Yexl22 XAmD6pm5NJAvNpAdIDLJM0vXj2LEpKK30lqgNNkcRp_kHTBwzf5bMKoes_2iuj6UcCGg2SE6qzp4 RfsQOR_MtaEyHDcQxKQI98PSsTyeR83deKUao9AeVx105SCe2XlWiDvkaCQE_7VWYY4LYusXn5jh orFh38NNipbb2zsSKzXZqxWV7KADonDj1efmZoMNKWJFOpmCHuLRa_6zkwCe4sGagTbzBDInUpau 4PCoOyxCsPtlMsE_Q_eTd24uK9CHrQ5tMTLkGPmoWdEV2vV5pWuKQrXpUw96tf01WsvjynwLY Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Tue, 1 Jan 2019 23:14:30 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp419.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 8c90122d314b20f31201564d03556535; Tue, 01 Jan 2019 23:14:27 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: How much memory to compile www/chromium? From: Mark Millard In-Reply-To: <20190101182153.GA13944@www.zefox.net> Date: Tue, 1 Jan 2019 15:14:26 -0800 Cc: freebsd-arm , freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <66584297-22E7-4D94-963A-5FD4D9130686@yahoo.com> 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> <20181218174903.GA41072@www.zefox.net> <20190101182153.GA13944@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 35E0B8F5CF X-Spamd-Bar: / X-Spamd-Result: default: False [-0.31 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; 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)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.85)[-0.851,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.16)[0.163,0]; NEURAL_HAM_LONG(-0.80)[-0.795,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.69)[ip: (2.44), ipnet: 98.137.64.0/21(0.60), asn: 36647(0.48), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[148.64.137.98.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] 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, 01 Jan 2019 23:14:40 -0000 On 2019-Jan-1, at 10:21, bob prohaska wrote: > On Tue, Dec 18, 2018 at 09:49:03AM -0800, bob prohaska wrote: >>=20 >> Setting MAKE_JOBS_NUMBER_LIMIT=3D2 allowed www/chromium to compile = successfully over >> several days. The -DBATCH option was used, in hopes it'd fetch the = right options.=20 >>=20 >=20 > Just for fun I added a mechanical hard disk with a 4 GB swap partition = and re-ran > the www/chromium compilation with MAKE_JOBS_NUMBER_LIMIT unset, to see = what happens. > OOMA was turned off with vm.pageout_oom_seq=3D"2048" in = /boot/loader.conf. >=20 > After ~11 days the process finished. Log files of gstat output and = make output are at=20 > http://www.zefox.net/~fbsd/rpi3/swaptests/r342204/chromium/mech_sd/ > in case anyone's curious. The log files are around 100MB, it seems = quickest to download=20 > them to look around. Swap use peaked at 3522008 kB. If gstat is to be = believed > the bottleneck appears to be the mechanical hard disk, which showed = near > 100% busy when the microSD swap partition was around 15% busy. Apart = from a few > "indefinite wait..." warnings on the console there was no indication = of errors. >=20 > As a further test, I'ved added two additional USB flash swap devices = and am re-running > the compilation of www/chromium. The swap layout is quite lopsided, = with the USB flash > devices having only 2 GB swap partitions on each, contrasting to the 4 = GB swap partitions > on the microSD card and mechanical disk.=20 >=20 > The first oddity is that top doesn't seem to see the extra swap space, = reporting only=20 > 7192M total. If you start top before changing the swap space (swapon or swapoff), top does not change to match: it does not monitor the swap space total size over time. But I've no other clue to the ordering that actually occurred. > Swapinfo does seem to plausibly report swap status as > Device 1K-blocks Used Avail Capacity > /dev/mmcsd0s2b 4404252 52228 4352024 1% > /dev/da0p1 4194304 50848 4143456 1% > /dev/da2p5 2097152 28232 2068920 1% > /dev/da1f 2097152 28060 2069092 1% > Total 12792860 159368 12633492 1% >=20 > after running overnight. >=20 > "indefinite wait..." warnings on the console have returned in = abundance with the use > of USB flash swap, even though swap usage is still less than 200MB.=20 You might want to report the types/models of the USB flash devices that were in used. Also relevant is the past usage pattern and amount of prior use on the USB flash devices. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)