From owner-freebsd-arm@freebsd.org Fri Jun 29 23:05:26 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 D8F79FD2471 for ; Fri, 29 Jun 2018 23:05:26 +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 E966280711 for ; Fri, 29 Jun 2018 23:05:25 +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 w5TN5M28020633 for ; Sat, 30 Jun 2018 09:05:22 +1000 (AEST) (envelope-from freebsd-arm@sentry.org) Subject: Re: RPI3 swap experiments To: freebsd-arm@freebsd.org References: <20180626222834.GA20270@www.zefox.net> <28012DFB-37A0-461A-BB62-CD3EE61E82F0@yahoo.com> <20180627054027.GA22144@www.zefox.net> <20180627194217.GA27793@www.zefox.net> <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> From: Trev Message-ID: Date: Sat, 30 Jun 2018 09:05:22 +1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <20180629155131.GA35717@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]); Sat, 30 Jun 2018 09:05:22 +1000 (AEST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 23:05:27 -0000 bob prohaska wrote on 30/06/2018 01:51: > On Fri, Jun 29, 2018 at 10:28:25PM +1000, Trev wrote: >> >> Jun 29 20:20:35 rpi3 kernel: pid 66844 (c++), uid 0, was killed: out of >> swap space >> >> At the time of "out of swap" only 157M of the 4G swap was in use. The >> 4GB swap partition is on a 4GB USB2 memory key (da1p1), everything else >> is on the sdcard. There are no excessively long ms/w being recorded. >> There are no USB or other related errors. >> > > That's a little surprising, and disturbing. By my experience your setup > should have run to completion. > > Do you see a "too much swap" complaint? I don't know if it's a problem, > but 4 GB of swap triggers one on my RPi3. 3 GB does not. 2 GB is enough > to finish -j4 buildworld. Indeed, yes: warning: total configured swap (1035254 pages) exceeds maximum recommended amount (921968 pages). warning: increase kern.maxswzone or reduce amount of swap. (I get a similar warning for the RPi2B which has 2GB of swap, but uses 1.4G+ peak during a -j4 buildworld and always completes successfully.) I'll reduce it to 2G and see what happens in 5 hours...