From owner-freebsd-arm@freebsd.org Wed Jul 18 15:06:53 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 3D1BB104DA18 for ; Wed, 18 Jul 2018 15:06:53 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 872957E320 for ; Wed, 18 Jul 2018 15:06:52 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w6IF77BC027110 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Jul 2018 08:07:08 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w6IF76OB027109; Wed, 18 Jul 2018 08:07:07 -0700 (PDT) (envelope-from fbsd) Date: Wed, 18 Jul 2018 08:07:06 -0700 From: bob prohaska To: Trev Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: RPI3 swap experiments Message-ID: <20180718150706.GB24566@www.zefox.net> 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> <02272aff-90d7-5443-9426-7460eed9d134@sentry.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02272aff-90d7-5443-9426-7460eed9d134@sentry.org> User-Agent: Mutt/1.5.24 (2015-08-30) 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 15:06:53 -0000 On Wed, Jul 18, 2018 at 04:24:08PM +1000, Trev wrote: > > I have run the -j4 buildworld now 11 times using a single 2G partition > of an 8G SanDisk Ultra micro-SDcard in a USB card micro-SDcard reader > without any out of swap errors, completing successfully each time, > installing and booting to check. > In the system under test right now having all swap on USB flash seems to work, but having all swap on microSD fails with "out of swap". A previous incarnation (using a USB3.1-marked flash drive) works with all swap on microSD but fails with all swap on USB. Neither setup worked with swap distributed on both. Both USB devices are marked SanDisk Extreme, both microSD devices are marked SanDisk Ultra. Thus far I haven't noticed any tight correlation between "out of swap" kills and long delays reading and writing swap. > At this point, I'm happy enough that I've given up experimenting before > I wear something out :) I'm somewhat curious to test the proposition that "wearing out" flash memory is a serious problem. There's no doubt it'll happen eventually, but at least a little doubt as to whether it's a threat to normal usability. > > BTW, there have been a lot of commits to the swapper code in the last 12 > months ... my RPi2B is now on 11.2-STABLE and still not suffering any > swap issues with the 2G swap partition and /usr partition on the same > USB memory key. Pity 11.2 won't run on the RPi3B+. > It's been suggested that a 32-bit version of FreeBSD could be made to work on the 64-bit Pi3's, but I gather the Project's preference is to get arm64 up to production standards first. > Just one question, do your ethernet LEDs on the RPi3 (B or B+ ?) light > up? MY RPi2B ones do, my RPi3B+ don't after booting FreeBSD. > My Pi3 is older, before the + model appeared. The link and traffic LEDs on the Ethernet connector remain on and active. The green LED comes on briefly when u-boot starts up, then goes off. The red LED is on whenever there's power applied. Thanks for reading, bob prohaska