Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2018 20:57:23 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        Ian Lepore <ian@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Is maximum swap usage tunable?
Message-ID:  <20180305045723.GA47820@www.zefox.net>
In-Reply-To: <20180304214003.GB44154@www.zefox.net>
References:  <20180228185517.GB26187@www.zefox.net> <8f422161-885e-aa91-eacd-018540222d65@mgm51.com> <20180228214301.GA29481@www.zefox.net> <b82801b8-bc29-414c-1170-621bb4a5d937@mgm51.com> <CANCZdfq_MpxjUyVd-=%2BMiAQAER4TeDh9irhx_evdXwa3yt3h0g@mail.gmail.com> <20180303162605.GA41874@www.zefox.net> <20180304182831.GA44154@www.zefox.net> <CANCZdfpcccDuhJh4EF0C4KFz=dcN5mWvQ9aMiyF53kD=hMzy3Q@mail.gmail.com> <1520189171.38056.2.camel@freebsd.org> <20180304214003.GB44154@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 04, 2018 at 01:40:03PM -0800, bob prohaska wrote:
> make -j4 buildworld 
> 
> was started with the usb-hosted swap partition turned off, leaving only 
> the microSD-hosted swap running.  It got past the first cycle of llvm-tblgen 
> showing only half of the one GB available swap in use, with no errors or 
> warnings. There is some decent chance it'll run to completion, probably
> late tomorrow. For now I'll just see how far it gets. 
> 
The j4 buildworld using only 1 GB swap on microSD really ran out of
swap after a prolonged (half hour or so) interval of swread and pfault
status in top and a stream of 

swap_pager_getswapspace(4): failed
swap_pager_getswapspace(4): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
Mar  4 20:02:09 www kernel: pid 25154 (c++), uid 0, was killed: out of swap space
swap_pager_getswapspace(4): failed
swap_pager_getswapspace(4): failed
swap_pager_getswapspace(4): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(2): failed
swap_pager_getswapspace(4): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(4): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(4): failed
Mar  4 20:02:49 www kernel: pid 25128 (c++), uid 0, was killed: out of swap space
swap_pager_getswapspace(4): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(7): failed

on the console. There were no "indefinite wait" messages at all

It appears that swap on microSD worked much better than
swap on USB, only failing after hitting 85% or more of utilization
and even then not giving up easily. 

The log files for buildworld and gstat are at
http://www.zefox.net/~fbsd/rpi3/swap_issues/
on the chance they're worth looking at. 

bob prohaska








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