From owner-freebsd-arm@freebsd.org Thu Sep 6 15:59:03 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 666F9FFF516 for ; Thu, 6 Sep 2018 15:59:03 +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 C31037D709 for ; Thu, 6 Sep 2018 15:59:02 +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 w86Fwx6g006150 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 6 Sep 2018 08:59:00 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w86FwxcN006149; Thu, 6 Sep 2018 08:58:59 -0700 (PDT) (envelope-from fbsd) Date: Thu, 6 Sep 2018 08:58:58 -0700 From: bob prohaska To: Mark Millard Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: RPI3 swap experiments (r338342 with vm.pageout_oom_seq="1024" and 6 GB swap) Message-ID: <20180906155858.GA5980@www.zefox.net> References: <20180814014226.GA50013@www.zefox.net> <20180815013612.GB51051@www.zefox.net> <20180815225504.GB59074@www.zefox.net> <20180901230233.GA42895@www.zefox.net> <20180906003829.GC818@www.zefox.net> <20180906051520.GB3482@www.zefox.net> <059D2FED-6E7C-4FEF-8807-8D4A0D0B3E26@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <059D2FED-6E7C-4FEF-8807-8D4A0D0B3E26@yahoo.com> 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: Thu, 06 Sep 2018 15:59:03 -0000 On Thu, Sep 06, 2018 at 12:08:09AM -0700, Mark Millard wrote: > On 2018-Sep-5, at 10:15 PM, bob prohaska wrote: > > >> . . . > > There were two buildworld tests run with 6 GB of swap, the first without > > TRIM being turned on and the second with TRIM turned on. The second run > > too an hour longer, with TRIM being on the only difference. > > buildworld did not take an hour longer for one vs. the other > based on the timestamps in the log files: > > trim off: > > >>> World build started on Sun Sep 2 20:28:12 PDT 2018 > . . . > >>> World build completed on Mon Sep 3 21:35:47 PDT 2018 > > So somewhat over 25 hours 7 minutes. > > trim on: > > >>> World build started on Tue Sep 4 00:02:36 PDT 2018 > . . . > >>> World build completed on Wed Sep 5 01:12:47 PDT 2018 > > So somewhat over 25 hours 10 minutes. > > I get an under 5 minute difference from those timestamps. > > You are correct, the mistake is mine. Thanks for catching it! > >> . . . > > Near as I can tell there are no non-zero values for d/s, which if it's tied > > to TRIM is reasonable for all but microSD, which did have TRIM enabled. Since > > microSD wasn't particularly busy, apart from swap, that too is unsurprising. > > http://www.zefox.net/~fbsd/rpi3/swaptests/r338342/3gbsd_3gbusb/trim_on/writedelay.sort > shows ms/d and its matching kBps with the below non-zero figures: > > . . . > 0 0 0 0 0.0 0 6 16.2 0 10 0.1 0.3 mmcsd0 > 0 0 0 0 0.0 0 6 16.3 0 10 0.2 0.3 mmcsd0s2 > . . . > 0 0 0 0 0.0 0 3 99.2 0 4 40.7 1.3 mmcsd0s2a > 0 0 0 0 0.0 0 3 99.3 0 4 40.8 1.3 ufs/rootfs > . . . > 0 0 0 0 0.0 0 10 147.6 0 6 12.0 4.5 mmcsd0s2a > . . . > 0 2 1 8 1.8 0 7 211.0 0 10 114.5 5.8 mmcsd0 > 0 2 1 8 1.8 0 7 211.1 0 10 114.5 5.8 mmcsd0s2 > 0 1 0 0 0.0 0 7 211.2 0 10 114.6 5.6 ufs/rootfs > . . . > > Those are all I found. I may have missed some. > Again, I was mistaken, misreading your original question. Thanks for catching the errors! bob prohaska