From owner-freebsd-arm@freebsd.org Wed Aug 15 15:10:37 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 47591105B2B9 for ; Wed, 15 Aug 2018 15:10:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-34.consmr.mail.ne1.yahoo.com (sonic317-34.consmr.mail.ne1.yahoo.com [66.163.184.45]) (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 C3D8F918CC for ; Wed, 15 Aug 2018 15:10:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: wPAGRoIVM1lImj7nsvrDPkvDySLGPxRRk7M2WQ8rmZFngrdySaZ8iQonyYHdKFr CbTfJfAkpFPqO7HpkLjN4zt6XZa3yiUpJjPmimZGtHPqcwFhI00NCbgNcYMu._MvZg._gAwcF_1k TrusPNQO3rcBRVFvwp.IEnBi3QUllUp.4zXehbVN.tI_HrAe2sEA.9c4eVsXvy.LgVrPHVcRRlv0 ywbRSMuczopt.PC24_WrvPtowXj9YPUYAEEbM.V4TsLAOd.MN2iwhFcvritPcD8JLQJHJs_mo30P zvT7z4pjgSb_zP03fuN0KOmrW3hPsUuvVHE9M97sufgzLvbG0HZtFu0o3Vg6lxaQJxE6Q.3N1I4D dW_vYNLoFiOP1hU0SLIYQpUHJ1eeqUiGQswcI07T_4vkX.JDnFkTOK9HU7Sw6jhqEXT8w9AkB9QX qiZ9KIPEOzOynQNwAKiWHauMP_x6AWSzqbB9f00b1dNU8Mr9kbwINqX99eS2GB4tXUK5coX88x_i nItyLQhZRxBUCSx28tRMlZ_TRU7ZAbILdykINuhghFv6bfFJr7BppxhrNCcWpQic7IxnveygxjYT 6p_RSN25F980ZuT.gbaH5ZXC1x3z5jDp6V.BFELh1BsccV.Zk.QtQwbmg_.Gq3hjEVerFGqqd9cN _xcoA1tuTO1w4FN2vnVXtiM3tdEKzZHHsOEVgyWJhT192oqEgDADIDKAUYwSuZQkeDbVy4KCpaQg A7uHqH8Zo2T0Lj5LLKy9GDjWtY7szf_.pHU4mV6q.cKmCJhjtzigiXCUR.RHgyoi7ONCERi5yXFQ PmGpdbKBx.xzDoUfK3KkMX56327Eg8UH5Bi9j6C5F7ikfcd6JJcDRrfYa2Voko_llXbxejCDlfoy vN9Y56CLk56rTg4UpkVdxUVG9wH0VysmvzbZi1InBsiaZBl41MgFeOvBmLBJiZIaJkKbnD_LBz4s K1pkXDLpvqXq5MmNrq1f8W_OlGnUIuVwMnaC9ZEps9KVdcbqYZ..sPc1W3rPJbKWdFWlqNNYLS3b uaULIhBLYY4ik Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Wed, 15 Aug 2018 15:10:35 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp407.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 67b58e2ce7e63edd40e30a7fd13e71f4; Wed, 15 Aug 2018 15:10:32 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: RPI3 swap experiments (grace under pressure) From: Mark Millard In-Reply-To: <16004AB0-B499-4F30-8C14-AAE5E45B0A3B@yahoo.com> Date: Wed, 15 Aug 2018 08:10:30 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <01136DB2-F635-4F2A-9167-C34195993914@yahoo.com> References: <20180812173248.GA81324@phouka1.phouka.net> <20180812224021.GA46372@www.zefox.net> <20180813021226.GA46750@www.zefox.net> <0D8B9A29-DD95-4FA3-8F7D-4B85A3BB54D7@yahoo.com> <20180813185350.GA47132@www.zefox.net> <20180814014226.GA50013@www.zefox.net> <02fe39af-a02c-fb6a-70b0-da3b7fd06c22@goodgas.com.au> <20180814213107.GA51051@www.zefox.net> <2f3bed05-b27e-420b-e831-1c8286edf35e@sentry.org> <16004AB0-B499-4F30-8C14-AAE5E45B0A3B@yahoo.com> To: Trev X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 15:10:37 -0000 [Add notes about the clan g versions around in 2016-Oct.] On 2018-Aug-15, at 7:39 AM, Mark Millard wrote: > On 2018-Aug-14, at 5:20 PM, Trev wrote: >=20 >> George Mitchell wrote on 15/08/2018 08:33: >>> On 08/14/18 18:17, Jedi Tek'Unum wrote: >>>> I firmly disagree with the entire concept of out of memory killers. = They are simply evil and in my opinion a complete cop-out. I first = encountered this kind of kludge back in the =E2=80=9880s with AIX. It = was bad then and it still is today. Frankly I find it ridiculous that = they still exist. >>>> [...] >>> However: consider the subject (Raspberry Pi). -- = George >>=20 >> When researching whether 512M of RAM was considered "usable" for a = FreeBSD buildworld, I came across [https://reviews.freebsd.org/D8302] = from October 2016 where just 256M was considered a test case for i386 = and amd64 (-j1 I'm assuming) buildworlds which should succeed. >=20 > What I see there is pho writing: >=20 > QUOTE > I have run stress2 testes on i386 and amd64. > I ran a buildkernel on both i386 and amd64 with 256MB RAM / UP. > Buildworld was run with various small RAM configurations. > END QUOTE >=20 > It explicitly lists buildkernel for 256 MiBytes of RAM, not > buildworld. I'm not sure what the "UP" is for. "RAM / UP" > looks like it might be a ratio but may be it was indicating > not SMP? It not clear if this buildkernel testing included > kernel-toolchain as well. >=20 > buildworld was listed separately with nothing explicit about > what "small RAM" was considered to be. >=20 > If stress2 is configurable, there is no information on what > the specific test was for retrying the same test or knowing > just what the test was. I'm not sure which toolchain was used for any buildworld or any kernel-toolchain activity. But looking around inside https://svnweb.freebsd.org/base/projects/ shows that https://svnweb.freebsd.org/base/projects/clang390-import/?view=3Dlog had a last check-in on 2016-Nov-24 and was created on 2016-Aug-16. So clang 3.9.0 or an earlier clang. (clang was the default for x86's so I've assumed that it was used.) I'm not sure how similar that was to now with clang 6. It might be interesting if pho's tests could be re-run but for modern head. >> Regardless, my RPi3B+ OOMA issues were completely eliminated by = replacing the 16G SanDisk "Ultra" card with a "faster" 32G SanDisk = "Extreme" card which contains all file systems as well as a swap = partition and runs -j4 buildworld flawlessly. I think this lends some = support to Warner's view. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)