From owner-freebsd-arm@freebsd.org Sun Jun 24 23:10:13 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 9F2951018351 for ; Sun, 24 Jun 2018 23:10:13 +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 017E380C70 for ; Sun, 24 Jun 2018 23:10:12 +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 w5ONALTc012311 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 24 Jun 2018 16:10:21 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w5ONAKYI012310; Sun, 24 Jun 2018 16:10:20 -0700 (PDT) (envelope-from fbsd) Date: Sun, 24 Jun 2018 16:10:20 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: RPI3 swap experiments, was Re: GPT vs MBR for swap devices Message-ID: <20180624231020.GA11132@www.zefox.net> References: <25F1A4BA-FBFC-4C32-85DD-5F5BA71A2B1A@yahoo.com> <20180620023253.GA89924@www.zefox.net> <1D86911D-20D1-494A-822B-1C07C5598CB1@yahoo.com> <10CAC122-399D-459E-9153-ABD7E753777E@yahoo.com> <20180623143218.GA6905@www.zefox.net> <03C2D3C4-6E90-4054-AF79-BD7FE2B7958D@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <03C2D3C4-6E90-4054-AF79-BD7FE2B7958D@yahoo.com> User-Agent: Mutt/1.5.24 (2015-08-30) 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: Sun, 24 Jun 2018 23:10:13 -0000 I've tried to replicate the RPi3 "run out of swap" experiment after updating source, kernel and world to r335576. Roughly the same things happen: Errors flood the console, when swap usage goes a bit over 80% the machine becomes unresponsive. No sign of the OOM assassin. However, -j4 buildworld got all the way to building libraries. With r334939 it always stopped in cross tools. That seems like a significant improvement in swap usage efficiency. Is this to be expected? What details were captured can be seen at http://www.zefox.net/~fbsd/rpi3/swaptests/r335576/1gbsdflash/ in case they're of interest. Thanks for reading, bob prohaska