Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2018 07:09:49 +1000
From:      Trev <freebsd-arm@sentry.org>
To:        freebsd-arm@freebsd.org
Subject:   Re: RPI3 swap experiments
Message-ID:  <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org>
In-Reply-To: <ba33d8a7-a849-3893-8016-0765ebe1c51f@sentry.org>
References:  <20180627194217.GA27793@www.zefox.net> <C6303FC5-B412-472C-98E4-9A1E45C38535@yahoo.com> <20180628022457.GA30110@www.zefox.net> <7B9D272D-3EDE-46FA-8A1C-AEE65047167C@yahoo.com> <20180628163328.GA33408@www.zefox.net> <51e208b4-9f14-58f7-1e70-6ef8db2c0bed@sentry.org> <20180629155131.GA35717@www.zefox.net> <c6b8842a-fcc5-8e11-5a03-ba76eb3c5dea@sentry.org> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, the final, final swap experiment.

I created a 2G swap partition on the SDCard:

gpart show
=>      63  31116225  mmcsd0  MBR  (15G)
         63      2016          - free -  (1.0M)
       2079    102400       1  fat32lba  [active]  (50M)
     104479  31011809       2  freebsd  (15G)

=>       0  31011809  mmcsd0s2  BSD  (15G)
          0  25165824         1  freebsd-ufs  (12G)
   25165824   4194304         2  freebsd-swap  (2.0G)
   29360128   1651681            - free -  (806M)

and, yes, it still died during make -j4 buildworld:

Jul  3 22:15:24 rpi3 kernel: pid 57011 (c++), uid 0, was killed: out of 
swap space

(I forgot to start the logging script, so no stats).

Conclusion: The only way to buildworld on the RPi3B+ is to use an 
external USB mechanical hard disk (my hybrid Seagate 500G 2.5" drive 
required a powered USB hub). No issues on a RPi2B v1.1 with swap and 
/usr on a USB memory key.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2deaaec3-f78f-0b09-5ca7-27e14c6979f9>