From owner-freebsd-arm@freebsd.org Mon Jun 18 23:04: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 740D11004568 for ; Mon, 18 Jun 2018 23:04: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 E23F878C91 for ; Mon, 18 Jun 2018 23:04: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 w5IN4K1K081377 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 18 Jun 2018 16:04: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 w5IN4Jxw081376; Mon, 18 Jun 2018 16:04:19 -0700 (PDT) (envelope-from fbsd) Date: Mon, 18 Jun 2018 16:04:19 -0700 From: bob prohaska To: Mark Millard Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: GPT vs MBR for swap devices Message-ID: <20180618230419.GA81275@www.zefox.net> References: <7AB401DF-7AE4-409B-8263-719FD3D889E5@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7AB401DF-7AE4-409B-8263-719FD3D889E5@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: Mon, 18 Jun 2018 23:04:13 -0000 On Sat, Jun 16, 2018 at 04:03:06PM -0700, Mark Millard wrote: > > Since the "multiple swap partitions across multiple > devices" context (my description) is what has problems, > it would be interesting to see swapinfo information > from around the time frame of the failures: how much is > used vs. available on each swap partition? Is only one > being (significantly) used? The small one (1 GiByte)? > There are some preliminary observations at http://www.zefox.net/~fbsd/rpi3/swaptests/newtests/1gbusbflash_1gbsdflash_swapinfo/1gbusbflash_1gbsdflash_swapinfo.log If you search for 09:44: (the time of the OOM kills) it looks like both swap partitions are equally used, but only 8% full. At this point I'm wondering if the gstat interval (presently 10 seconds) might well be shortened and the ten second sleep eliminated. On the runs that succeed swap usage changes little in twenty seconds, but the failures seem to to culminate rather briskly. Thanks for reading, and for your help! bob prohaska