Is maximum swap usage tunable?
Mike
the.lists at mgm51.com
Mon Mar 5 19:50:48 UTC 2018
On 3/5/2018 1:33 PM, bob prohaska wrote:
> On Mon, Mar 05, 2018 at 09:59:15AM -0500, Mike wrote:
>> On 3/4/2018 11:57 PM, bob prohaska wrote:
>>> On Sun, Mar 04, 2018 at 01:40:03PM -0800, bob prohaska wrote:
>>>> make -j4 buildworld
>>> [snip]
>[snip]
>>
>> # swapctl -l
>> Device: 1024-blocks Used:
>> /dev/md99 1048576 13248
>>
>> =======
>>
> Was swapctl run during the swap shortage, or after? In my observation swap
> seems to be freed very quickly once make gives up, a few seconds usually.
> Catching the swap shortage at its peak seems to require either watchful
> waiting at a top window or more clever logging than I know how to implement.
> Running gstat into a log file records device activity, which is interesting,
> but one still has to rake through the log.
>
swapctl was run after the build had stopped.
Oh I wish there were an option on swapctl to show min and max swap usage
since the last time said stats were reset. :)
>>
>> I plan to try again, same hardware but with 2GB swap space.
>>
> Please post what you learn...
Yup. It's running now. 2GB swap on USB-connected spinning rust.
More information about the freebsd-arm
mailing list