Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 17:54:35 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-arm@freebsd.org, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Pi3 out of swap at < 50%
Message-ID:  <20180222015435.GA1904@www.zefox.net>
In-Reply-To: <3d2bd5e3-4567-cdfe-04d4-b572371a212e@zyxst.net>
References:  <20180217162732.GA93736@www.zefox.net> <1518885801.91697.2.camel@freebsd.org> <9bf0ca6e-1916-3f4d-71fe-0515fe6a717f@zyxst.net> <20180218003840.GD93736@www.zefox.net> <3d2bd5e3-4567-cdfe-04d4-b572371a212e@zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 18, 2018 at 03:38:49AM +0000, tech-lists wrote:
> 
> In that situation I'd deactivate the swap on the card, and make a few
> swap partitions on the flash drive. I used to run into the sort of
> difficulty you're seeing if swap was on the microsd. It's not just swap
> though; enough i/o activity on the card and it starts blocking. You can
> tell it's happening if in another terminal if you type sync. It takes
> several seconds (sometimes tens of seconds) to return.
> 
Simply disabling the swap partition on the microSD card eliminated
the vast majority of "indefinite wait..." errors. It seems to have
reduced, but not eliminated, the "out of swap" errors. Unfornately,
clang seems to keep crashing and asking for a bug report, even when
backed down to -j2. It's running -j1 now, it'll be a long time finishing.

Unfortunately I wasn't watching top when the last couple out of swap
incidents happened, so I don't know if it was really out.

Thanks for the suggestion, it helped a great deal.

bob prohaska




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