From owner-freebsd-arm@freebsd.org Sat Sep 1 23:16:24 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 8183AFCEABC for ; Sat, 1 Sep 2018 23:16:24 +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 DAA9A80450 for ; Sat, 1 Sep 2018 23:16:23 +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 w81N2XPB043032 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 1 Sep 2018 16:02:34 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w81N2XG0043031; Sat, 1 Sep 2018 16:02:33 -0700 (PDT) (envelope-from fbsd) Date: Sat, 1 Sep 2018 16:02:33 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Re: RPI3 swap experiments (r338342 with vm.pageout_oom_seq="1024") Message-ID: <20180901230233.GA42895@www.zefox.net> References: <20180813021226.GA46750@www.zefox.net> <0D8B9A29-DD95-4FA3-8F7D-4B85A3BB54D7@yahoo.com> <20180813185350.GA47132@www.zefox.net> <20180814014226.GA50013@www.zefox.net> <20180815013612.GB51051@www.zefox.net> <20180815225504.GB59074@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180815225504.GB59074@www.zefox.net> 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: Sat, 01 Sep 2018 23:16:24 -0000 On Wed, Aug 15, 2018 at 03:55:04PM -0700, bob prohaska wrote: > > When I started this goose chase, after zero problems with RPI2, I thought the > issue was arm64-related and might be of some fundamental importance. > > Thanks to many people I now understand it's a confluence of USB and flash memory > artifacts, made evident by the demands of clang6. Elsewhere I noted that I'm seeking > "the robustness of a Mars rover, using a rack server OS on a cellphone motherboard". > With r338342 and vm.pageout_oom_seq="1024" in /boot/loader.conf the RPI3 is a bit closer to a Mars Rover. No panics, crashes or USB errors, -j4 buildworld runs to completion. When swap usage goes over about 50% the system slows, but doesn't give up. There are six 1 GB swap partitions available, 3 on USB and 3 on microSD. Log files are at http://www.zefox.net/~fbsd/rpi3/swaptests/r338342/ for the combinations tried so far. Thanks for reading, and everybody's help! bob prohaska