From owner-freebsd-arm@freebsd.org Thu Aug 9 06:42:01 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 0FE85105720A for ; Thu, 9 Aug 2018 06:42:01 +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 7F69E82DDD; Thu, 9 Aug 2018 06:41:58 +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 w796gBu1031252 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 8 Aug 2018 23:42:11 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w796gAC0031251; Wed, 8 Aug 2018 23:42:10 -0700 (PDT) (envelope-from fbsd) Date: Wed, 8 Aug 2018 23:42:10 -0700 From: bob prohaska To: Warner Losh Cc: Mark Johnston , "freebsd-arm@freebsd.org" , bob prohaska Subject: Re: RPI3 swap experiments ["was killed: out of swap space" with: "v_free_count: 5439, v_inactive_count: 1"] Message-ID: <20180809064210.GA30347@www.zefox.net> References: <2222ABBD-E689-4C3B-A7D3-50AECCC5E7B2@yahoo.com> <20180801034511.GA96616@www.zefox.net> <201808010405.w7145RS6086730@donotpassgo.dyslexicfish.net> <6BFE7B77-A0E2-4FAF-9C68-81951D2F6627@yahoo.com> <20180802002841.GB99523@www.zefox.net> <20180802015135.GC99523@www.zefox.net> <20180806155837.GA6277@raichu> <20180808214224.GA29312@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, 09 Aug 2018 06:42:01 -0000 On Wed, Aug 08, 2018 at 03:55:52PM -0600, Warner Losh wrote: > > With the da driver there's some hope. Add options IOSCHED to the kernel > config file and reboot. This will give you some detailed statistics, as > well as power-of-two bucketized latency histograms. It may even be a vector > forward to slow the writes / trims down, though there's some issues when > you slow writes down TOO much, it helps *A*LOT* keep the system responsive. > We do that at work to make our consumer SSDs not suck for serving content > (reading) while we're doing some writes to them... The thumb drives are > like the consumer SSDs we buy, only crappier... > I tried adding options IOSCHED to the arm64 GENERIC kernel config at the end of the debugging support options, but buildkernel replied with /usr/src/sys/arm64/conf/GENERIC: unknown option "IOSCHED" I don't see any typos, should this option go elsewhere? Thanks very much! bob prohaska