From owner-freebsd-arm@freebsd.org Sun Sep 2 02:52:08 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 E90ECFE1969 for ; Sun, 2 Sep 2018 02:52:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-22.consmr.mail.bf2.yahoo.com (sonic312-22.consmr.mail.bf2.yahoo.com [74.6.128.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 9496086E57 for ; Sun, 2 Sep 2018 02:52:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: GfaEKC8VM1kun7D6VvRoDbXkUsffgRwJFOvP2.GEbZOvuTD0af8Fz4S2HDo1uxb OfCVCI6y.uvS1DiQcYW28sqSjobJuSQnJQALMesf3IYiJ7W3RUHjPHvxUx4_Go79_dQssqDgIzuk Q99zvnsH1ErDBD4uUNjK_rfHD4S2iXy5_wCGDCqRorD7CmoRc39Q1dZuecLcavMqCWQHK3iOnTqN 4l523skGhKVHhQYij2L1fNhGIcNkinG7YhDtYO2.X_rS7lFe608Gy1g4CRveTl4wvTxSG27q5SMX VqmfQferGNSNIl4nMPd37KoGTbeqroie.opZcnEUZRdjDV0HZWWbxOaIFuSpZytM4ZNktpFUrUK9 C5fWB0JzZORN6Dl8OsNjnxkSF7Qem9gBH5mPIkNEwIdeqD9OA4i0quisjDFtpV68njan9G36qdLf l.zDFtbHQzi87PRKT0Sqahhvg_msi4vTQQNKm5fMnIcTm6MNpqzY75g_yZT3jITSfbkDpXPASd8x M78fjl97xZ1aqVGXSRs0cyfOgxRVAn6KmeAiOfcqFVua9cf0u39OxzclDUl5JQEH5UjGhBFyLQU9 V6TvSRS.SlViEGeey5EBAPhPaPvDGcZ.b8XPAbzKHBvJ_pnxzP2h923wJ6MSwq3pc_TXPOi22Txn ko3mjxJYtUU1OEheECI44NoNe1aPY84.ePsFoIaFMBdcxDeN9KTRfbUJPPLo5XUeaoY8i5QwFXOc YRPbVaNnxwlZ6mcPDKntHhjIJoM.hoIrOgsEDOpokbkDDNWAhV0d1Yv_xjCcO4iMeoO63BERVKEn p0mQWNmC40pt2o0kQZG2dE4e7VciGe_3k_Qo2962wg0i7ugeW.lLZR0Xzxt07.CVl.nq4r4mfXzD ItQ_JtQngxlOYpEWKy55tGcjTxGIgltfdmxTwEREdavExe1WHGK5DqvJJq2Zm9qekRhKSMmZRy2b B_70cOdrRTgKmgH.GINfDBIsvPSGZcfYjDlH4BwqqjFRqW49bbJxAGP._CTJjsP0pap7P7Q0HTZ7 7TvX4O80uKpM- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Sun, 2 Sep 2018 02:52:01 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp423.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID f75872bcf24395fac1a30782f3a9d5d9; Sun, 02 Sep 2018 02:51:56 +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 (r338342 with vm.pageout_oom_seq="1024") From: Mark Millard In-Reply-To: <20180901230233.GA42895@www.zefox.net> Date: Sat, 1 Sep 2018 19:51:54 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20180813021226.GA46750@www.zefox.net> <0D8B9A29-DD95-4FA3-8F7D-4B85A3BB54D7@yahoo.com> <20180813185350.GA47132@www.zefox.net> <20180814014226.GA50013@www.zefox.net> <20180815013612.GB51051@www.zefox.net> <20180815225504.GB59074@www.zefox.net> <20180901230233.GA42895@www.zefox.net> To: bob prohaska 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: Sun, 02 Sep 2018 02:52:08 -0000 On 2018-Sep-1, at 4:02 PM, bob prohaska wrote: > On Wed, Aug 15, 2018 at 03:55:04PM -0700, bob prohaska wrote: >>=20 >> When I started this goose chase, after zero problems with RPI2, I = thought the >> issue was arm64-related and might be of some fundamental importance. >>=20 >> Thanks to many people I now understand it's a confluence of USB and = flash memory >> artifacts, made evident by the demands of clang6. Elsewhere I noted = that I'm seeking >> "the robustness of a Mars rover, using a rack server OS on a = cellphone motherboard". >>=20 >=20 > With r338342 and > vm.pageout_oom_seq=3D"1024" > in /boot/loader.conf the RPI3 is a bit closer to a Mars Rover. > No panics, crashes or USB errors, -j4 buildworld runs to completion. > When swap usage goes over about 50% the system slows, but doesn't give = up. > There are six 1 GB swap partitions available, 3 on USB and 3 on = microSD. >=20 > Log files are at > http://www.zefox.net/~fbsd/rpi3/swaptests/r338342/ > for the combinations tried so far. http://www.zefox.net/~fbsd/rpi3/swaptests/r338342/2gbsd/swapscript.log shows things like: dT: 10.043s w: 10.000s L(q) ops/s r/s kBps ms/r w/s kBps ms/w d/s kBps = ms/d %busy Name 0 126 19 122 2.3 107 2034 3.3 0 0 = 0.0 29.2 da0 0 67 0 0 0.0 67 1126 2.5 0 0 = 0.0 16.6 da0f 0 59 19 122 2.3 40 909 4.7 0 0 = 0.0 14.7 da0g as well as: dT: 10.004s w: 10.000s L(q) ops/s r/s kBps ms/r w/s kBps ms/w d/s kBps = ms/d %busy Name 4 412 32 324 11.2 380 2945 7.9 0 0 = 0.0 80.2 mmcsd0 0 1 1 26 4.7 0 0 0.0 0 0 = 0.0 0.4 da0 4 412 32 324 11.5 380 2945 8.0 0 0 = 0.0 80.8 mmcsd0s2 2 205 15 160 10.6 190 1453 8.0 0 0 = 0.0 78.7 mmcsd0s2d 2 207 17 165 12.3 190 1491 8.0 0 0 = 0.0 78.6 mmcsd0s2e 0 0 0 0 0.0 0 1 17.5 0 0 = 0.0 0.2 mmcsd0s2a 0 0 0 0 0.0 0 1 17.6 0 0 = 0.0 0.2 ufs/rootfs 0 1 1 26 4.8 0 0 0.0 0 0 = 0.0 0.4 da0g It is not clear what partitions were in use for what types of data. da0f, da0g, mmcsd0s2d, and mmcsd0s2e: are they all swap partitions? If yes, then the the test log does not appear to be a "2gbsd" test. Ignoring such points: Are these tests using the same devices that logged errors to the console in all that prior testing? If yes: Having such errors stop is potentially interesting. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)