Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 11:19:23 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        freebsd-arm@freebsd.org, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: RPI3 swap experiments
Message-ID:  <20180731181923.GC94742@www.zefox.net>
In-Reply-To: <908FB299-07CF-4E88-9C18-298CA357AD01@yahoo.com>
References:  <AB5EE2E4-B2FD-4CA9-A993-04C2A4BE10AE@yahoo.com> <20180723155311.GB45726@www.zefox.net> <4ED9B658-A5A8-4BA6-9412-EBB7150B4B66@yahoo.com> <20180723190257.GA47869@www.zefox.net> <76BCFCB9-1071-4557-9FDE-017444ADBF42@yahoo.com> <20180725232453.GA57716@www.zefox.net> <20180731054712.GA92917@www.zefox.net> <d17be735-4d7e-73b6-4af1-a64470bc9e32@sentry.org> <20180731153531.GA94742@www.zefox.net> <908FB299-07CF-4E88-9C18-298CA357AD01@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 31, 2018 at 10:51:51AM -0700, Mark Millard wrote:
> 
> 
> On 2018-Jul-31, at 8:35 AM, bob prohaska <fbsd at www.zefox.net> wrote:
> 
> > On Tue, Jul 31, 2018 at 10:31:33PM +1000, Trev wrote:
> >> bob prohaska wrote on 31/07/2018 15:47:
> >> 
> >>> It would be most interesting to see what happens if OOMA
> >>> could be turned off. Is that possible?
> >> 
> >> Possibly, but you might find you're treating the symptom(s) rather than 
> >> the cause(s) ... something must be triggering the condition whether 
> >> correctly or not.
> > 
> > That's my point. To determine if OOMA is triggered correctly or not. I'm starting
> > to think not.
> > 
> > The reason is the dependency on swap layout (mixed USB/microSD vs all one or the
> > other) and the fact that OOMA kills don't seem to coincide with periods of 
> > maximum storage read/write delay, which is the conventional explanation for
> > why OOMA kills happen in the first place. If turning off OOMA allows buildworld
> > to complete successfully it suggests OOMA isn't correctly implemented. 
> 
> Your rpi2 report said:
> 
> > In this particular case all swap is on USB, in a single
> > 2 GB partition.
> 
> which for that example indicates that swap layout being split
> was not involved. (But there is the potential too-large issue.)
>
That's true, I can't test mixed swap on that setup. My point was 
that formerly (months ago) 2GB of USB swap worked for -j4 buildworld.
 
> Have you had other examples of non-split swap layout getting
> OOMA kills? If yes, what types of contexts? [Especially any that
> do not have observed huge latencies or to evidence of device
> failures (retries required).] Any on rpi3? Any others on rpi2?
> 
Yes. Another storage configuration for the Pi3 (not installed 
at the moment) has three 1 GB swap partitions on USB and three
1 GB swap partitions on microSD. In that case buildworld fails
from OOMA using 2 GB mixed or microSD swap but succeeds using 
USB swap.

That surprised me in that the microSD cards are the same. The USB 
device in that case is 3.0 vs 3.1, so different in some small way.
 
> As for swap use, do you have any tmpfs or other files systems
> that are memory based that also use swap if they grow too
> big (and are configured to allow such growth)?
>
No memory-based filesystems  in use. 
> 

Thanks for reading!

bob prohaska




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