Date: Sun, 5 Aug 2018 16:15:08 -0700 From: bob prohaska <fbsd@www.zefox.net> To: Mark Millard <marklmi@yahoo.com> Cc: John-Mark Gurney <jmg@funkthat.com>, markj@freebsd.org, Warner Losh <imp@bsdimp.com>, Jamie Landeg-Jones <jamie@catflap.org>, freebsd-arm <freebsd-arm@freebsd.org>, bob prohaska <fbsd@www.zefox.net> Subject: Re: RPI3 swap experiments ["was killed: out of swap space" with: "v_free_count: 5439, v_inactive_count: 1"] Message-ID: <20180805231508.GA12753@www.zefox.net> In-Reply-To: <2C0383B0-3292-48BE-90BC-24FCF2A137D4@yahoo.com> References: <20180802015135.GC99523@www.zefox.net> <EC74A5A6-0DF4-48EB-88DA-543FD70FEA07@yahoo.com> <201808030034.w730YURL034270@donotpassgo.dyslexicfish.net> <F788BDD8-80DC-441A-AA3E-2745F50C3B56@yahoo.com> <201808040355.w743tPsF039729@donotpassgo.dyslexicfish.net> <8CC5DF53-F950-495C-9DC8-56FCA0087259@yahoo.com> <20180804140816.GJ2884@funkthat.com> <16ABD9F0-C908-479C-960D-0C1AEDE89053@yahoo.com> <20180805014545.GK2884@funkthat.com> <2C0383B0-3292-48BE-90BC-24FCF2A137D4@yahoo.com>
index | next in thread | previous in thread | raw e-mail
On Sun, Aug 05, 2018 at 10:39:27AM -0700, Mark Millard wrote: > > "Total Active Working Set too large" (with lots of swap left) seems to be what folks > are running into in these rpi3/rpi2 examples. > > Does the size of the working set vary with how the swap is apportioned between storage devices? In my observations, 1 GB plus 2 GB swap partitions both on microSD allows a -j4 buildworld to run to completion without OOMA intervention. It looks as if both partitions are burdened equally, so usable swap is actually 2 GB. A pair of 1 GB swap partitions, one on microSD and one on USB flash, invites OOMA to intervene prematurely. Stranger still, 1 GB of swap on microSD, which is insufficient (~1.4 GB required), does not trigger OOMA at all, resulting in a hung system. The RPi3 right now has three swap partitions; one of 1 GB on microSD, one of 2 GB on microSD and one of 1 GB on USB. Might it shed any light to try sysctl vm.swap_idle_enabled=1 just to see if anything changes? My guess is no, but it wouldn't be the first time if I'm wrong. 8-) Thanks for reading! bob prohaskahome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180805231508.GA12753>
