From owner-freebsd-arm@freebsd.org Sat Aug 11 23:23:18 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 886D91055A30 for ; Sat, 11 Aug 2018 23:23:18 +0000 (UTC) (envelope-from freebsd-arm@sentry.org) Received: from shadow.sentry.org (shadow.sentry.org [210.8.237.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "shadow.sentry.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD88895211 for ; Sat, 11 Aug 2018 23:23:17 +0000 (UTC) (envelope-from freebsd-arm@sentry.org) Received: from shadow.sentry.org (localhost [127.0.0.1]) by shadow.sentry.org (8.15.2/8.15.2) with ESMTP id w7BNN5Tk074512 for ; Sun, 12 Aug 2018 09:23:05 +1000 (AEST) (envelope-from freebsd-arm@sentry.org) Subject: Re: RPI3 swap experiments ["was killed: out of swap space" with: "v_free_count: 5439, v_inactive_count: 1"] To: "freebsd-arm@freebsd.org" References: <20180806155837.GA6277@raichu> <20180808153800.GF26133@www.zefox.net> <20180808204841.GA19379@raichu> <20180809065648.GB30347@www.zefox.net> <20180809152152.GC68459@raichu> <20180809153710.GC30347@www.zefox.net> <20180810044426.GB32974@www.zefox.net> <20180811163209.GA38922@www.zefox.net> From: Trev Message-ID: <64798536-4ba5-24e9-304b-30cfb5b702d0@sentry.org> Date: Sun, 12 Aug 2018 09:23:05 +1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: <20180811163209.GA38922@www.zefox.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (shadow.sentry.org [0.0.0.0]); Sun, 12 Aug 2018 09:23:05 +1000 (AEST) 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: Sat, 11 Aug 2018 23:23:18 -0000 bob prohaska wrote on 12/08/2018 02:32: > Simply moving all swap to microSD (and leaving vm.pageout_oom_seq at the > default value of 12) allowed an uneventul -j4 buildworld on r337226M, > upgrading to r337564M with the patches suggested to date still in place. > There were no warnings or errors on the console or controlling terminal. > > The microSD card used for /root, /tmp and swap is a Sandisk Ultra, supposedly > a notch or two slower than the Sandisk Extreme USB flash drive that caused > all the trouble. Curious, my experience was the opposite - the 16G SanDisk Ultra had OOM swap issues with -j4 buildworld, whereas the 32G SanDisk Extreme doesn't. Both cards were new at the time. Note: in my case all file systems were on the micro-SD card except for /tmp/ (100M), /var/tmp (15M) and /var/log (15M) which were memory disks. I'd retest with the sysctl and patches but I have to be interstate again for a few days :(