RPI3 swap experiments ["was killed: out of swap space" with: "v_free_count: 5439, v_inactive_count: 1"]

Mark Millard marklmi at yahoo.com
Sun Aug 5 06:16:46 UTC 2018



On 2018-Aug-3, at 8:55 PM, Jamie Landeg-Jones <jamie at catflap.org> wrote:

> Mark Millard <marklmi at yahoo.com> wrote:
> 
>> If Inact+Laundry+Buf(?)+Free was not enough to provide sufficient
>> additional RAM, I'd would have guessed that some Active Real Memory
>> should then have been paged/swapped out and so RAM would be made
>> available. (This requires the system to have left itself sufficient
>> room in RAM for that guessed activity.)
>> 
>> But I'm no expert at the intent or actual operation.
>> 
>> Bob P.'s reports (for having sufficient swap space)
>> also indicate the likes of:
>> 
>> v_free_count: 5439, v_inactive_count: 1
>> 
>> 
>> So all the examples have: "v_inactive_count: 1".
>> (So: vmd->vmd_pagequeues[PQ_INACTIVE].pq_cnt==1 )
> 
> Thanks for the feedback. I'll do a few more runs and other stress tests
> to see if that result is consistent. I'm open to any other idea too!

You may want to have your top's sorted by RESident memory
use and to list swap info (despite difficulty using the
specific numbers shown in the column), including for
system processes: -wSores being involved.

This may help with judgments about how likely adjusting
the following might be able to help make notably more
memory available:

vm.swap_idle_enabled: 0
vm.swap_idle_threshold1: 2
vm.swap_idle_threshold2: 10



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-arm mailing list