Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2018 15:17:28 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Mark Johnston <markj@FreeBSD.org>, John Kennedy <warlock@phouka.net>, 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:  <20180815221728.GA59074@www.zefox.net>
In-Reply-To: <0D8B9A29-DD95-4FA3-8F7D-4B85A3BB54D7@yahoo.com>
References:  <20180808153800.GF26133@www.zefox.net> <20180808204841.GA19379@raichu> <2DC1A479-92A0-48E6-9245-3FF5CFD89DEF@yahoo.com> <20180809033735.GJ30738@phouka1.phouka.net> <20180809175802.GA32974@www.zefox.net> <20180812173248.GA81324@phouka1.phouka.net> <20180812224021.GA46372@www.zefox.net> <B81E53A9-459E-4489-883B-24175B87D049@yahoo.com> <20180813021226.GA46750@www.zefox.net> <0D8B9A29-DD95-4FA3-8F7D-4B85A3BB54D7@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 12, 2018 at 08:36:01PM -0700, Mark Millard wrote:
[snip]
> 
> I'd keep multiplying by 10 until it works (or fails some
> other way), then back off by smaller factors if you want
> a narrower range to be known between failing and working
> (or failing differently).
> 
[snip]
> 
> The factor of 10 rule makes the number of tests
> logarithmic to find an sufficient upper bound (if
> there is an upper bound). After that with high/low
> bounds binary searching is a possibility.
> 
Updated to r337688 with 2 GB of swap divided between USB and microSD.
Using vm.pageout_oom_seq=1024, a -j4 buildworld failed with da0 errors 
reported, panic'd and rebooted. A -j3 buildworld ran to completion with 
several dozen "indefinite wait..." messages but no other complaints.

IIRC, this swap configuration wouldn't even run -j2 to completion with
vm.pageout_oom_seq=12, so the increase to 1024 clearly helps and the
da0 errors suggest something else gives up if taxed to -j4.

During the -j3 buildworld, at about the 26 MB point in the log file 
top reported ld.lld having "size" of 1037 MB, but only 60 MB of swap
were in use. With only 1 GB of main memory, is that to be believed?

The backtrace emitted by the -j4 panic is somewhat longer than
usual, it's in the file named console at 
http://www.zefox.net/~fbsd/rpi3/swaptests/r337688/1gbsd_1gbusb/
in case it's of interest.

Thanks for reading!

bob prohaska




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180815221728.GA59074>