From owner-freebsd-arm@freebsd.org Thu Jul 19 05:49:39 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 48B42104AD38 for ; Thu, 19 Jul 2018 05:49:39 +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 C22D97E8FC for ; Thu, 19 Jul 2018 05:49:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: rp2l_8sVM1nBi1sgMkn_lcD1S6YkTBJWTiYaA5k0Jr2XH4qfgQnwsGxhzNRUAIJ hPCjP4g7Weav55w5R8bwVnQBq4uNNvoyWhVxmHcamQyhHoRveBS87Jg3QC3eMLpIFpdPEgkN9EgD S9iv2cdqCG67sbINT.zbqfQh79Gwu4_DHOQyZIElKTRfM4mU8654YVrFegCTy39WFpuzbPCh4cf3 ChOXU9qVKWyL.vafZKyRm6Tp6K.jFWsUm4hzJyfYck7LEBPEL9gLixbD5AW7khvbCY.nhWjNmg6w mYJH.LeoRwifVugTycrNaGMVhs8RmWk8uvC52Up3iY6Ym14cch2C5tRXQ9gahqmQcHXScwcFeyuN Tie4j.kfHBIrP_q8wmj_TAUkjWR9oOEJQ4di.uNWs7yp3w7POziw8G1Z_MuoPzOpG0YkDfirzKnR u.BNmTDpAwkq8LJHXQEg.e5Q15XSfT9fAIeWqmRrT238CDhqz.mY5h3xg4oOrM4NhCCQdL2qlc_D WWMe9imwG.6aGQWE1n..69kTXsYS.SfP0cFlPj1OYNg3XWOVuwb7ZqusA9aebMux5sbkZhCAcTt8 XDxPMrqC8jkmti.jDxA8F6_GlW9YpGdH2uLqOtJtsVxFVOwd5yAglSUiXiWwGatBlTnUg9F8hTX3 3_.mV5RqUvDyaiU_QuUlYV4WpL.QAmBja9qxEFDM2R8o9MgrDh1_EfFXMMpOgO2NLwBFspSknaka VaBbfm5sNDlh9wXRbO.An4KIWs.XhDuxWrS_WDMrZcLBEfMzqsK79clbcNqiglpj50imLARyaYoS Za_z5OCFTJUbCGRZffeeLE6KXk.r0FMjIXa161m2RrVtXQSkHmYLa5Z.ky_KSxBaa1W1zuHNhBHk t2ClQCGJi8tIgh5TDBk_1_SDXzjGGp2QA7QDodHzIpbVHaLIMJ1ZTUIql8g5GEP10pSy4YrDayQm 3BnfCd7YANCZwDpPbTqTtCyQv2_dOCTWcmOPiCRuuo8_gTlHPqYvzDnsycssLQQexgT61mUNSSL7 uienfi_ye99LYYp9Vzw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Thu, 19 Jul 2018 05:49:32 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp430.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4d1d0eb954bfdcadbd7e749d5f6bc67f; Thu, 19 Jul 2018 05:39:24 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: RPI3 swap experiments From: Mark Millard In-Reply-To: <20180719035305.GB92843@phouka1.phouka.net> Date: Wed, 18 Jul 2018 22:39:23 -0700 Cc: bob prohaska , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <1E5AF7B2-0025-4FE4-9718-FDA7BA10797A@yahoo.com> References: <20180629233937.GC35717@www.zefox.net> <0f137e06-214a-3e8c-a216-f061ec04ac2c@sentry.org> <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180704004554.GA61273@www.zefox.net> <20180718060650.GA24566@www.zefox.net> <20180719035305.GB92843@phouka1.phouka.net> To: John Kennedy 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: Thu, 19 Jul 2018 05:49:39 -0000 On 2018-Jul-18, at 8:53 PM, John Kennedy wrote: > On Tue, Jul 17, 2018 at 11:06:50PM -0700, bob prohaska wrote: >> It appears that some progress has been made in getting swap working = reasonably >> on the RPI3. A -j4 buildworld attempt running r336356 to compile = 336431 failed >> with "out of swap" but the worst read and write delays were less than = 5 seconds, >> a marked improvement over previous examples. >>=20 >> In this case swap was split, 2 each 1GB partitions on USB flash plus = 1 GB on the=20 >> microSD card. Previous attempts using 3 each 1 GB partitions on USB = flash have been >> repeatedly successful, while a single attempt using 3 each 1GB = partitions on microSD >> failed. >=20 > So I've got a RPI3B+. YMMV. >=20 > I've recompiled 12 ~7 times since June 27th and run into a handful of > problems but haven't had issues lately. I think I started out with = the > stock images (*-RPI3-20180618-r335317 and *-RPI3-20180709-r336134). >=20 > I had OOM problems, so added swap (typical swap-on-ufs). Could only = get > ~3.6G of swap without triggering the kern.maxswzone warning, and then = had the > pauses (forget the exact text, but basically FreeBSD telling me that = something > disk related had timed out after ~20 secs). That stopped being a = problem as > I took the stock images and created a real freebsd-swap partition (and = maybe > a SDCARD upgrade). See bugzilla 206048 ( = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206048 ) for what tends to happen with swap files (including swap in ufs files). = The technical/FreeBSD-internal material is in or referenced-in Comments 7 & = 8. This issue is separate from what Bob P. has been dealing with for swap partitions. > . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)