From owner-freebsd-arm@freebsd.org Wed Jul 18 14:42:27 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 DA845104CCDC for ; Wed, 18 Jul 2018 14:42:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-3.consmr.mail.bf2.yahoo.com (sonic302-3.consmr.mail.bf2.yahoo.com [74.6.135.42]) (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 786E07D3A3 for ; Wed, 18 Jul 2018 14:42:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Q6V88BUVM1k0VqW7ehepqKO5MqWni3pSf6OQe9pUVpZ5YW6Bp5t4jJAREi_fnlN koC9x9KC5lPvnQ.nqYWwqVT3D0mueT9qWk4kbOW_3TibninceKq0B1vQQfY9y5VUP51_8d4VZbI9 j.hzvSd7G2RB56fAuEK2Id26A4wOnV7JtoEYGMpdqwtN6J5aKMWAd6NUznACKGl2hxTId4uoeN7X e1AV5NsZZytBt0sWLvodxmwteYnzXgqWoC_gAWrP9BYNNUqCNNc_xCQzKbgZEukNenn1Dsyk5rup m.sCUj7UHNM0ls_NL9SEf07vJx.Jr7VzvBVMkSZIFB58ZsTK8wGdSQ.hLCjG0duM8m36zp1cOAMj zurt.hwT0F8B8vEKw09h2Er7vDJSLCrGObnI38_6hQSecZ7kmbo632o7FI8_nvxrGFZ6RRlfAvlr .CJ9j_dTX1mPwTx8ynQvxtLXtj7xANJO_3y7n6urrPOmJ48uZKqNIOmw.3xStPA1kC4DDEs80QHL KqgpYNUib7QiM64EqI2ivKsYoJukUOxo8ibdsz.tXkcmv0DwoFTwfa2qHH_VzWuUB6E1FwlaERwb A4Zdez7483Ma7mhc24.S9MDpZtkMcZp7beEbG5_GBqDUkJ.dsHomb3D9FEGRkpM97BFkIdWh.LOj bQl9J7GNmMGHmZ28LHwNynQL8FFxHvea9Ww4vg5hRYxIkT6yp_6Ly8qd6TWtz0w4koeaq4zyYj1e F73P9yyeVcIpMnOSvVMY_Lo1Z6YOOQU3UBqwhhKNR36np8kF3KkUQUOwMR21Wyldqe4plGpHuZuG hFRqsoAXVCLW2zwAVcHDmaoktbrJUJ_cE_YphHtl0eEGgKfd.B_f5_Yxwv39TzN58Og3pH_sYlHP sITiZmZqHP7jsG4BacVcP1I2ivlfYmvw0UVmmn08YIqjDvAZmEdh7JNdQFFEKkd5Pkjt5ow7SvhG tCEaqpwXym5tDjygwwVuB.mlnm_OP_Y1EXPQE7We1dhbGqu2kzjJeIm0LVK_ntoLeUJYvmw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Wed, 18 Jul 2018 14:42:19 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp422.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3bb82687d1c55f1f4feab50ac68a9e40; Wed, 18 Jul 2018 14:42:16 +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: <20180718060650.GA24566@www.zefox.net> Date: Wed, 18 Jul 2018 07:42:13 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20180629155131.GA35717@www.zefox.net> <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> 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: Wed, 18 Jul 2018 14:42:27 -0000 On 2018-Jul-17, at 11:06 PM, 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. Attributing the time variations that have been observed mostly to = FreeBSD and not mostly to the device at issue seems to have little or no evidence to = support it. > 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. The more swap partitions (or space?) not on a /dev/mmcsd0s* the less of = the activity that /dev/mmcsd0 handles and likely the more time it tends to = have between explicit operations to do internal housekeeping before the next explicit operation. So the better approximation to not using /dev/mmcsd0 at all might not be all that much of a surprise at having less of a problem on the device (or a problem less often). > Details are at > = http://www.zefox.net/~fbsd/rpi3/swaptests/r336356/2gbusbflash_1gbsdflash/ =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)