GPT vs MBR for swap devices
bob prohaska
fbsd at www.zefox.net
Fri Jun 22 01:09:04 UTC 2018
On Thu, Jun 21, 2018 at 07:16:19AM -0700, Mark Millard wrote:
>
>
>
> It looks like the latest from Bob P. is that when his /dev/da0
> is not used for swap (and so has far less I/O) his builds finish,
> apparently without logging errors:
>
>
A little more testing has been completed.
With enough swap not on da0 -j4 buildworld finishes. It does not seem to
matter what the swap is on: SD flash, USB flash or USB mechanical. With
any swap on da0 -j4 buildworld does not finish because of intervention
by OOMA (the out of memory assassin). Occasionally, OOMA runs amok,
killing processes not obviously consuming lots of memory.
With not enough swap not on da0 the result is somewhat surprising.
In three trials of using 1 GB of swap on the SD card, the machine reported it was out
of swap, the OOM assassin did not come to the rescue and eventually the machine
stalled. The log files of gstat and swapinfo data are at
http://www.zefox.net/~fbsd/rpi3/swaptests/newtests/1gbsdflash_swapinfo/1gbsdflash_swapinfo.log
http://www.zefox.net/~fbsd/rpi3/swaptests/newtests/1gbsdflash_swapinfo/newtest/2nd1gbsdflash_swapinfo.log
and
http://www.zefox.net/~fbsd/rpi3/swaptests/newtests/1gbsdflash_swapinfo/newtest/3rdtest/3rd1gbsdflash_swapinfo.log
Each directory also holds what I could gather from the console and buildworld.
The errors on the console seem to suggest a loss of communication with da0. Could
something like usbdump be used to shed more light on what's going on?
Thanks to all for reading!
bob prohaska
More information about the freebsd-arm
mailing list