Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2018 21:44:26 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Mark Johnston <markj@freebsd.org>, "freebsd-arm@freebsd.org" <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:  <20180810044426.GB32974@www.zefox.net>
In-Reply-To: <CANCZdfrC0s8X-LxJmrDmkxmz%2BGUMNsHSMpBEQmp1S5ahcvptpg@mail.gmail.com>
References:  <20180802015135.GC99523@www.zefox.net> <EC74A5A6-0DF4-48EB-88DA-543FD70FEA07@yahoo.com> <20180806155837.GA6277@raichu> <20180808153800.GF26133@www.zefox.net> <20180808204841.GA19379@raichu> <20180809065648.GB30347@www.zefox.net> <20180809152152.GC68459@raichu> <CANCZdfpKOTBrxiNhaeHHRp-2iw5a4eXt%2Bmd_1LTD-c0%2BAE6qxg@mail.gmail.com> <20180809153710.GC30347@www.zefox.net> <CANCZdfrC0s8X-LxJmrDmkxmz%2BGUMNsHSMpBEQmp1S5ahcvptpg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 09, 2018 at 09:42:59AM -0600, Warner Losh wrote:
> On Thu, Aug 9, 2018 at 9:37 AM, bob prohaska <fbsd@www.zefox.net> wrote:
> 
> >
> > There's a kernel building now with
> > options         CAM_IOSCHED_DYNAMIC
> > in the config file. Is it still worth trying? Anything else to try?
> >
> 
> It won't be a cure-all, out of the box, I don't think. However, the read
> biasing code may help sneak a few 'reads' in between writes which may help
> keep away from the pathological behavior.... Or not, it's hard to say...
> I've not looked at swapping to super-crappy nand (I mean thumb drives) in
> as much detail as the drives we use for work.
> 

Alas, 'tis true. Combined with the patches so far it didn't seem to help
at all, with or without using vm.pageout_oom_seq to 120. The -j4 buildworld
ended with an OOMA kill using 12 and a panic and reboot at 120. 

A -j4 buildworld actually got farther using vm.pageout_oom_seq=120 with no
other changes.

Results are at 
http://www.zefox.net/~fbsd/rpi3/swaptests/r337226M/1gbsdflash_1gbusbflash/batchqueue/pageout120/slow_swap/cam_iosched_dynamic/

Any suggestions on what to try next would be welcome.

Thanks for reading,

bob prohaska




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