Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2018 08:07:06 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Trev <freebsd-arm@sentry.org>
Cc:        freebsd-arm@freebsd.org, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: RPI3 swap experiments
Message-ID:  <20180718150706.GB24566@www.zefox.net>
In-Reply-To: <02272aff-90d7-5443-9426-7460eed9d134@sentry.org>
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> <ba33d8a7-a849-3893-8016-0765ebe1c51f@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180718150706.GB24566>