From owner-freebsd-arm@freebsd.org Sat Aug 4 03:55:26 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 E4381105CACD for ; Sat, 4 Aug 2018 03:55:25 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:a:dead:bad:faff]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 91442832FD; Sat, 4 Aug 2018 03:55:25 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id w743tPW2039730; Sat, 4 Aug 2018 04:55:25 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id w743tPsF039729; Sat, 4 Aug 2018 04:55:25 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201808040355.w743tPsF039729@donotpassgo.dyslexicfish.net> Date: Sat, 04 Aug 2018 04:55:25 +0100 Organization: Dyslexic Fish To: marklmi@yahoo.com, jamie@catflap.org Cc: markj@freebsd.org, freebsd-arm@freebsd.org, fbsd@www.zefox.net Subject: Re: RPI3 swap experiments ["was killed: out of swap space" with: "v_free_count: 5439, v_inactive_count: 1"] References: <20180731153531.GA94742@www.zefox.net> <201807311602.w6VG2xcN072497@pdx.rh.CN85.dnsmgr.net> <20180731191016.GD94742@www.zefox.net> <23793AAA-A339-4DEC-981F-21C7CC4FE440@yahoo.com> <20180731231912.GF94742@www.zefox.net> <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> <201808030034.w730YURL034270@donotpassgo.dyslexicfish.net> In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Sat, 04 Aug 2018 04:55:25 +0100 (BST) 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, 04 Aug 2018 03:55:26 -0000 Mark Millard wrote: > If Inact+Laundry+Buf(?)+Free was not enough to provide sufficient > additional RAM, I'd would have guessed that some Active Real Memory > should then have been paged/swapped out and so RAM would be made > available. (This requires the system to have left itself sufficient > room in RAM for that guessed activity.) > > But I'm no expert at the intent or actual operation. > > Bob P.'s reports (for having sufficient swap space) > also indicate the likes of: > > v_free_count: 5439, v_inactive_count: 1 > > > So all the examples have: "v_inactive_count: 1". > (So: vmd->vmd_pagequeues[PQ_INACTIVE].pq_cnt==1 ) Thanks for the feedback. I'll do a few more runs and other stress tests to see if that result is consistent. I'm open to any other idea too! Cheers, J